• 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
Custom View for "Accessories"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom View for "Accessories"


  • Subject: Custom View for "Accessories"
  • From: Laurent Michel <email@hidden>
  • Date: Wed, 5 Oct 2005 17:03:39 -0400

Hi!

I read here: http://developer.apple.com/documentation/DeveloperTools/ Conceptual/IBTips/Articles/CustomViews.html

That I should be able to use interface builder to drag a custom view directly in the nib file to build a "compound" view that I can reuse inside other windows. However, the documentation is very sparse and I couldn't locate an example of this. So far, I only did the IB part (of drawing my own custom view). What I am having lots of question about is how to retrieve this special view, whether I should clone it to get more instances, how to route events for button clicks & such to my own controllers.

Essentially, I'd like to setup a customview with a few controls in it and be able to instantiate this custom view on demand to "attach" it into windows I create programatically.

Any advice, pointers to additional documentation or even better, code examples, would be most welcome!

Thanks,

--
  Laurent


_______________________________________________ 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
  • Prev by Date: NSURLConnection connectionDidFailWithError: hides server response
  • Next by Date: Re: NSURLConnection connectionDidFailWithError: hides server response
  • Previous by thread: Re: NSURLConnection connectionDidFailWithError: hides server response
  • Next by thread: cocoa in carbon keyboard focus?
  • Index(es):
    • Date
    • Thread