I have a view XIB (basically a customized NSTextView) whose File's Owner is configured to be class Foo.

I would like to reuse that same XIB in a different part of my code, but the loading owner is a completely different class, Bar.

I tried adding the same outlets that Foo has to Bar, and then loading the XIB using Bar as the owner, but that didn't work--the outlet didn't get connected. That's kinda what I expected to happen, actually, but I was hoping...

Is it possible to load a single XIB using different owner types, or do I have to duplicate this view XIB for each different type of owner I want to use it with?


Thanks!
randy
_______________________________________________

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