On Aug 24, 2009, at 10:19, Michael A. Crawford wrote:
Why would the class initializer be called more than once when my app starts up? Is this expected behavior? In case you're wondering, it is called twice.
Yes, it can be invoked more than one. Searching developer.apple.com for "initialize twice" found the answer in the first hit -- the reason and the workaround are spelled out in (mirabile dictu!) the documentation of +initialize.
_______________________________________________ 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]
