Code

24 Jun, 2011 [ Comments Off ]

Recipe: Obj-C Message Tracing

Written by

Motivation In a non-trivial application, wrapping your head around interactions between components in your codebase can be difficult. For example, consider delegation via formal protocols, a pattern that is pervasive in iOS frameworks. The interaction protocols for objects connected through delegation often involve numerous and layered sequences of method calls going...

27 May, 2011 [ Comments Off ]

Rendevous with Open Source Cocoa

Written by

Over the past 3 years, we have seen a lot of developers making the switch to iOS and quite recently to Mac development. Even though Objective-C has been around since the early 1980s, not many developers bothered to give it a try. Like it happens in every community, many developers have...

27 May, 2011 [ Comments Off ]

UIGestureRecognizer Saves The Day

Written by

So you’ve just finished implementing the latest, greatest application and for once, you feel that your design was kept intact through the entire project schedule.  You’ve kept your objects oriented and your models viewed and controlled.  You’ve put together a design that Donald Knuth himself would approve of.  In short,...

27 May, 2011 [ Comments Off ]

iPhone Programming 101: How To Make a Tip Calculator

Written by

If you're completely new to iPhone programming and want to dive right in, this is the tutorial for you! In this tutorial, you'll get started with iPhone programming by making a tip calculator! Why make a tip calculator?  First, it's one of the easiest exercises you can do, so it is a...