links for 2009-07-06
2009-07-06 04:02 am-
Big Nerd Ranch Europe, premier provider of intensive classes for programmers, is pleased to announce three of its flagship courses on Mac OS X. The whole month of February is dedicate to learning Cocoa programming for Mac OS X, developing applications for the iPhone and leveraging the powerful Unix foundation of Mac OS X along with learning advanced Cocoa programming techniques for professional developers.
-
In part 1 and part 2 of this series, we looked at the core of the Objective-C language, defining classes, creating objects, and sending messages to them. This final article covers the more advanced parts of the language.
-
5 star barber on Yelp
-
After completing the first stages of program development, like design and debugging, you can use performance tools such as Saturn to help optimize your program. Saturn helps you understand your program’s function-calling structure and how much time was spent in each function. Saturn consists of two parts: a graphical front-end and a dynamic library back-end. The Saturn back-end library leverages the instrumentation infrastructure in gcc to generate an output file that summarizes how much time your program spends in various functions. The Saturn front-end can then read this file and present a representation of the function calling patterns and a function tree view.
Saturn allows you to visualize the data in two ways: a traditional call-tree view and a graphical call-stack timeline. Using this information, you can eliminate expensive calling behavior (for example, deep call stacks which do not last long) as well as understand which functions take up the greatest portion of execution time -
Chances are, if you’ve developed any kind of Cocoa application, you’ve probably made use of Cocoa Bindings in one way or another, particularly when it comes to Core Data. The technology is ‘key’ to so many of the underlying frameworks but it is a technology that tends to be often-used but frequently not fully understood.
If you are someone who happily binds Array Controllers and View objects together using Interface Builder but have always wondered discretely exactly how the magic behind the scenes happens, or if you just don’t quite comprehend the difference between ‘KVC’ and ‘KVO’ (or perhaps can never quite remember what they stand for…), this article might help you out. In it, I’ll attempt to demonstrate a ‘faux-bindings’ methodology that connects a value from one object with a value from another object, but without using the actual Apple Cocoa Bindings technology. The bare-bones of how the ‘faux binding’ works will be there for all to see; while the internal workings of Cocoa Bin
-
If your application could benefit from improved performance—and let's be honest, most can—you need to know about Shark 4, the latest update to Apple's remarkable performance optimization tool. Shark enables you to very quickly identify where your application's performance problems lie, down to the specific functions on which you should concentrate your optimization efforts. You can then focus on the fixes that will yield the maximum benefits. Developers using earlier versions of Shark have found and fixed problems that improved performance dramatically, in a matter of hours.
-
Cutest hedgehog ever.
Original: craschworks - comments