On Wed, Aug 20, 2008 at 10:42 AM, Dave <[EMAIL PROTECTED]> wrote: > Yes, all 56 properties are required for the object to be valid, so in the > initializer I set the NSString pointers to nil, zeroize the integers and set > the dataValid flag to FALSE.
Objective-C guarantees that all ivars will be initialized to zero (aka nil, false, NO, etc.) when you allocate an object. You don't need to set ivars to zero yourself in the initializer. -Shawn _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
