NSExpression
NSExpression is a class in Cocoa that simplifies complex data tasks. It evaluates mathematical expressions, such as 4 + 5 - 2**3, which gives 1.
NSExpression is a class in Cocoa that simplifies complex data tasks. It evaluates mathematical expressions, such as 4 + 5 - 2**3, which gives 1.
Monthly update 278 • June 2013 • 2013-06-01 - 2013-06-30
Enumeration makes computation powerful by applying logic to collections.
Dan Brown’s Inferno thrusts Harvard symbolist Robert Langdon into a race against time in Florence, waking with amnesia to stop a bioengineered plague linked to Dante’s Inferno.
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 update 277 • May 2013 • 2013-05-01 - 2013-05-31
Apple gives options like Core Data or NSKeyedArchiver with NSKeyedUnarchiver. These turn objects into data and back again.
Monthly update 276 • April 2013 • 2013-04-01 - 2013-04-30
MKLocalSearch lets your app search for places (restaurants, shops, etc.) using normal language, all powered by Apple’s own data.
NSSecureCoding is a protocol from iOS 6 / OS X Mountain Lion. It adds the class method supportsSecureCoding.
Monthly update 275 • March 2013 • 2013-03-01 - 2013-03-31
Monthly update 274 • February 2013 • 2013-02-01 - 2013-02-28
In Objective-C, Foundation has macros like NSAssert for methods and NSCAssert for functions. They also have versions for parameters: NSParameterAssert and NSCParameterAssert.
NSURLCache is the built-in, automatic HTTP(S) cache used by NSURLConnection, NSURLSession (default/ephemeral configs), and WKWebView.
Monthly update 273 • January 2013 • 2013-01-01 - 2013-01-31
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.
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 update 272 • December 2012 • 2012-12-01 - 2012-12-31