On Feb 9, 2015, at 19:24 , Ken Thomases <k...@codeweavers.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to