Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building a custom NSView with IB?




Le Dec 8, 2008 à 10:45 AM, Bill Janssen a écrit :

I'd like to build a custom view that is just an assemblage of an
NSTextView, a couple of pushbuttons, and a checkbox. It seems to me
that there should be some way to do this with IB, but I haven't figured
it out yet. All the examples on the net seem to focus on overriding
drawRect, which I *don't* need to do. Anyone have an example of doing
this?

It should be as easy as dragging a custom NSView out into your nib, and placing your subviews on it.


corbin_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >building a custom NSView with IB? (From: Bill Janssen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.