concept future in category ios

appears as: future, future
Objective-C Fundamentals

This is an excerpt from Manning's book Objective-C Fundamentals.

Good habits learned now mean less hassle in the future

Declaring your variables using data types such as NSInteger and NSUInteger can be considered a form of future-proofing your source code. Although they’re identical to int and unsigned int when compiling for the iPhone today, who knows what’s around the corner? Perhaps a future iPhone or iPad will be a 64-bit device, or you’ll want to reuse some of your source code in a matching desktop application.

It’s much easier to establish the habit of using portable data types such as NSInteger or NSUInteger now (even if you don’t get much immediate benefit from it) than to have to correct such portability issues in the future.

This clause was widely interpreted as a shot across the bow of Adobe, because Apple had expressed its dislike of Adobe Flash and its disinterest in having Flash as part of the iOS platform. For a while, this caused Adobe to discontinue the Packager for iPhone component of CS5, and the future remained uncertain for a number of alternative development tools (such as Corona and Rhode). All of these tools were arguably creating applications that “link to Documented APIs through an intermediary translation or compatibility layer or tool” and, for the most part, weren’t written in C, C++, or Objective-C.