On Mon, Sep 1, 2008 at 11:38 AM, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote: > Unlike java, Obj-C does not have the concept of class variable. > Your static variable is a classic C variable, and C variable are not > automatically initialized to NULL.
Note, for static variables, this is not true. All static variables are initialized to zero. > The first time you call init, relationshipMatch may contains anything and > may not be NULL, and so it will never be properly initialized. -- Clark S. Cox III [EMAIL PROTECTED] _______________________________________________ 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]