• 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: Running window as a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running window as a sheet


  • Subject: Re: Running window as a sheet
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 10 Feb 2015 03:32:34 +0000

On Feb 9, 2015, at 19:24 , Ken Thomases <email@hidden> wrote:
>
> -beginSheetModalForWindow:completionHandler: is a method on NSAlert and NSSavePanel.

And the last detail:

Xcode let you compile it where you did because ‘NSApp’ happens to be declared as ‘id’ for inscrutable historical reasons, so the compiler’s normal type checking was disabled. I’d recommend you train yourself to use [NSApplication sharedApplication] instead.

_______________________________________________

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


  • Follow-Ups:
    • Re: Running window as a sheet
      • From: Charles Jenkins <email@hidden>
References: 
 >Running window as a sheet (From: Charles Jenkins <email@hidden>)
 >Re: Running window as a sheet (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Running window as a sheet
  • Next by Date: Xcode 5.1 is crashing in 10.8.5
  • Previous by thread: Re: Running window as a sheet
  • Next by thread: Re: Running window as a sheet
  • Index(es):
    • Date
    • Thread