• 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: String processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String processing


  • Subject: Re: String processing
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 19 Mar 2007 16:42:03 +0100


Am 19.03.2007 um 15:58 Uhr schrieb Robert Walker:

In my research for a solution it appears to me that NSScanner may be used to do this conversion. I was thinking of creating a category on NSString and using NSScanner to search for instances of the dash.

Sounds good.

But, I'm not sure if this will work for converting the other direction. Is there a convenient way to scan for capital letters using NSScanner?

Yes. NSScanner uses NSCharacterSet which implements +capitalizedLetterCharacterSet.


(BTW: I recommend you use AppKiDo for searching the Cocoa class hierarchy. It's a lot faster than digging through the documentation in Xcode or online.)


Andreas _______________________________________________

Cocoa-dev mailing list (email@hidden)

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: String processing
      • From: glenn andreas <email@hidden>
References: 
 >String processing (From: Robert Walker <email@hidden>)

  • Prev by Date: Re: Changing order of views dynamically
  • Next by Date: Re: String processing
  • Previous by thread: Re: String processing
  • Next by thread: Re: String processing
  • Index(es):
    • Date
    • Thread