Custom View for "Accessories"
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