• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interface Builder 3 and Custom Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Interface Builder 3 and Custom Views
      • From: " [nexUmoja] Fabian Jäger" <email@hidden>
References: 
 >Interface Builder 3 and Custom Views (From: " [nexUmoja] Fabian Jäger" <email@hidden>)

  • Prev by Date: Re: Interface Builder 3 and Custom Views
  • Next by Date: Re: App-specific URLs and the pasteboard. Need help.
  • Previous by thread: Re: Interface Builder 3 and Custom Views
  • Next by thread: Re: Interface Builder 3 and Custom Views
  • Index(es):
    • Date
    • Thread