• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Loading of NSWindows during awakeFromNib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading of NSWindows during awakeFromNib


  • Subject: Re: Loading of NSWindows during awakeFromNib
  • From: "Sean Liong" <email@hidden>
  • Date: Wed, 03 Sep 2003 21:44:27 +0000

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.

  • Follow-Ups:
    • Re: Loading of NSWindows during awakeFromNib
      • From: Michael Hudson <email@hidden>
  • Prev by Date: Re: NSImage from Palm Bitmap?
  • Next by Date: Hiding an NSControl
  • Previous by thread: Re: Loading of NSWindows during awakeFromNib
  • Next by thread: Re: Loading of NSWindows during awakeFromNib
  • Index(es):
    • Date
    • Thread