Re: Loading a view from a nib multiple times
Re: Loading a view from a nib multiple times
- Subject: Re: Loading a view from a nib multiple times
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 24 Sep 2004 16:51:19 -0700
On Sep 24, 2004, at 8:36 AM, Geert B. Clemmensen wrote:
Hello there,
Wouldn't it be a matter of simply doing an archive (encodeWith...) of
the existing view (loaded from the nib) and then unarchive
(decodeWith...) as many times as needed?
In Panther and later, you can just pull the nib file into an NSNib
instance, and send - instantiateNibWithOwner:topLevelObjects: as many
times as you like.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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