Object oriented languages have always allowed a programmer to add both methods and ivars to any class. Apple recommends you should not over-ride some Cocoa/Cocoa Touch classes. Hence, you cannot use inheritance to add ivars and methods to those classes. Of course, Objective-C has always offered the category mechanism as a way to add arbitrary […]
-
‹ Home
Contents
-
Categories
-
Tags
-
Archives
Blogroll
-
RSS Feeds
-
Meta