Both Cocoa and iOS have built-in methods to parse (and generate) JSON data using NSJSONSerialization. Most commonly you’ll want to call a URL with parameters which will return some data. You take this...
Learn MoreJust a quick reminder before I forget (again) how selectors are called: Some of Apple’s pre-written methods use whats known as a Selector. Here’s an example method that uses a selector: // create...
Learn MoreThere’s a convenient method for that by the name of substringFromIndex. This example removes the first character: NSString *complete = @"12345"; NSString *cutOff = [complete...
Learn MoreYou can create Fetch Requests in the Xcode model editor, including a Predicate. These are somewhat easier to setup. To create one, select your .xcdatamodeld file, then head over to Editor – Add Fetch...
Learn More