Re: Customize NSAlert?
Re: Customize NSAlert?
- Subject: Re: Customize NSAlert?
- From: "I. Savant" <email@hidden>
- Date: Mon, 5 Feb 2007 13:08:43 -0500
On Feb 5, 2007, at 12:36 PM, Matt Neuburg wrote:
NSButton* dontAskButton = [[NSButton alloc] init] ;
Initializing a button with "init" is certainly "something
wrong" (though
this does not go to the heart of your original question). m.
To elaborate this rather vague point, initializing any view with -
init pretty much guarantees problems. Views should be initialized
with -initWithFrame: so they actually *have* a frame.
Basically, if it's on-screen it should have a frame.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden