Re: Interface Builder 3 and Custom Views
Re: Interface Builder 3 and Custom Views
- Subject: Re: Interface Builder 3 and Custom Views
- From: Nick Toumpelis <email@hidden>
- Date: Sun, 20 Jan 2008 11:49:17 +0200
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:
This email sent to email@hidden