Re: Modal dialog over modal dialog in Cocoa
Re: Modal dialog over modal dialog in Cocoa
- Subject: Re: Modal dialog over modal dialog in Cocoa
- From: Ken Thomases <email@hidden>
- Date: Tue, 21 Apr 2009 21:11:34 -0500
On Apr 21, 2009, at 5:37 PM, John Yeh wrote:
The init function for each dialog looks like this:
@implementation SettingsController
- (id)init
{
[super init];
self = [super initWithWindowNibName:@"FLAirMainSettingsPanel"];
return self;
}
Why are you doubly-initing the object? You call two -init... methods
of 'super'? That's wrong, although I doubt it's the cause of your
trouble.
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden