Changes

Jump to: navigation, search

Working with String Objects in Objective-C

60 bytes added, 19:03, 24 November 2009
no edit summary
<hr>
<google>BUY_OBJC</google>
Strings are collections of characters that are grouped together to form words or sentences. If it wasn't for humans, computers would probably never have anything to do with strings. The fact is, however, that one of the primary jobs of a computer is to accept data from and present data to humans. For this reason it is highly likely that any Objective-C program is going to involve a considerable amount of code specifically designed to work with data in the form of strings. The purpose of this chapter is to cover the key aspects of string creation, comparison and manipulation in Objective-C using the Foundation Framework's NSString class.
printf ("Converted string = %s\n", utfString);
</pre>
 
<google>BUY_OBJC_BOTTOM</google>
<hr>

Navigation menu