> I have a NSView "template" in my nib that I am duplicating in a container
> view like this:
<snip>
> Unfortunately (but to no big surprise) this does not set the IBOutlets.
> Is there any other way but injecting the references myself?

  If you have a 'reusable' portion of UI, the (usually) best approach
is to factor it out into its own separate NIB, then instantiate it as
many times as needed with the appropriate owner. See this article:

http://www.cocoadevcentral.com/articles/000064.php

--
I.S.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to