• 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
How to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to


  • Subject: How to
  • From: Dave <email@hidden>
  • Date: Sun, 06 Dec 2015 15:45:37 +0000

Hi All,

I have a view that is made up for a Text View and a Small Icon like so:

NSView
	NSImageView
	NSTextField

If the User Clicks anywhere inside the base NSView, I’d like an Perform Click IBAction to be sent to the connected class (The Window Controller in this case). In the past, on iOS i’ve done this by using a transparent UIButton that has the same Frame Rect and the base NSView. When I tried to do with the same with an NSButton, I find that I can’t change the height in IB?

On the Mac what is the best control to use to do this?

All the Best
Dave


_______________________________________________

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: How to
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: ARC and IBOutlet - strong vs weak......
  • Next by Date: Re: How to create an empty stack view in code
  • Previous by thread: Re: How to create an empty stack view in code
  • Next by thread: Re: How to
  • Index(es):
    • Date
    • Thread