How should I write an init method for a class which is sub-classing an NSObject
- Let's say i have a class named : CustomButton subclassing UIButton
- I have an empty nib file named CustomButton.nib which has a single UIButton in it.
- IN interface builder the classname for the button is set to "CustomButton"
How would you write an init method for this class so that it loads from the nib file?