I am learning Objective-C. This post contains some Objective-C trivia which I picked up over the last few weeks.
Concatenating Strings
In Objective-C, NSString
class represents strings. Concatenating two strings is not easy. To ease the pain, there is a NSMutableString
class. It has an append method. The StackOverflow post summarises the different methods available to concatenate strings. Usually, we have problems with XML strings which run into multiple lines.…