• 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
using IB views as templates to be inserted in other views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using IB views as templates to be inserted in other views


  • Subject: using IB views as templates to be inserted in other views
  • From: nicolas berloquin <email@hidden>
  • Date: Sun, 28 Apr 2002 11:59:26 +0200

Hi !

I'm new to the list and to cocoa. I've searched the archives but I didn't find anything relevant to my question, sooo here it goes:
I'm trying to do something that I thought would be really common with IB and cocoa:
I'd like to create an NSView or a custom view in IB, then, inside my code, "import" the view then insert it as a subview of some
other IB created view.
The IB FAQ says that one simply has to create a socket somewhere accessible and connect it to this view, but what if I need
multiple instances of this view ? (I'm planning to insert it many times in a scrollerview, or inside a matrix).
How does one clone a complete view hierarchy, then ?

I'm sure this is a very common task, could someone please forward me some pointers/snippets ?

PS I've been quite disappointed with the lack of sample code/technote/task description given with cocoa, the ref manual is good,
but we lack help for common uses... (or am I the only one to complain ? ;-) )

thanks !
_______________________________________________
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: Best way to submit Cocoa bug reports?
  • Next by Date: Re: ioctl
  • Previous by thread: Re: Best way to submit Cocoa bug reports?
  • Next by thread: Startup items
  • Index(es):
    • Date
    • Thread