Re: connections and the nib lifecycle
Re: connections and the nib lifecycle
- Subject: Re: connections and the nib lifecycle
- From: Vijay Malhan <email@hidden>
- Date: Wed, 21 May 2008 23:30:11 +0530
But the problem is still open for discussion. Is there any differences
in sequence of events occurring while loading of Nib between Tiger and
Leopard platforms?
All UI-elements should be initialized by the time call reaches -
(void)awakeFromNib. This is ensured to happen on Mac OS X 10.4.
You might wanna a file a bug for this on Apple.
- Vijay
On 21-May-08, at 10:56 PM, Torsten Curdt wrote:
On May 21, 2008, at 19:21, Vijay Malhan wrote:
Are you on Leopard?
Yepp!
This behavior should not be there on Tiger.
I faced similar problem on Leopard with NSTableView. It seems in
Leopard, nib is loaded, with lazy-loading kind of approach. The
controls are not initialized until the window, on which the
controls are hosted, is not referenced.
If you'll put a [self window] call just before the first NSLog,
your code might work.
Let me know if this works.
That did the trick!
You're my today's personal hero :)
cheers!!
--
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden