瀏覽代碼

[iOS] Import React headers in a consistent way

j8
Saúl Ibarra Corretgé 7 年之前
父節點
當前提交
84fd7825c1
共有 5 個文件被更改,包括 10 次插入11 次删除
  1. 3
    3
      ios/sdk/src/AppInfo.m
  2. 3
    3
      ios/sdk/src/AudioMode.m
  3. 1
    2
      ios/sdk/src/ExternalAPI.m
  4. 1
    1
      ios/sdk/src/POSIX.m
  5. 2
    2
      ios/sdk/src/Proximity.m

+ 3
- 3
ios/sdk/src/AppInfo.m 查看文件

@@ -14,11 +14,11 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 
17
-#import "RCTBridgeModule.h"
18
-#import "RCTLog.h"
19
-
20 17
 #import <AVFoundation/AVFoundation.h>
21 18
 
19
+#import <React/RCTBridgeModule.h>
20
+#import <React/RCTLog.h>
21
+
22 22
 @interface AppInfo : NSObject<RCTBridgeModule>
23 23
 @end
24 24
 

+ 3
- 3
ios/sdk/src/AudioMode.m 查看文件

@@ -14,11 +14,11 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 
17
-#import "RCTBridgeModule.h"
18
-#import "RCTLog.h"
19
-
20 17
 #import <AVFoundation/AVFoundation.h>
21 18
 
19
+#import <React/RCTBridgeModule.h>
20
+#import <React/RCTLog.h>
21
+
22 22
 @interface AudioMode : NSObject<RCTBridgeModule>
23 23
 @end
24 24
 

+ 1
- 2
ios/sdk/src/ExternalAPI.m 查看文件

@@ -14,12 +14,11 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 
17
-#import "RCTBridgeModule.h"
17
+#import <React/RCTBridgeModule.h>
18 18
 
19 19
 #import "JitsiMeetView+Private.h"
20 20
 
21 21
 @interface ExternalAPI : NSObject<RCTBridgeModule>
22
-
23 22
 @end
24 23
 
25 24
 @implementation ExternalAPI

+ 1
- 1
ios/sdk/src/POSIX.m 查看文件

@@ -14,7 +14,7 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 
17
-#import "RCTBridgeModule.h"
17
+#import <React/RCTBridgeModule.h>
18 18
 
19 19
 #include <arpa/inet.h>
20 20
 #include <netdb.h>

+ 2
- 2
ios/sdk/src/Proximity.m 查看文件

@@ -14,10 +14,10 @@
14 14
  * limitations under the License.
15 15
  */
16 16
 
17
-#import "RCTBridgeModule.h"
18
-
19 17
 #import <UIKit/UIKit.h>
20 18
 
19
+#import <React/RCTBridgeModule.h>
20
+
21 21
 @interface Proximity : NSObject<RCTBridgeModule>
22 22
 @end
23 23
 

Loading…
取消
儲存