FROM : Dave Jewell
DATE : Thu Apr 24 17:10:16 2008
> On 24 Apr 2008, at 8:42 am, Graham Cox wrote:
>
> Aside: your ivars shouldn't start with an underscore - Apple reserves
> such names for its own classes.
Interesting - I was unaware of that convention. Dietmar Planitzer
provides something of an alternative view here:
http://lists.apple.com/archives/cocoa-dev/2004/Jan/msg01976.html
It can be summarised as: if your ivars clash with Apple's, the
compiler will barf anyway...
Dave
DATE : Thu Apr 24 17:10:16 2008
> On 24 Apr 2008, at 8:42 am, Graham Cox wrote:
>
> Aside: your ivars shouldn't start with an underscore - Apple reserves
> such names for its own classes.
Interesting - I was unaware of that convention. Dietmar Planitzer
provides something of an alternative view here:
http://lists.apple.com/archives/cocoa-dev/2004/Jan/msg01976.html
It can be summarised as: if your ivars clash with Apple's, the
compiler will barf anyway...
Dave
| Related mails | Author | Date |
|---|---|---|
| tyler durden | Apr 24, 00:19 | |
| Jean-Daniel Dupas | Apr 24, 00:33 | |
| Graham Cox | Apr 24, 00:42 | |
| Dave Jewell | Apr 24, 17:10 | |
| Alastair Houghton | Apr 24, 17:29 | |
| John Stiles | Apr 24, 19:17 | |
| Alastair Houghton | Apr 24, 20:09 |






Cocoa mail archive

