• 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
Creating a 2nd sheet from another sheets end handler.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a 2nd sheet from another sheets end handler.


  • Subject: Creating a 2nd sheet from another sheets end handler.
  • From: Scott Andrew <email@hidden>
  • Date: Tue, 26 Jul 2005 11:40:11 -0700

I have a situation where my about box sheet has a registration button. Clicking this button closes the about sheet and shows the registration sheet (because you can't have sheet on sheet). My questions is in my sheetDidEnd handler should i be calling my registration sheet using:

[self performSelector: @selector(showRegistrationPanel)
withObject: nil
afterDelay: 1
inModes: [NSArray arrayWithObjects: NSDefaultRunLoopMode,
NSModalPanelRunLoopMode, nil]];


Does this allow the sheetDidEnd to exit?

The reason for the sheet -> sheet is because my app is an iPhoto plugin and i want to keep these so they look like its part of my app. The modal panels floated above the UI and looked too disconnected.

Thanks,
Scott Andrew



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating a 2nd sheet from another sheets end handler.
      • From: Michael McCracken <email@hidden>
  • Prev by Date: Re: Exception handling help
  • Next by Date: Re: Localized number formatting
  • Previous by thread: Re: Initializing views with models
  • Next by thread: Re: Creating a 2nd sheet from another sheets end handler.
  • Index(es):
    • Date
    • Thread