Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading of NSWindows during awakeFromNib



Hi,

Is it confusing?... Ok let me rephrase it.

On starting the application, the awakeFromNib, will decide which NSWindows to be loaded, where each NSWindow is having different features. Although the 2 NSWindows are in the same NIB files, can they conditionally be displayed upon loading?

Regards,
Sean


From: Michael Hudson <email@hidden>
To: "Sean Liong" <email@hidden>
CC: email@hidden
Subject: Re: Loading of NSWindows during awakeFromNib
Date: Wed, 03 Sep 2003 12:59:06 +0100

"Sean Liong" <email@hidden> writes:

> There will be 2 NSWindows which is is to be determined which to be
> display during loading according to the condition. At the
> awakeFromNib, I tried few NSWindows's method like display,
> setViewsNeedDisplay... but can't get the right NSWindow display. I
> have uncheck the IB's NSWindow, visible at launch button, where I
> intend to display only the right NSWindow when load.

I'm a little confused about your problem and hardly an expert in the
field, but why do the windows have to be in the same NIB?

Cheers,
mwh

--
NUTRIMAT: That drink was individually tailored to meet your
personal requirements for nutrition and pleasure.
ARTHUR: Ah. So I'm a masochist on a diet am I?
-- The Hitch-Hikers Guide to the Galaxy, Episode 9
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.