Thursday 15 July 2010

objective c - How to make UIkit Object inherited From Custom NSObject -


I would like to create some functions in the NSObject init method. And all my custom ideas inherited from it, for example, [NSBZ] & lt; - [customNobject] & lt; - [UIResponder] & lt; - [UIView] & lt; - [CustomUIView]; [NSObject] & lt; - [customNobject] & lt; - [UIResponder] & lt; - [UIImageView] & lt; - [CustomUIImageView];

You can not create a UIView succession from your custom class. If you want to add functionality to UIKit classes, you can do this.

No comments:

Post a Comment