NSError is NSAwful
Cocoa appears to be missing a key component to programming: exceptions. In place of the standard try / catch / raise style of programming error objects are used.
Cocoa appears to be missing a key component to programming: exceptions. In place of the standard try / catch / raise style of programming error objects are used.
Avoiding delays on the UI thread in iOS is key to ensure a snappy interface. Long running should be queued in operation queues to make sure they don't impact perceived performance.
Copy and Paste Menus in iOS can be tricky to setup. This code example should help with the basic syntax for getting one up.
Over the past year Apple has released an amazing set of phones and tablets. While the devices are incredible the framework and language have a few shortcomings that Apple will have to address.