PDA

View Full Version : Create a custom view from a nib




JohnGaby
Nov 21, 2009, 07:34 PM
I know how to create a view from a nib using UIViewController. What I want to do is create a view from a nib which uses my own custom class (which is based on UIView, of course).

Is such a thing possible?

Thanks



dejo
Nov 21, 2009, 10:42 PM
Look into using NSBundle's loadNibNamed: owner: options: instance method.

JohnGaby
Nov 21, 2009, 10:55 PM
That looks promising. Thanks.