Skip navigation.
 
mlRe: Re: Multiple of copies of custom view
FROM : matt jaffa
DATE : Mon Aug 14 22:11:54 2006

Thank you much, that works like a charm.

On 8/14/06, Mike Abdullah <mike.<email_removed>> wrote:
> Well surely there's no real reason why you can't simply instantiate
> the NIB multiple times with a different "File's Owner" if necessary?
>
> NSNib just makes things a little more convenient and also allows you
> to automatically find out all the top level objects in the Nib.
>
> Mike.
>
> On 14 Aug 2006, at 15:20, matt jaffa wrote:
>
> > Is there any way of doing this without NSNib class, since that is 10.3
> > and above. This might be great for the original poster but I have the
> > same situation but I have to support back to 10.2...
> >
> > Thanks,
> > Matt
> >
> > On 8/14/06, John C. Randolph <<email_removed>> wrote:
> >>
> >> On Aug 14, 2006, at 12:12 AM, Ben Lachman wrote:
> >>
> >> > I have a a custom view which I've instantiated and laid out in IB.
> >> > It contains several generic controls as subviews and custom logic.
> >> > I'd like to have an array of these custom laid out views with the
> >> > outlets and actions defined as they are set up in my instance in
> >> > IB.  Is there a good way to access the instance so I can copy it?
> >> > And if so, is this a decent way of going about getting automatic
> >> > layout and setup?  My goal was to not do this in code since it
> >> would
> >> > be quite messy.
> >>
> >> See the NSNib class.  Very handy when you want to clone the contents
> >> of a nib file many times.
> >>
> >> -jcr
> >>
> >>
> >>  _______________________________________________
> >> Do not post admin requests to the list. They will be ignored.
> >> Cocoa-dev mailing list      (<email_removed>)
> >> Help/Unsubscribe/Update your Subscription:
> >> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
> >>
> >> This email sent to <email_removed>
> >>
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Cocoa-dev mailing list      (<email_removed>)
> > Help/Unsubscribe/Update your Subscription:
> > http://lists.apple.com/mailman/options/cocoa-dev/mike.abdullah%
> > 40gmail.com
> >
> > This email sent to mike.<email_removed>
>
>

Related mailsAuthorDate
mlMultiple of copies of custom view Ben Lachman Aug 14, 09:12
mlRe: Multiple of copies of custom view John C. Randolph Aug 14, 11:28
mlRe: Re: Multiple of copies of custom view matt jaffa Aug 14, 16:20
mlRe: Multiple of copies of custom view Mike Abdullah Aug 14, 17:44
mlRe: Re: Multiple of copies of custom view matt jaffa Aug 14, 22:11