• 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: What am I looking for in the documentation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What am I looking for in the documentation?


  • Subject: Re: What am I looking for in the documentation?
  • From: David Duncan <email@hidden>
  • Date: Mon, 06 May 2013 15:43:04 -0700

On May 4, 2013, at 4:20 PM, YT <email@hidden> wrote:

> I have need to turn a local float value into a char array.
>
> That is, The Quartz 2D graphics function requires the passing of a (const char *) to a text string or I was thinking of a character array.


Knowing which API you mean, I would recommend against using it (basically Quartz is bad at drawing strings, and you should use a higher level library to do that).

NSString has simple methods available on both OS X and iOS for drawing strings into the current graphics context, I would highly recommend them instead.
--
David Duncan


_______________________________________________

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

References: 
 >What am I looking for in the documentation? (From: YT <email@hidden>)

  • Prev by Date: Re: Need advice: Object ownership and threading issue, causing a rare crash.
  • Next by Date: Re: Showing numpad key equivs in menu items
  • Previous by thread: Re: What am I looking for in the documentation?
  • Next by thread: Re: What am I looking for in the documentation?
  • Index(es):
    • Date
    • Thread