• 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: Rotate a standard Cocoa control?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rotate a standard Cocoa control?


  • Subject: Re: Rotate a standard Cocoa control?
  • From: Graham Cox <email@hidden>
  • Date: Fri, 08 May 2015 08:55:33 +1000

> On 8 May 2015, at 6:11 am, Jerry Krinock <email@hidden> wrote:
>
>  a mid 19th-century radio receiver

Really Jerry? Radio receivers weren’t a thing until the 1920s!


> Am I correct that the answer is "no"?  Keep in mind that we're not just drawing here; this is a control; we need mouse clicks, etc.
>
> Indeed, I'm not much of a drawing and graphics guy.

I suggest it’s time to break out the subclass. I suspect it’s not going to be a hugely difficult task. One thing I’ve found is a good approach to custom controls is to draw the graphical parts separately (in a drawing app) and just use them as an included resource. That way you don’t get bogged down in low level drawing code, it’s easy to modify or customise and you can concentrate your coding effort on the functioning of the control rather than its appearance.

I wouldn’t be surprised if there is a 3rd-party solution out there for this already.

—Graham



_______________________________________________

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: Rotate a standard Cocoa control?
      • From: Michael David Crawford <email@hidden>
References: 
 >Rotate a standard Cocoa control? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Rotate a standard Cocoa control?
  • Next by Date: Re: Rotate a standard Cocoa control?
  • Previous by thread: Re: Rotate a standard Cocoa control?
  • Next by thread: Re: Rotate a standard Cocoa control?
  • Index(es):
    • Date
    • Thread