On Sun, Oct 25, 2009 at 7:30 PM, DairyKnight <dairykni...@gmail.com> wrote:
> Thanks for the answer. Do you know why the file's owner gets awakFromNib
> call as well? Is it creating a new file's owner object?

No, the file's owner is never created by virtue of loading a nib.  It
is always an object that already exists.

> I tried to NSLog(@"%@", self); in maincontroller's awakefromnib, but the
> second call to that raised an exception.

Backtrace?

> In the code I was trying to pass the second controller as a pointer to the
> maincontroller so its methods could be called. Is there a better way in
> Cocoa to do this?

This doesn't have enough context to make any sense.  Wired up as an
outlet, or passed as an argument to a method, or…

--Kyle Sluder
_______________________________________________

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