Category Archives: Cocoa

Thoughts on Xcode 4 Price

With the release of Xcode 4 came a completely unknown feature, even for developers like myself: a price tag. This is the first time that Xcode has ever had a price. Since the release of OS X, Xcode (and its … Continue reading

Posted in Cocoa, Development, Mac OS X, Objective-C | 3 Comments

How to Make an Accessible Multiline NSMenuItem (without any custom drawing)

In developing a new application, I ran into the need for a NSPopupButton for selecting a preference. The menu that you see popup when you click on a NSPopupButton is really just an NSMenu full of NSMenuItems. The same menu … Continue reading

Posted in Accessibility, Cocoa, Hacking, Mac OS X, Objective-C | 3 Comments

Creating Universal Overlays Using UIViews on iOS

What happens when you are developing a UIViewController based application and you want to have an simple transparent overlay for displaying things, say a custom achievements UI in a game, or anything really. In my case, I had a singleton … Continue reading

Posted in Cocoa, iPhone, Objective-C | 2 Comments

Improve Performance and Draw Your Own Strings on iPhone

Introduction Programmers are lazy. If you are going to have some no-frills text on the screen that does not change too often an UILabel is the way to go. Changing the is very simple. It’s just a matter of: myLabel.text … Continue reading

Posted in Cocoa, Development, iPhone, Objective-C | Leave a comment