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: Interface Builder 3 and Custom Views



As far as I can tell, CustomView is only suitable for subclasses of NSView. NSButton is further down the line of inheritance and IB doesn't work with it like it does normally ...

What about, starting with NSButton and specifying the Class value as your own subclass?

Nick

On 20 Ιαν 2008, at 10:33 ΠΜ, [nexUmoja] Fabian Jäger wrote:

Hey friends,
I have a really severe problem with Interface Builder 3: I add a custom view to a window and change its class to a NSButton subclass I ceated... Then I want to set the target method for this button by control-dragging from this custom view to File's Owner (for example), but it does not offer to connect those two. It works flawlessly with a standard NSButton, but not with my custom view ... what am I doing wrong? I did not have this problem with IB2


Fabian
nexUmoja.org

____________________________________________________________ Nick Toumpelis email: email@hidden BEng (Wales), MSc (Manchester) Software Developer Thessaloniki, Greece






_______________________________________________

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: 
 >Interface Builder 3 and Custom Views (From: " [nexUmoja] Fabian Jäger" <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.