On 14 Jan 2010, at 23:44, David Blanton wrote:

Ok. So I diagnose that MyDocument.xib was somehow hosed.

I deleted my main view which was embedded in a scroll view.

Added a custom view set its class to my class MainView.

Embedded MainView in a scroll view.

Compiled and ran.

And guess what, awakeFromNib in MyDocument.m which is a sub class of NSDocument is now being called when I choose open.

Go figure.

Now I still need to delete LibraryObjectTemplate (which mysteriously appeared, see separate post) but cannot delete noway no how.

Thanks for the comments.

Congratulations!

Regarding LibraryObjectTemplate ...

According to my experience one reason for objects in a nib/xib file not being deletable is, that they contain other objects (you can see this in the outline view mode in the Interface Builder document window), or that they have certain connections to other objects. These other "things" have to be deleted first.

Klaus

_______________________________________________

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 arch...@mail-archive.com

Reply via email to