O'Reilly logo

iOS and macOS™ Performance Tuning: Cocoa®, Cocoa Touch®, Objective-C®, and Swift™ by Marcel Weiher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. CPU Example: XML Parsing

My forays into XML parsing started long before Cocoa had acquired XML parsers, at a company (www.infopark.com) building a Web Content Management System (CMS) in Objective-C on Solaris and a bunch of other Unix platforms. Apple had just been acquired by NeXT (or was it the other way around?), so even Cocoa was actually called OPENSTEP and barely starting to morph into Yellow Box on Rhapsody.

You will therefore not see any “newfangled” technologies such as Swift, ARC, or even Objective-C 2.0 properties. However, historical accuracy is only one small reason; after all, it would have been easy to update the code. The more important reason is that these technologies are not adequate at these performance levels. When the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required