Re: How many times will a sub-classed NSView be instantiated in a simple Cocoa App?
Re: How many times will a sub-classed NSView be instantiated in a simple Cocoa App?
- Subject: Re: How many times will a sub-classed NSView be instantiated in a simple Cocoa App?
- From: Nathan Kinsinger <email@hidden>
- Date: Sat, 24 May 2008 18:24:33 -0600
On May 24, 2008, at 6:09 PM, Graham Reitz wrote:
Awesome! Thanks Nathan. That makes a lot more sense to me.
Just set the class of the Custom View.
What do you specifically mean by 'set the class'?
In IB select the view then select the Identity Inspector (cmd-6 or the
icon with the "i" in a circle) and set the Class Identity to the class
you created in Xcode.
I think this is also what you were referring to in step 4 (unless I
misunderstood you).
4) Name the Custom View and Object to the same class name
--Nathan
_______________________________________________
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