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

Re: -[NSString capitalizedString]


  • Subject: Re: -[NSString capitalizedString]
  • From: Steve Mills <email@hidden>
  • Date: Mon, 11 Nov 2013 15:33:15 -0600

I dunno, but what comes to mind is stuff like forming a properly-cased title for a UI element, given a user-typed string. Never trust users to type the correct case. :)

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157

On Nov 11, 2013, at 15:27:52, Andy Lee <email@hidden>
 wrote:

> A friend asked why anyone would want the behavior of capitalizedString.  The only thing I could think of was to convert all caps to title case, which seems an odd scenario to provide API support for.
>
> Is there a more common need for this method that I haven't thought of?



_______________________________________________

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: 
 >-[NSString capitalizedString] (From: Andy Lee <email@hidden>)

  • Prev by Date: -[NSString capitalizedString]
  • Next by Date: Re: NSCustomImageRep and NSImage setSize
  • Previous by thread: -[NSString capitalizedString]
  • Next by thread: Wrong version pushed live from Apple to the App Store
  • Index(es):
    • Date
    • Thread