Blog

Development

NSUUID /CFUUIDRef /UIDevice -uniqueIdentifier /-identifierForVendor

Apple stopped letting apps use the unique device identifier, called UDID, from iOS 5 onwards. Apple blocked new apps using it after May 2013.

Monthly Updates

Monthly update #0277 • May 2013

Monthly update 277 • May 2013 • 2013-05-01 - 2013-05-31

    Development

    NSCoding / NSKeyedArchiver

    Apple gives options like Core Data or NSKeyedArchiver with NSKeyedUnarchiver. These turn objects into data and back again.

    Monthly Updates

    Monthly update #0276 • April 2013

    Monthly update 276 • April 2013 • 2013-04-01 - 2013-04-30

      Development

      MKLocalSearch

      MKLocalSearch lets your app search for places (restaurants, shops, etc.) using normal language, all powered by Apple’s own data.

      Development

      NSSecureCoding

      NSSecureCoding is a protocol from iOS 6 / OS X Mountain Lion. It adds the class method supportsSecureCoding.

      Monthly Updates

      Monthly update #0275 • March 2013

      Monthly update 275 • March 2013 • 2013-03-01 - 2013-03-31

        Monthly Updates

        Monthly update #0274 • February 2013

        Monthly update 274 • February 2013 • 2013-02-01 - 2013-02-28

          Development

          NSAssertionHandler

          In Objective-C, Foundation has macros like NSAssert for methods and NSCAssert for functions. They also have versions for parameters: NSParameterAssert and NSCParameterAssert.

          Development

          NSURLCache

          NSURLCache is the built-in, automatic HTTP(S) cache used by NSURLConnection, NSURLSession (default/ephemeral configs), and WKWebView.

          Monthly Updates

          Monthly update #0273 • January 2013

          Monthly update 273 • January 2013 • 2013-01-01 - 2013-01-31

            Development

            NSValue

            NSValue is the lightweight way to put any C scalar or struct (int, float, CGPoint, CGRect, NSRange, etc.) into an object so it can live in NSArray, NSDictionary, NSSet, etc.

            Development

            NSLocalizedString

            NSLocalizedString is a macro in Foundation that gives a localised version of a string. It takes a key to find the string and a comment to help translators.

            Monthly Updates

            Monthly update #0272 • December 2012

            Monthly update 272 • December 2012 • 2012-12-01 - 2012-12-31

              Development

              KVC Collection Operators

              The article discusses Key-Value Coding (KVC) Collection Operators in Objective-C, which provide a concise, Ruby-like syntax for performing aggregate operations on collections using valueForKeyPath:.

              Monthly Updates

              Monthly update #0271 • November 2012

              Monthly update 271 • November 2012 • 2012-11-01 - 2012-11-30

                Books

                A Wanted Man by Lee Child

                In A Wanted Man, Reacher hitches a ride with kidnappers, then joins the FBI to pursue them after a roadside murder in Nebraska.

                Development

                NSOrderedSet

                NSOrderedSet is not a subclass of NSSet due to problems with Objective-C's single inheritance and the mutable/immutable class pairs in Foundation's class clusters.

                Development

                NS_ENUM & NS_OPTIONS

                NS_ENUM and NS_OPTIONS are the modern, Apple-approved way to declare enums and bit-masks.

                Development

                NSURLProtocol

                NSURLProtocol is the most powerful (and least-known) piece of Apple’s URL Loading System.

                Monthly Updates

                Monthly update #0270 • October 2012

                Monthly update 270 • October 2012 • 2012-10-01 - 2012-10-31

                  Development

                  NSLinguisticTagger

                  NSLinguisticTagger offers powerful tools to process natural language. It breaks strings into tokens, finds parts of speech and stems, pulls out names of people, places, and groups, and spots languages and scripts.

                  Development

                  AddressBookUI

                  The Address Book UI framework in iOS, used alongside AddressBook.framework, provides controllers for managing contacts but includes a uniquely valuable function, ABCreateStringWithAddressDictionary(), which formats address components into a localised string.

                  Monthly Updates

                  Monthly update #0269 • September 2012

                  Monthly update 269 • September 2012 • 2012-09-01 - 2012-09-30

                    Movies

                    Spy Game

                    Spy Game (2001), directed by Tony Scott, is a sharp and thrilling espionage film that keeps you hooked. Robert Redford is outstanding as Nathan Muir, a seasoned CIA operative racing against time to save his protégé, Tom Bishop, played with intensity by Brad Pitt.