Started mocking out how uiBox will work in Auto Layout. This will be a separate program for now; hopefully I can salvage its code for the actual implementation.
This commit is contained in:
parent
c8ac7ffaf5
commit
046a7303c4
|
@ -0,0 +1,29 @@
|
|||
// 31 july 2015
|
||||
#import "osxaltest.h"
|
||||
|
||||
@interface appDelegate : NSObject<NSApplicationDelegate>
|
||||
@end
|
||||
|
||||
@implementation appDelegate
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)note
|
||||
{
|
||||
}
|
||||
|
||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)a
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
NSApplication *app;
|
||||
|
||||
app = [NSApplication sharedApplication];
|
||||
[app setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||
[app setDelegate:[appDelegate new]];
|
||||
[app run];
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
// 31 july 2015
|
||||
#import <Cocoa/Cocoa.h>
|
Loading…
Reference in New Issue