• 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: NSSplitView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Executing A Shell Script...
  • Next by Date: Re: Executing A Shell Script...
  • Previous by thread: NSSplitView
  • Next by thread: Almost there: progress indicator in table view
  • Index(es):
    • Date
    • Thread