File tree Expand file tree Collapse file tree 13 files changed +1494
-0
lines changed Expand file tree Collapse file tree 13 files changed +1494
-0
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ //
2
+ // AppDelegate.h
3
+ // FirestoreMac
4
+ //
5
+ // Created by Morgan Chen on 4/21/20.
6
+ // Copyright © 2020 Firebase. 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
+ // FirestoreMac
4
+ //
5
+ // Created by Morgan Chen on 4/21/20.
6
+ // Copyright © 2020 Firebase. 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 >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </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 © 2020 Firebase. All rights reserved. </string >
27
+ <key >NSMainStoryboardFile </key >
28
+ <string >Main </string >
29
+ <key >NSPrincipalClass </key >
30
+ <string >NSApplication </string >
31
+ <key >NSSupportsAutomaticTermination </key >
32
+ <true />
33
+ <key >NSSupportsSuddenTermination </key >
34
+ <true />
35
+ </dict >
36
+ </plist >
Original file line number Diff line number Diff line change
1
+ //
2
+ // ViewController.h
3
+ // FirestoreMac
4
+ //
5
+ // Created by Morgan Chen on 4/21/20.
6
+ // Copyright © 2020 Firebase. 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.mm
3
+ // FirestoreMac
4
+ //
5
+ // Created by Morgan Chen on 4/21/20.
6
+ // Copyright © 2020 Firebase. All rights reserved.
7
+ //
8
+
9
+ #import " ViewController.h"
10
+ #import " snippets.h"
11
+
12
+ @implementation ViewController {
13
+ SnippetsRunner _snippetsRunner;
14
+ }
15
+
16
+ - (void )viewDidLoad {
17
+ [super viewDidLoad ];
18
+
19
+ _snippetsRunner = SnippetsRunner ();
20
+ }
21
+
22
+ - (void )viewDidAppear {
23
+ [super viewDidAppear ];
24
+
25
+ _snippetsRunner.runAllSnippets ();
26
+ }
27
+
28
+ - (void )setRepresentedObject : (id )representedObject {
29
+ [super setRepresentedObject: representedObject];
30
+
31
+ // Update the view, if already loaded.
32
+ }
33
+
34
+
35
+ @end
You can’t perform that action at this time.
0 commit comments