• 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: How to count composed characters in NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to count composed characters in NSString?


  • Subject: Re: How to count composed characters in NSString?
  • From: Peter Edberg <email@hidden>
  • Date: Sun, 28 Sep 2008 20:37:57 -0700


On Sep 28, 2008, at 3:05 PM, Peter Edberg wrote:

David,
Check out CFStringGetRangeOfComposedCharactersAtIndex. It finds the kinds of text boundaries that I think you are interested in. You would just need to iterate over the string calling this for each iteration to find the next boundary.

Apologies, I see now that your in your original post you already mentioned rangeOfComposedCharacterSequenceAtIndex. That would be preferred :-)
-Peter


_______________________________________________

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: 
 >Re: How to count composed characters in NSString? (From: Peter Edberg <email@hidden>)

  • Prev by Date: NSTokenField Drag and Drop
  • Next by Date: Re: [NSCFNumber intValue]: unrecognized selector
  • Previous by thread: Re: How to count composed characters in NSString?
  • Next by thread: How to get the current screen resolution on Mac
  • Index(es):
    • Date
    • Thread