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.

-db

On Jan 14, 2010, at 3:24 PM, Klaus Backert wrote:


On 14 Jan 2010, at 22:51, David Blanton wrote:

No. This is a vanilla document based app with two nibs, MainMenu and MyDocument as created by the project template.

The document window is in MyDocument.xib.

What is specified as the class of file's owner in the nib/xib file: (a subclass of) NSDocument or (a subclass of) NSWindowController? You can set and see this in the inspector's identity panel.

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/airedale%40tularosa.net

This email sent to aired...@tularosa.net



_______________________________________________

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