On Tue, Mar 3, 2015, at 11:13 AM, Dave wrote:
> Actually, awakeFromNIB is getting called twice for some reason, but I’m
> sure the above will fix it.

On OS X, -awakeFromNib is sent to File's Owner as well as to every
object in the nib. So you're seeing it called twice: once because the
window controller is inside the main nib, and again because it's acting
as File's Owner of the window's nib.

--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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to