On a further check of the docs this is probably not it, because init is the designated initializer.

But in any case, you ought to start logging and/or asserting your expectations, so that any invalid pointers and so on stand out like a sore thumb in the log - you'll get to the bottom of this sort of problem in an instant. My second thought is that the awakeFromNib calls are not occurring in the order you think they are. Log 'em, and find out.

G.




On 23 May 2008, at 9:53 pm, Graham Cox wrote:

The probable reason that the second case doesn't work is because the init method of MyDocument isn't being called

_______________________________________________

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]

Reply via email to