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 (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/vijay.malhan%40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to