Author Archives: Josh Smith

Creating a custom UITableViewCell in iOS 4

This post explains how to create a custom table view cell that you can design  in Interface Builder and Xcode 4. Not only are the cells designable in IB, but they also have a code file in which you can … Continue reading

Posted in Interface Builder, UITableView, Xcode 4 | 14 Comments

Reusable iOS user authentication view controller on GitHub

In my spare time I have been working on a View Controller that can be used to asynchronously authenticate user credentials (username and password). Your application provides the code that contacts a server to authenticate, and optionally replaces the user … Continue reading

Posted in Uncategorized | 3 Comments

Responder chain and routed events in CocoaTouch

After years of working with C#, .NET, WPF, and Silverlight I find iOS programming to be both wildly foreign and familiar, at the same time. It’s like studying ancient Rome, and understanding the Romans’ pride for their system of law … Continue reading

Posted in CocoaTouch | Comments Off on Responder chain and routed events in CocoaTouch

Mediator design pattern in CocoaTouch

The CocoaTouch UI framework has its own built-in implementation of the Mediator design pattern, named NSNotificationCenter. You can use an instance of the NSNotificationCenter class to broadcast notifications to any objects that are interested in that particular event. Several components in … Continue reading

Posted in CocoaTouch, Objective-C | 7 Comments

Two Letters is now available in the App Store

My iPhone app called Two Letters is now available in the App Store.  Two Letters is a game for Scrabble and crossword puzzle lovers who want to learn and memorize the two-letter words.  Learning the two-letter words is important for … Continue reading

Posted in Uncategorized | 2 Comments

Two Letters app submitted to the App Store

Over the past couple of weeks I have been working hard on an iPhone app called ‘Two Letters.’ It is intended to be used by Scrabble players and crossword aficionados who want to learn and memorize two-letter words. If you … Continue reading

Posted in Two Letters | 2 Comments

Anonymous categories to the rescue

One of the things about Objective-C that seems a bit archaic to me is methods must be declared before they are called by other methods in the same code file. If you don’t, the compiler emits warnings. This is a … Continue reading

Posted in Objective-C | 3 Comments

Gradually becoming competent at Apple programming

I have been chipping away at Objective-C, Cocoa, CocoaTouch, and MonoTouch for the past few weeks.  Using MonoTouch at work has given me a false sense of confidence about my ability to write iPhone applications on the native platform. For … Continue reading

Posted in Books | 7 Comments

Displaying a video on the iPad using MonoTouch

I had trouble finding a good tutorial about showing a video on the iPad in a MonoTouch application.  After digging through lots of semi-helpful posts online, I finally figured out how to do it.  This blog post is intended to … Continue reading

Posted in MonoTouch | 4 Comments

Using UINavigationController in MonoTouch

This blog post is a walkthrough for setting up an iPhone application that uses UINavigationController to move between two screens. It shows how to use MonoDevelop and Interface Builder to create the application. MonoTouch is Novell’s implementation of the .NET … Continue reading

Posted in Interface Builder, MonoTouch | 6 Comments