邓博 7 anni fa
parent
commit
03d3c993e2

+ 0
- 0
.gitignore Vedi File


+ 0
- 276
RCTAgora/RCTAgora.xcodeproj/project.pbxproj Vedi File

@@ -1,276 +0,0 @@
1
-// !$*UTF8*$!
2
-{
3
-	archiveVersion = 1;
4
-	classes = {
5
-	};
6
-	objectVersion = 46;
7
-	objects = {
8
-
9
-/* Begin PBXBuildFile section */
10
-		23AF28211EEFECD800D771AB /* RCTAgora.m in Sources */ = {isa = PBXBuildFile; fileRef = 23AF28201EEFECD800D771AB /* RCTAgora.m */; };
11
-		23AF28221EEFECD800D771AB /* RCTAgora.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 23AF281F1EEFECD800D771AB /* RCTAgora.h */; };
12
-/* End PBXBuildFile section */
13
-
14
-/* Begin PBXCopyFilesBuildPhase section */
15
-		23AF281A1EEFECD800D771AB /* CopyFiles */ = {
16
-			isa = PBXCopyFilesBuildPhase;
17
-			buildActionMask = 2147483647;
18
-			dstPath = "include/$(PRODUCT_NAME)";
19
-			dstSubfolderSpec = 16;
20
-			files = (
21
-				23AF28221EEFECD800D771AB /* RCTAgora.h in CopyFiles */,
22
-			);
23
-			runOnlyForDeploymentPostprocessing = 0;
24
-		};
25
-/* End PBXCopyFilesBuildPhase section */
26
-
27
-/* Begin PBXFileReference section */
28
-		23AF281C1EEFECD800D771AB /* libRCTAgora.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTAgora.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
-		23AF281F1EEFECD800D771AB /* RCTAgora.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTAgora.h; sourceTree = "<group>"; };
30
-		23AF28201EEFECD800D771AB /* RCTAgora.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTAgora.m; sourceTree = "<group>"; };
31
-/* End PBXFileReference section */
32
-
33
-/* Begin PBXFrameworksBuildPhase section */
34
-		23AF28191EEFECD800D771AB /* Frameworks */ = {
35
-			isa = PBXFrameworksBuildPhase;
36
-			buildActionMask = 2147483647;
37
-			files = (
38
-			);
39
-			runOnlyForDeploymentPostprocessing = 0;
40
-		};
41
-/* End PBXFrameworksBuildPhase section */
42
-
43
-/* Begin PBXGroup section */
44
-		23AF28131EEFECD800D771AB = {
45
-			isa = PBXGroup;
46
-			children = (
47
-				23AF281E1EEFECD800D771AB /* RCTAgora */,
48
-				23AF281D1EEFECD800D771AB /* Products */,
49
-			);
50
-			sourceTree = "<group>";
51
-		};
52
-		23AF281D1EEFECD800D771AB /* Products */ = {
53
-			isa = PBXGroup;
54
-			children = (
55
-				23AF281C1EEFECD800D771AB /* libRCTAgora.a */,
56
-			);
57
-			name = Products;
58
-			sourceTree = "<group>";
59
-		};
60
-		23AF281E1EEFECD800D771AB /* RCTAgora */ = {
61
-			isa = PBXGroup;
62
-			children = (
63
-				23AF281F1EEFECD800D771AB /* RCTAgora.h */,
64
-				23AF28201EEFECD800D771AB /* RCTAgora.m */,
65
-			);
66
-			path = RCTAgora;
67
-			sourceTree = "<group>";
68
-		};
69
-/* End PBXGroup section */
70
-
71
-/* Begin PBXNativeTarget section */
72
-		23AF281B1EEFECD800D771AB /* RCTAgora */ = {
73
-			isa = PBXNativeTarget;
74
-			buildConfigurationList = 23AF28251EEFECD800D771AB /* Build configuration list for PBXNativeTarget "RCTAgora" */;
75
-			buildPhases = (
76
-				23AF28181EEFECD800D771AB /* Sources */,
77
-				23AF28191EEFECD800D771AB /* Frameworks */,
78
-				23AF281A1EEFECD800D771AB /* CopyFiles */,
79
-			);
80
-			buildRules = (
81
-			);
82
-			dependencies = (
83
-			);
84
-			name = RCTAgora;
85
-			productName = RCTAgora;
86
-			productReference = 23AF281C1EEFECD800D771AB /* libRCTAgora.a */;
87
-			productType = "com.apple.product-type.library.static";
88
-		};
89
-/* End PBXNativeTarget section */
90
-
91
-/* Begin PBXProject section */
92
-		23AF28141EEFECD800D771AB /* Project object */ = {
93
-			isa = PBXProject;
94
-			attributes = {
95
-				LastUpgradeCheck = 0830;
96
-				ORGANIZATIONNAME = Syan;
97
-				TargetAttributes = {
98
-					23AF281B1EEFECD800D771AB = {
99
-						CreatedOnToolsVersion = 8.3.2;
100
-						DevelopmentTeam = 342K4Q49RK;
101
-						ProvisioningStyle = Automatic;
102
-					};
103
-				};
104
-			};
105
-			buildConfigurationList = 23AF28171EEFECD800D771AB /* Build configuration list for PBXProject "RCTAgora" */;
106
-			compatibilityVersion = "Xcode 3.2";
107
-			developmentRegion = English;
108
-			hasScannedForEncodings = 0;
109
-			knownRegions = (
110
-				en,
111
-			);
112
-			mainGroup = 23AF28131EEFECD800D771AB;
113
-			productRefGroup = 23AF281D1EEFECD800D771AB /* Products */;
114
-			projectDirPath = "";
115
-			projectRoot = "";
116
-			targets = (
117
-				23AF281B1EEFECD800D771AB /* RCTAgora */,
118
-			);
119
-		};
120
-/* End PBXProject section */
121
-
122
-/* Begin PBXSourcesBuildPhase section */
123
-		23AF28181EEFECD800D771AB /* Sources */ = {
124
-			isa = PBXSourcesBuildPhase;
125
-			buildActionMask = 2147483647;
126
-			files = (
127
-				23AF28211EEFECD800D771AB /* RCTAgora.m in Sources */,
128
-			);
129
-			runOnlyForDeploymentPostprocessing = 0;
130
-		};
131
-/* End PBXSourcesBuildPhase section */
132
-
133
-/* Begin XCBuildConfiguration section */
134
-		23AF28231EEFECD800D771AB /* Debug */ = {
135
-			isa = XCBuildConfiguration;
136
-			buildSettings = {
137
-				ALWAYS_SEARCH_USER_PATHS = NO;
138
-				CLANG_ANALYZER_NONNULL = YES;
139
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
140
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
141
-				CLANG_CXX_LIBRARY = "libc++";
142
-				CLANG_ENABLE_MODULES = YES;
143
-				CLANG_ENABLE_OBJC_ARC = YES;
144
-				CLANG_WARN_BOOL_CONVERSION = YES;
145
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
146
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
147
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
148
-				CLANG_WARN_EMPTY_BODY = YES;
149
-				CLANG_WARN_ENUM_CONVERSION = YES;
150
-				CLANG_WARN_INFINITE_RECURSION = YES;
151
-				CLANG_WARN_INT_CONVERSION = YES;
152
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
153
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
154
-				CLANG_WARN_UNREACHABLE_CODE = YES;
155
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
156
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
157
-				COPY_PHASE_STRIP = NO;
158
-				DEBUG_INFORMATION_FORMAT = dwarf;
159
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
160
-				ENABLE_TESTABILITY = YES;
161
-				GCC_C_LANGUAGE_STANDARD = gnu99;
162
-				GCC_DYNAMIC_NO_PIC = NO;
163
-				GCC_NO_COMMON_BLOCKS = YES;
164
-				GCC_OPTIMIZATION_LEVEL = 0;
165
-				GCC_PREPROCESSOR_DEFINITIONS = (
166
-					"DEBUG=1",
167
-					"$(inherited)",
168
-				);
169
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
170
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
171
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
172
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
173
-				GCC_WARN_UNUSED_FUNCTION = YES;
174
-				GCC_WARN_UNUSED_VARIABLE = YES;
175
-				IPHONEOS_DEPLOYMENT_TARGET = 10.3;
176
-				MTL_ENABLE_DEBUG_INFO = YES;
177
-				ONLY_ACTIVE_ARCH = YES;
178
-				SDKROOT = iphoneos;
179
-			};
180
-			name = Debug;
181
-		};
182
-		23AF28241EEFECD800D771AB /* Release */ = {
183
-			isa = XCBuildConfiguration;
184
-			buildSettings = {
185
-				ALWAYS_SEARCH_USER_PATHS = NO;
186
-				CLANG_ANALYZER_NONNULL = YES;
187
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
188
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
189
-				CLANG_CXX_LIBRARY = "libc++";
190
-				CLANG_ENABLE_MODULES = YES;
191
-				CLANG_ENABLE_OBJC_ARC = YES;
192
-				CLANG_WARN_BOOL_CONVERSION = YES;
193
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
194
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
195
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
196
-				CLANG_WARN_EMPTY_BODY = YES;
197
-				CLANG_WARN_ENUM_CONVERSION = YES;
198
-				CLANG_WARN_INFINITE_RECURSION = YES;
199
-				CLANG_WARN_INT_CONVERSION = YES;
200
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
201
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
202
-				CLANG_WARN_UNREACHABLE_CODE = YES;
203
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
204
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
205
-				COPY_PHASE_STRIP = NO;
206
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
207
-				ENABLE_NS_ASSERTIONS = NO;
208
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
209
-				GCC_C_LANGUAGE_STANDARD = gnu99;
210
-				GCC_NO_COMMON_BLOCKS = YES;
211
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
212
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
213
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
214
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
215
-				GCC_WARN_UNUSED_FUNCTION = YES;
216
-				GCC_WARN_UNUSED_VARIABLE = YES;
217
-				IPHONEOS_DEPLOYMENT_TARGET = 10.3;
218
-				MTL_ENABLE_DEBUG_INFO = NO;
219
-				SDKROOT = iphoneos;
220
-				VALIDATE_PRODUCT = YES;
221
-			};
222
-			name = Release;
223
-		};
224
-		23AF28261EEFECD800D771AB /* Debug */ = {
225
-			isa = XCBuildConfiguration;
226
-			buildSettings = {
227
-				DEVELOPMENT_TEAM = 342K4Q49RK;
228
-				HEADER_SEARCH_PATHS = (
229
-					"\"$(SRCROOT)/../../react-native/React\"/**",
230
-					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
231
-				);
232
-				OTHER_LDFLAGS = "-ObjC";
233
-				PRODUCT_NAME = "$(TARGET_NAME)";
234
-				SKIP_INSTALL = YES;
235
-			};
236
-			name = Debug;
237
-		};
238
-		23AF28271EEFECD800D771AB /* Release */ = {
239
-			isa = XCBuildConfiguration;
240
-			buildSettings = {
241
-				DEVELOPMENT_TEAM = 342K4Q49RK;
242
-				HEADER_SEARCH_PATHS = (
243
-					"\"$(SRCROOT)/../../react-native/React\"/**",
244
-					"\"$(SRCROOT)/../../react-native/Libraries\"/**",
245
-				);
246
-				OTHER_LDFLAGS = "-ObjC";
247
-				PRODUCT_NAME = "$(TARGET_NAME)";
248
-				SKIP_INSTALL = YES;
249
-			};
250
-			name = Release;
251
-		};
252
-/* End XCBuildConfiguration section */
253
-
254
-/* Begin XCConfigurationList section */
255
-		23AF28171EEFECD800D771AB /* Build configuration list for PBXProject "RCTAgora" */ = {
256
-			isa = XCConfigurationList;
257
-			buildConfigurations = (
258
-				23AF28231EEFECD800D771AB /* Debug */,
259
-				23AF28241EEFECD800D771AB /* Release */,
260
-			);
261
-			defaultConfigurationIsVisible = 0;
262
-			defaultConfigurationName = Release;
263
-		};
264
-		23AF28251EEFECD800D771AB /* Build configuration list for PBXNativeTarget "RCTAgora" */ = {
265
-			isa = XCConfigurationList;
266
-			buildConfigurations = (
267
-				23AF28261EEFECD800D771AB /* Debug */,
268
-				23AF28271EEFECD800D771AB /* Release */,
269
-			);
270
-			defaultConfigurationIsVisible = 0;
271
-			defaultConfigurationName = Release;
272
-		};
273
-/* End XCConfigurationList section */
274
-	};
275
-	rootObject = 23AF28141EEFECD800D771AB /* Project object */;
276
-}

