Re: NSSplitView
Re: NSSplitView
- Subject: Re: NSSplitView
- From: Matt Neuburg <email@hidden>
- Date: Fri, 30 Aug 2002 06:37:36 -0700
On Thu, 29 Aug 2002 09:57:03 +0100, Chris Ross <email@hidden> said:
>
I wish to create [at run time] NSSplitView and populate them each
>
with a 'copy' of the view I created in IB.
>
But this doesn't work because NSView doesn't implement copyWithZone:
>
>
Any ideas how I can do this?
>
>
| will also need to be able to access the controls within view - normally
>
I would use IB and the outlets - but how do I do this in this situation ?
>
Do I need to build the interface by hand ?
You don't need to build it by hand, but you may have to have your code
build it by hand. As you do this, you have a reference to each interface
element as you create it, so you can assign that reference to an ivar. In
short, you do yourself in code exactly what IB was doing for you. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.