Creating Class Categories in Objective C

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,172
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 16, 2010

Class categories is a very powerful feature in the Objective C language. In this tutorial we show you how to use it to add new functionality to existing classes. These classes could be your own or ones that are in an API.

In the tutorial, we add new functionality to Apple iPhone OS's UIDevice class.

With class categories you can add virtually any functionality. In the tutorial we add functionality that could be useful for a developer who is creating a "Universal App." That is an app that is designed to work well on both the iPhone/iPod Touch and the iPad.

To read the whole tutorial on iPhone Obessed, go to:

http://iphone-obsessed.blogspot.com/2010/05/tutorial-creating-class-categorie...

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Thank you very much for this information!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more