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" <[EMAIL PROTECTED]
> wrote:
On Fri, Aug 1, 2008 at 10:01 PM, Clark Cox <[EMAIL PROTECTED]>
wrote:
On Fri, Aug 1, 2008 at 12:38 PM, Arthur Coleman <[EMAIL PROTECTED]>
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
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]