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
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 mails | Author | Date |
|---|---|---|
| Wayne Shao | Aug 1, 20:43 | |
| Ken Thomases | Aug 1, 20:47 | |
| Clark S. Cox III | Aug 1, 20:54 | |
| Glenn English | Aug 1, 21:10 | |
| Jens Alfke | Aug 1, 21:18 | |
| Clark S. Cox III | Aug 1, 21:24 | |
| Arthur Coleman | Aug 1, 21:38 | |
| Clark Cox | Aug 1, 22:01 | |
| Giulio Cesare Sola… | Aug 1, 22:07 | |
| Clark S. Cox III | Aug 1, 22:15 | |
| Glenn English | Aug 1, 22:20 | |
| Michael Ash | Aug 1, 22:47 | |
| Sherm Pendley | Aug 1, 23:07 | |
| Daniel Staal | Aug 2, 00:27 | |
| Negm-Awad Amin | Aug 2, 09:05 | |
| Negm-Awad Amin | Aug 2, 09:09 | |
| mm w | Aug 2, 18:50 | |
| mm w | Aug 2, 20:19 | |
| Keary Suska | Aug 2, 22:53 | |
| Negm-Awad Amin | Aug 4, 08:31 |






Cocoa mail archive

