Re: RE : a newbie question

2008-11-11 Thread Michael de Haan
On Nov 11, 2008, at 9:21 AM, Etienne Guérard wrote: You should derive your classes from NSObject, not from Object. You normally don't have to #include objc/Object.h. Where did you find such an example? It is from Steve Kochan's book ...which is basically an introduction to Objective C.

RE : RE : a newbie question

2008-11-11 Thread Etienne Guérard
de Haan Date: mar. 11/11/2008 19:32 À: cocoa-dev@lists.apple.com Objet : Re: RE : a newbie question On Nov 11, 2008, at 9:21 AM, Etienne Guérard wrote: You should derive your classes from NSObject, not from Object. You normally don't have to #include objc/Object.h. Where did you find

Re: RE : RE : a newbie question

2008-11-11 Thread Michael de Haan
On Nov 11, 2008, at 12:16 PM, Etienne Guérard wrote: Maybe it's an illustrative example, not a real one. Anyway you'd better stick to NSObject. Object is used to implement the metaclass class hierachy inside the ObjC runtime. You normally don't play with it. ;) thanks for your input. I