• 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: width of NSString in pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: width of NSString in pixels


  • Subject: Re: width of NSString in pixels
  • From: Jim Correia <email@hidden>
  • Date: Tue, 27 Nov 2001 10:23:46 -0500

On Tuesday, November 27, 2001, at 09:39 AM, John Nestor wrote:

[string length] I believe

If you don't know the answer, it helps no one to offer a guess which turns out to be incorrect (when the correct answer is in the headers and the documentation). The length message returns the length of the string in characters.

NSStringDrawing.h contains the messages for drawing strings on the screen and determining their screen size.

<http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSStringAdditions.html>

Jim


References: 
 >Re: width of NSString in pixels (From: John Nestor <email@hidden>)

  • Prev by Date: Re: width of NSString in pixels
  • Next by Date: Re: horizontal tabs in TabView
  • Previous by thread: Re: width of NSString in pixels
  • Next by thread: problem with scrollToPoint
  • Index(es):
    • Date
    • Thread