On 17/02/2011, at 10:53 AM, Bruce Cresanta wrote:

>       I thought there was a long process to make the control even visible to 
> IB?   I could create a custom view and set the class, but that wouldn't show 
> the button would it?


No, it would show a blank green rectangle (if it's a NSView subclass) or a 
standard button (if it's a NSButton subclass), but the point is you can set its 
properties, outlets, and so on, and at runtime it would use your custom class, 
so would appear as you want it. Just set the class in the 'Class' section of 
the 'View Identity' tab in the Inspector.

You only need to create an IB plug-in if you want it WYSIWYG in IB, or if it 
has special settings that you wish to set in IB and not in code.

--Graham_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to