On Thu, Apr 8, 2010 at 8:42 AM, WT <jrca...@gmail.com> wrote: > > Is the fact that -initWithFrame: is the designated initializer documented > anywhere? The docs for UIButton don't mention it. If this is documented > and/or won't change, then it's the solution I've been looking for. >
It is documented, but in a way that might not be terribly obvious. The docs for UIButton don't mention a designated initializer, and the docs for its parent UIControl don't help either, but if you go one further, the UIView docs tell you this. In general, if the docs for a class don't specify a designated initializer, you can search up the inheritance tree until you find one. -- // jack // http://nuthole.com // http://learncocoa.org _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com