Re: Custom view instantiated twice?
Re: Custom view instantiated twice?
- Subject: Re: Custom view instantiated twice?
- From: Andy Lee <email@hidden>
- Date: Fri, 22 Aug 2008 20:00:45 -0400
On Aug 22, 2008, at 7:49 PM, Nick Pilch wrote:
I have an NSView subclass defined in IB. It's a custom object in my
nib and it's a child of a window's content view.
You answered your own question. The custom object is a separate
instance from the one you created within your window. You could
create ten different custom objects and they would be different
instances. You only need the one that's in your window.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden