[s appendString:@"hi there == \"\n\r"];
\"
is what is needed for "
– This is standard C formatting.
More Related Contents:
- Difference between objectForKey and valueForKey?
- Best way to define private methods for a class in Objective-C
- Having trouble adding objects to NSMutableArray in Objective C
- How do I declare class-level properties in Objective-C?
- Picking a Random Object in an NSArray
- How to sort NSMutableArray using sortedArrayUsingDescriptors?
- Objective-C Introspection/Reflection
- NSString tokenize in Objective-C
- setValue:forUndefinedKey: this class is not key value coding-compliant for the key [duplicate]
- Managing multiple asynchronous NSURLConnection connections
- Enable access for assistive devices programmatically on 10.9
- Difference between self.var and simply var
- Save NSDictionary to plist
- Are classes objects in Objective-C?
- 2D arrays using NSMutableArray
- Gap above NSMenuItem custom view
- Core Data Predicate Date Comparison
- NSTask not picking up $PATH from the user’s environment
- Cocoa/Objective-C : Best Practice to parse XML Document?
- Check that an email address is valid on iOS [duplicate]
- Class Foo is implemented in both MyApp and MyAppTestCase. One of the two will be used. Which one is undefined
- Observe a File or Folder in Objective-C
- How to wake from sleep programmatically if lid closed?
- Creating a ZIP archive from a Cocoa application
- What is the best way to unit test Objective-C code?
- Best way to make NSRunLoop wait for a flag to be set?
- How to make a smooth, rounded, volume-like OS X window with NSVisualEffectView?
- Class method equivalent of -respondsToSelector:
- Dependency injection framework for Cocoa? [closed]
- Run AppleScript from Cocoa Application