File tree Expand file tree Collapse file tree 11 files changed +1066
-0
lines changed
Expand file tree Collapse file tree 11 files changed +1066
-0
lines changed Original file line number Diff line number Diff line change 1+ //
2+ // AppDelegate.h
3+ // DrawingIn2D-Mac
4+ //
5+ // Created by Brent Gulanowski on 2018-06-18.
6+ // Copyright © 2018 Metal by Example. All rights reserved.
7+ //
8+
9+ #import < Cocoa/Cocoa.h>
10+
11+ @interface AppDelegate : NSObject <NSApplicationDelegate >
12+
13+
14+ @end
15+
Original file line number Diff line number Diff line change 1+ //
2+ // AppDelegate.m
3+ // DrawingIn2D-Mac
4+ //
5+ // Created by Brent Gulanowski on 2018-06-18.
6+ // Copyright © 2018 Metal by Example. All rights reserved.
7+ //
8+
9+ #import " AppDelegate.h"
10+
11+ @interface AppDelegate ()
12+
13+ @end
14+
15+ @implementation AppDelegate
16+
17+ - (void )applicationDidFinishLaunching : (NSNotification *)aNotification {
18+ // Insert code here to initialize your application
19+ }
20+
21+
22+ - (void )applicationWillTerminate : (NSNotification *)aNotification {
23+ // Insert code here to tear down your application
24+ }
25+
26+
27+ @end
Original file line number Diff line number Diff line change 1+ {
2+ "images" : [
3+ {
4+ "idiom" : " mac" ,
5+ "size" : " 16x16" ,
6+ "scale" : " 1x"
7+ },
8+ {
9+ "idiom" : " mac" ,
10+ "size" : " 16x16" ,
11+ "scale" : " 2x"
12+ },
13+ {
14+ "idiom" : " mac" ,
15+ "size" : " 32x32" ,
16+ "scale" : " 1x"
17+ },
18+ {
19+ "idiom" : " mac" ,
20+ "size" : " 32x32" ,
21+ "scale" : " 2x"
22+ },
23+ {
24+ "idiom" : " mac" ,
25+ "size" : " 128x128" ,
26+ "scale" : " 1x"
27+ },
28+ {
29+ "idiom" : " mac" ,
30+ "size" : " 128x128" ,
31+ "scale" : " 2x"
32+ },
33+ {
34+ "idiom" : " mac" ,
35+ "size" : " 256x256" ,
36+ "scale" : " 1x"
37+ },
38+ {
39+ "idiom" : " mac" ,
40+ "size" : " 256x256" ,
41+ "scale" : " 2x"
42+ },
43+ {
44+ "idiom" : " mac" ,
45+ "size" : " 512x512" ,
46+ "scale" : " 1x"
47+ },
48+ {
49+ "idiom" : " mac" ,
50+ "size" : " 512x512" ,
51+ "scale" : " 2x"
52+ }
53+ ],
54+ "info" : {
55+ "version" : 1 ,
56+ "author" : " xcode"
57+ }
58+ }
Original file line number Diff line number Diff line change 1+ {
2+ "info" : {
3+ "version" : 1 ,
4+ "author" : " xcode"
5+ }
6+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >com.apple.security.app-sandbox</key >
6+ <true />
7+ <key >com.apple.security.files.user-selected.read-only</key >
8+ <true />
9+ </dict >
10+ </plist >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >CFBundleDevelopmentRegion </key >
6+ <string >$(DEVELOPMENT_LANGUAGE) </string >
7+ <key >CFBundleExecutable </key >
8+ <string >$(EXECUTABLE_NAME) </string >
9+ <key >CFBundleIconFile </key >
10+ <string ></string >
11+ <key >CFBundleIdentifier </key >
12+ <string >$(PRODUCT_BUNDLE_IDENTIFIER) </string >
13+ <key >CFBundleInfoDictionaryVersion </key >
14+ <string >6.0 </string >
15+ <key >CFBundleName </key >
16+ <string >$(PRODUCT_NAME) </string >
17+ <key >CFBundlePackageType </key >
18+ <string >APPL </string >
19+ <key >CFBundleShortVersionString </key >
20+ <string >1.0 </string >
21+ <key >CFBundleVersion </key >
22+ <string >1 </string >
23+ <key >LSMinimumSystemVersion </key >
24+ <string >$(MACOSX_DEPLOYMENT_TARGET) </string >
25+ <key >NSHumanReadableCopyright </key >
26+ <string >Copyright © 2018 Metal by Example. All rights reserved. </string >
27+ <key >NSMainStoryboardFile </key >
28+ <string >Main </string >
29+ <key >NSPrincipalClass </key >
30+ <string >NSApplication </string >
31+ </dict >
32+ </plist >
Original file line number Diff line number Diff line change 1+ //
2+ // ViewController.h
3+ // DrawingIn2D-Mac
4+ //
5+ // Created by Brent Gulanowski on 2018-06-18.
6+ // Copyright © 2018 Metal by Example. All rights reserved.
7+ //
8+
9+ #import < Cocoa/Cocoa.h>
10+
11+ @interface ViewController : NSViewController
12+
13+
14+ @end
15+
Original file line number Diff line number Diff line change 1+ //
2+ // ViewController.m
3+ // DrawingIn2D-Mac
4+ //
5+ // Created by Brent Gulanowski on 2018-06-18.
6+ // Copyright © 2018 Metal by Example. All rights reserved.
7+ //
8+
9+ #import " ViewController.h"
10+
11+ @implementation ViewController
12+
13+ - (void )viewDidLoad {
14+ [super viewDidLoad ];
15+
16+ // Do any additional setup after loading the view.
17+ }
18+
19+
20+ - (void )setRepresentedObject : (id )representedObject {
21+ [super setRepresentedObject: representedObject];
22+
23+ // Update the view, if already loaded.
24+ }
25+
26+
27+ @end
Original file line number Diff line number Diff line change 1+ //
2+ // main.m
3+ // DrawingIn2D-Mac
4+ //
5+ // Created by Brent Gulanowski on 2018-06-18.
6+ // Copyright © 2018 Metal by Example. All rights reserved.
7+ //
8+
9+ #import < Cocoa/Cocoa.h>
10+
11+ int main (int argc, const char * argv[]) {
12+ return NSApplicationMain (argc, argv);
13+ }
You can’t perform that action at this time.
0 commit comments