NSError
NSError is Cocoa's way to handle errors without exceptions. It tells about failures with a code, domain, and userInfo dictionary.
NSError is Cocoa's way to handle errors without exceptions. It tells about failures with a code, domain, and userInfo dictionary.
Key-Value Observing (KVO) has an ugly, wordy API, but it is one of Cocoa’s most powerful features.
Monthly update 281 • September 2013 • 2013-09-01 - 2013-09-30
In Frederick Forsyth’s The Kill List, a gripping espionage thriller, a mysterious U.S. agency called TOSA is on a mission to hunt down threats to national security.
Monthly update 280 • August 2013 • 2013-08-01 - 2013-08-31
NSHashTable acts as a general version of NSSet. It is mutable, holds weak references, can copy items on input, and handles arbitrary pointers using pointer identity for equality and hashing.
Handy defaults write commands for com.apple.systempreferences, controlling the legacy System Preferences app.
If you see coredisplay or corestorage processes on your Mac, here is what they do.
If you see TrustEvaluationAgent running on your Mac, here is what this certificate trust process does.
In Robert Ludlum’s The Utopia Experiment, co-authored with Kyle Mills, Covert-One's Jon Smith looks into a new brain-computer device that may not be the gift its inventor claims.
Monthly update 279 • July 2013 • 2013-07-01 - 2013-07-31
World War Z (2013), directed by Marc Forster, shows a fast zombie plague. Brad Pitt plays Gerry Lane, a former UN worker pulled back to help. He flies from city to city. Mireille Enos acts as his wife Karin, who waits at home.
NSPredicate is a Foundation class that defines logical conditions to fetch or filter data. Its syntax mixes SQL WHERE clauses with regex for expressive queries on collections.
NSExpression is a class in Cocoa that simplifies complex data tasks. It evaluates mathematical expressions, such as 4 + 5 - 2**3, which gives 1.
If you see startupdiskhelper on your Mac, here is what this boot disk helper process does.
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.
The Office is an American comedy series. It aired on NBC from 24 March 2005 to 16 May 2013. Greg Daniels adapted it from the British series by Ricky Gervais and Stephen Merchant. Steve Carell plays Michael Scott, the bumbling but well-meaning regional manager of Dunder Mifflin, a paper company in Scranton, Pennsylvania.
If you see cloudd running on your Mac or using a lot of CPU, here is what this iCloud process does.
Monthly update 277 • May 2013 • 2013-05-01 - 2013-05-31
If you see DataDetectorsSourceAccess running on your Mac, here is what this data detection process does.
Pentecost continues to shape my adult life. The events of that first Pentecost bring lasting peace.
Apple gives options like Core Data or NSKeyedArchiver with NSKeyedUnarchiver. These turn objects into data and back again.