+ 0
- 7
RCTAgora/RCTAgora.xcodeproj/project.xcworkspace/contents.xcworkspacedata Vedi File

@@ -1,7 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Workspace
3
-   version = "1.0">
4
-   <FileRef
5
-      location = "self:RCTAgora.xcodeproj">
6
-   </FileRef>
7
-</Workspace>

BIN
RCTAgora/RCTAgora.xcodeproj/project.xcworkspace/xcuserdata/DB.xcuserdatad/UserInterfaceState.xcuserstate Vedi File


+ 0
- 80
RCTAgora/RCTAgora.xcodeproj/xcuserdata/DB.xcuserdatad/xcschemes/RCTAgora.xcscheme Vedi File

@@ -1,80 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Scheme
3
-   LastUpgradeVersion = "0830"
4
-   version = "1.3">
5
-   <BuildAction
6
-      parallelizeBuildables = "YES"
7
-      buildImplicitDependencies = "YES">
8
-      <BuildActionEntries>
9
-         <BuildActionEntry
10
-            buildForTesting = "YES"
11
-            buildForRunning = "YES"
12
-            buildForProfiling = "YES"
13
-            buildForArchiving = "YES"
14
-            buildForAnalyzing = "YES">
15
-            <BuildableReference
16
-               BuildableIdentifier = "primary"
17
-               BlueprintIdentifier = "23AF281B1EEFECD800D771AB"
18
-               BuildableName = "libRCTAgora.a"
19
-               BlueprintName = "RCTAgora"
20
-               ReferencedContainer = "container:RCTAgora.xcodeproj">
21
-            </BuildableReference>
22
-         </BuildActionEntry>
23
-      </BuildActionEntries>
24
-   </BuildAction>
25
-   <TestAction
26
-      buildConfiguration = "Debug"
27
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
-      shouldUseLaunchSchemeArgsEnv = "YES">
30
-      <Testables>
31
-      </Testables>
32
-      <AdditionalOptions>
33
-      </AdditionalOptions>
34
-   </TestAction>
35
-   <LaunchAction
36
-      buildConfiguration = "Debug"
37
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39
-      launchStyle = "0"
40
-      useCustomWorkingDirectory = "NO"
41
-      ignoresPersistentStateOnLaunch = "NO"
42
-      debugDocumentVersioning = "YES"
43
-      debugServiceExtension = "internal"
44
-      allowLocationSimulation = "YES">
45
-      <MacroExpansion>
46
-         <BuildableReference
47
-            BuildableIdentifier = "primary"
48
-            BlueprintIdentifier = "23AF281B1EEFECD800D771AB"
49
-            BuildableName = "libRCTAgora.a"
50
-            BlueprintName = "RCTAgora"
51
-            ReferencedContainer = "container:RCTAgora.xcodeproj">
52
-         </BuildableReference>
53
-      </MacroExpansion>
54
-      <AdditionalOptions>
55
-      </AdditionalOptions>
56
-   </LaunchAction>
57
-   <ProfileAction
58
-      buildConfiguration = "Release"
59
-      shouldUseLaunchSchemeArgsEnv = "YES"
60
-      savedToolIdentifier = ""
61
-      useCustomWorkingDirectory = "NO"
62
-      debugDocumentVersioning = "YES">
63
-      <MacroExpansion>
64
-         <BuildableReference
65
-            BuildableIdentifier = "primary"
66
-            BlueprintIdentifier = "23AF281B1EEFECD800D771AB"
67
-            BuildableName = "libRCTAgora.a"
68
-            BlueprintName = "RCTAgora"
69
-            ReferencedContainer = "container:RCTAgora.xcodeproj">
70
-         </BuildableReference>
71
-      </MacroExpansion>
72
-   </ProfileAction>
73
-   <AnalyzeAction
74
-      buildConfiguration = "Debug">
75
-   </AnalyzeAction>
76
-   <ArchiveAction
77
-      buildConfiguration = "Release"
78
-      revealArchiveInOrganizer = "YES">
79
-   </ArchiveAction>
80
-</Scheme>

