• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Modal dialog over modal dialog in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Modal dialog over modal dialog in Cocoa (From: John Yeh <email@hidden>)

  • Prev by Date: Re: code behind NSRunAlertPanel
  • Next by Date: Instance variable access from functions
  • Previous by thread: Re: Modal dialog over modal dialog in Cocoa
  • Next by thread: iphone SDK session duration
  • Index(es):
    • Date
    • Thread