Skip navigation.
 
mlRe: pointers in objective-c?
FROM : Clark S. Cox III
DATE : Fri Aug 01 22:15:39 2008

The NS prefix is used for just about every external symbol in the 
frameworks (classes, structs, enums, typedefs, etc.). NS just tells 
you where the symbol came from, not whether or not the symbol is a 
classname.

Sent from my iPhone

On Aug 1, 2008, at 13:07, "Giulio Cesare Solaroli" <giulio.<email_removed>
> wrote:


> On Fri, Aug 1, 2008 at 10:01 PM, Clark Cox <<email_removed>> 
> wrote:

>> On Fri, Aug 1, 2008 at 12:38 PM, Arthur Coleman <<email_removed>> 
>> wrote:

>>> I hate to be dense, but what about C structs like NSRect?  There are
>>> initialized on the stack aren't they?

>>
>> They're C structs, they aren't Objective-C objects.

>
> That's very true, but the common NS prefix used by both full obj-c
> classes and simple C structures may lead to some confusion, mainly for
> someone learning obj-c and Cocoa.
>
> Giulio Cesare

Related mailsAuthorDate
mlpointers in objective-c? Wayne Shao Aug 1, 20:43
mlRe: pointers in objective-c? Ken Thomases Aug 1, 20:47
mlRe: pointers in objective-c? Clark S. Cox III Aug 1, 20:54
mlRe: pointers in objective-c? Glenn English Aug 1, 21:10
mlRe: pointers in objective-c? Jens Alfke Aug 1, 21:18
mlRe: pointers in objective-c? Clark S. Cox III Aug 1, 21:24
mlRe: pointers in objective-c? Arthur Coleman Aug 1, 21:38
mlRe: pointers in objective-c? Clark Cox Aug 1, 22:01
mlRe: pointers in objective-c? Giulio Cesare Sola… Aug 1, 22:07
mlRe: pointers in objective-c? Clark S. Cox III Aug 1, 22:15
mlRe: pointers in objective-c? Glenn English Aug 1, 22:20
mlRe: pointers in objective-c? Michael Ash Aug 1, 22:47
mlRe: pointers in objective-c? Sherm Pendley Aug 1, 23:07
mlRe: pointers in objective-c? Daniel Staal Aug 2, 00:27
mlRe: pointers in objective-c? Negm-Awad Amin Aug 2, 09:05
mlRe: pointers in objective-c? Negm-Awad Amin Aug 2, 09:09
mlRe: pointers in objective-c? mm w Aug 2, 18:50
mlRe: pointers in objective-c? mm w Aug 2, 20:19
mlRe: pointers in objective-c? Keary Suska Aug 2, 22:53
mlRe: pointers in objective-c? Negm-Awad Amin Aug 4, 08:31