Re: Check if a Nib is alredy loaded
Re: Check if a Nib is alredy loaded
- Subject: Re: Check if a Nib is alredy loaded
- From: j o a r <email@hidden>
- Date: Wed, 31 Aug 2005 10:18:27 +0200
On 31 aug 2005, at 10.06, email@hidden wrote:
How can I check if a Nib loaded with "loadNibNamed:" is alredy loaded?
Nib files doesn't have a loaded / not loaded property, it doesn't
quite make sense. What you're looking for must be a property of the
owner (loading object) for the nib file in question.
A simple way to check this is to see if the outlets that are supposed
to be populated from that nib are non-nil. If that doesn't cut it,
you could always set a "hasLoaded" variable to YES in awakeFromNib.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden