Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit c0221a3

Browse files
cristianoccarodymolenaar
authored andcommitted
migrate all code to Swift. iOS podspec file fix. Include error in error callback
1 parent 8e1de93 commit c0221a3

12 files changed

+163
-318
lines changed

ios/CTPanoramaView.swift

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import SceneKit
1111
import CoreMotion
1212
import ImageIO
1313

14+
1415
@objc public protocol CTPanoramaCompass {
1516
func updateUI(rotationAngle: CGFloat, fieldOfViewAngle: CGFloat)
1617
}

ios/CTPieSliceView.swift

-87
This file was deleted.

ios/PanoramaView-Bridging-Header.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
//
22
// Use this file to import your target's public headers that you would like to expose to Swift.
33
//
4-
4+
#import "React/RCTBridgeModule.h"
5+
#import "React/RCTViewManager.h"
6+
#import <React/RCTBridge.h>
7+
#import <React/RCTUIManager.h>
8+
#import <React/RCTImageLoader.h>

ios/PanoramaView.h

-28
This file was deleted.

ios/PanoramaView.m

-161
This file was deleted.

0 commit comments

Comments
 (0)