VEX-5682: iOS Swift Conversion (#11)

Converts ios implementation from objective-c to swift.
This commit is contained in:
Nick Fujita
2021-10-27 10:35:07 +09:00
committed by GitHub
parent 3bcf2c6061
commit 8b75438148
34 changed files with 2661 additions and 2313 deletions

View File

@@ -16,8 +16,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = "9.0"
s.subspec "Video" do |ss|
ss.source_files = "ios/Video/*.{h,m}"
s.static_framework = true
ss.source_files = "ios/Video/**/*.{h,m,swift}"
end
s.subspec "VideoCaching" do |ss|
@@ -25,14 +24,15 @@ Pod::Spec.new do |s|
ss.dependency "SPTPersistentCache", "~> 1.1.0"
ss.dependency "DVAssetLoaderDelegate", "~> 0.3.1"
ss.source_files = "ios/VideoCaching/**/*.{h,m}"
s.static_framework = true
ss.source_files = "ios/VideoCaching/**/*.{h,m,swift}"
end
s.dependency "React-Core"
s.default_subspec = "Video"
s.static_framework = true
s.xcconfig = {
'OTHER_LDFLAGS': '-ObjC',
}