+ 0
- 22
RCTAgora/RCTAgora.xcodeproj/xcuserdata/DB.xcuserdatad/xcschemes/xcschememanagement.plist Vedi File

@@ -1,22 +0,0 @@
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>SchemeUserState</key>
6
-	<dict>
7
-		<key>RCTAgora.xcscheme</key>
8
-		<dict>
9
-			<key>orderHint</key>
10
-			<integer>0</integer>
11
-		</dict>
12
-	</dict>
13
-	<key>SuppressBuildableAutocreation</key>
14
-	<dict>
15
-		<key>23AF281B1EEFECD800D771AB</key>
16
-		<dict>
17
-			<key>primary</key>
18
-			<true/>
19
-		</dict>
20
-	</dict>
21
-</dict>
22
-</plist>

+ 0
- 15
RCTAgora/RCTAgora/RCTAgora.h Vedi File

@@ -1,15 +0,0 @@
1
-//
2
-//  RCTAgora.h
3
-//  RCTAgora
4
-//
5
-//  Created by 邓博 on 2017/6/13.
6
-//  Copyright © 2017年 Syan. All rights reserved.
7
-//
8
-
9
-#import <Foundation/Foundation.h>
10
-#import <UIKit/UIKit.h>
11
-#import <React/RCTBridgeModule.h>
12
-
13
-@interface RCTAgora : NSObject<RCTBridgeModule>
14
-
15
-@end

+ 0
- 35
RCTAgora/RCTAgora/RCTAgora.m Vedi File

@@ -1,35 +0,0 @@
1
-//
2
-//  RCTAgora.m
3
-//  RCTAgora
4
-//
5
-//  Created by 邓博 on 2017/6/13.
6
-//  Copyright © 2017年 Syan. All rights reserved.
7
-//
8
-
9
-#import "RCTAgora.h"
10
-#import <React/RCTEventDispatcher.h>
11
-#import <React/RCTBridge.h>
12
-#import <React/RCTUIManager.h>
13
-#import <React/RCTView.h>
14
-
15
-@implementation RCTAgora
16
-
17
-RCT_EXPORT_MODULE();
18
-
19
-@synthesize bridge = _bridge;
20
-
21
-RCT_EXPORT_METHOD(getViewWithTag:(nonnull NSNumber *)reactTag)
22
-{
23
-    
24
-    UIView *view = [self.bridge.uiManager viewForReactTag:reactTag];
25
-    NSLog(@"%@",view);
26
-    
27
-}
28
-
29
-- (dispatch_queue_t)methodQueue
30
-{
31
-    return dispatch_get_main_queue();
32
-}
33
-
34
-@end
35
-