Add an @NSApplicationMain attribute.

This behaves like @UIApplicationMain, except for AppKit. Attach it to your NSApplicationDelegate, and an artificial "main" will be generated that invokes NSApplicationMain() for you. Implements rdar://problem/16904667.

Swift SVN r21697
This commit is contained in:
Joe Groff
2014-09-04 05:52:26 +00:00
parent ece743ea3b
commit d7c98dcff4
17 changed files with 195 additions and 47 deletions

View File

@@ -40,7 +40,7 @@ const uint16_t VERSION_MAJOR = 0;
/// Serialized module format minor version number.
///
/// When the format changes IN ANY WAY, this number should be incremented.
const uint16_t VERSION_MINOR = 132;
const uint16_t VERSION_MINOR = 135;
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;