You wont find exceptions used as frequently in Objective-C as in other languages. However, try/catch/finally blocks can be useful to capture errors that may otherwise cause an app to fail. In the example below, I allocate an array, however I () Read the rest of this entry Related posts: C++ on iPhone: Part 2, [...]
Alex Denisov wrote to introduce Blood Magic, heres the premise: We are seeing more and more classes for different purposes: app logic extracts into services, models extends with decorators, view separates into partials and so on. And – what is () Read the rest of this entry Related posts: Initializers In Objective-C Objective-C framework [...]
Announcement for an upcoming free presentation on Objective-C for iPhone and iPad app development.
Featured iPhone Development Resources,iOS Development Libraries,Objective-C Ive mentioned a number of projects that used the minimalistic Mustache templating language for generating different types of documents. Heres an objective-c implementation of the excellent Handlebars.js that extends Mustache from Fotonauts called Handlebars-objc. Handlebars fully supports Mustache templates, but adds a number of features and helpers allowing you [...]
Christopher Pickslay of Two Bit Labs: Blocks are an incredibly powerful addition to Objective-C, introduced in iOS 4. However, their syntax can be maddeningly difficult to remember. And with that, Christopher created a blocks cheatsheet. Related posts: Understanding Objective-C block syntax NSRegularExpression Tutorial and Cheat Sheet Introduction to Blocks in Objective-C Part 1
iOS 7 brought some interesting new features to Objective-C and Foundation. New compiler features and improved Foundation classes read all about them! Whats New in Objective-C and Foundation in iOS 7 is a post from: Ray Wenderlich The post Whats New in Objective-C and Foundation in iOS 7 appeared first on Ray Wenderlich.
Underscore.m is a library of code to ease working with common data structures in Objective-C: It tries to encourage chaining by eschewing the square bracket]]]]]]. Related posts: Comprehensive look inside the Objective-C runtime Understanding Objective-C square brackets More on the Objective-C runtime
isKindOfClass is the answer to determine an object type. Related posts: Detect Taps on UITabBarController and Determining Class Type Determine iPhone and iPad Hardware Machine and Device Type Object subscripting in Objective-C revisited