Advertisement
Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

When to Use Subclassing in iPhone App Development

Part of the iPhone Application Development All-in-One For Dummies Cheat Sheet

Subclassing is one of the mechanisms you use to customize behaviors while you're developing your iPhone application. Subclassing involves two stages: (1) creating a new class, called a subclass, that inherits properties from another (super) class and then (2) adding properties as needed for your iPhone application. In general, you’ll want to subclass

  • UIView, to create your (more complex) content views, which you may fill with controls, graphics, or the like.

  • UIViewController, to manage the content views and connect it to the model.

  • NSObject, to create Model views and delegates.

blog comments powered by Disqus
Advertisement
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win an iPad Mini. Enter to win now!