The capitalizedString method exists in NSString class, see the docs
NSString *foo = @"this is all lower";
NSString *fooUpper = [foo capitalizedString];
Note that this isn’t iPhone specific, same code on the Mac.
More Related Contents:
- My app working in iphone 5 but not in 3 why? [closed]
- How to read formatted string from a text file?
- Pass data back to previous viewcontroller
- Is it true that one should not use NSLog() on production code?
- How to intercept click on link in UITextView?
- Change iOS app’s language on the fly
- iPhone reachability checking
- Center text vertically in a UITextView
- How do you calculate the day of the year for a specific date in Objective-C?
- How do I upload a video to YouTube from within an iOS application? [closed]
- iPhone: Convert date string to a relative time stamp
- Detecting if iOS app is run in debugger
- UIView drag (image and text)
- Blur specific part of an image (rectangular, circular)?
- Best way to save data on the iPhone
- What format string do I use for milliseconds in date strings on iPhone?
- UITextField: move view when keyboard appears
- Converting NSData to NSString in Objective c
- How can you apply distortions to a UIImage using OpenGL ES?
- Get all folders of URL
- List saved files in iOS documents directory in a UITableView?
- Static string variable in Objective C on iphone
- Get X and Y coordinates of a word in UITextView
- UIImage imageNamed requires pathForResource?
- iOS Stream Audio from one iOS Device to Another
- how can I use animation in cocos2d?
- Check for Internet connection using the iOS SDK [duplicate]
- Bad URL when requesting with NSURL
- Can’t add a corner radius and a shadow
- Command /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1