Updated Objective-C example to use custom views