Closed Hamza123Imran closed 6 years ago
You can use Skylink on a Swift project by having !use_frameworks in your podfile. Note that Skylink itself will still be Objective-C as of 1.2.0 but will work in a swift implementation.
How to implement this in swift
By simply using the Swift syntax after installing via cocoapods.
pods will remain same?
On 13 August 2018 at 11:42, Romain PELLEN notifications@github.com wrote:
By simply using the Swift syntax after installing via cocoapods.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Temasys/SkylinkSDK-iOS-Sample/issues/15#issuecomment-412422361, or mute the thread https://github.com/notifications/unsubscribe-auth/AY7N9i_dqWLTC_avljYfGa1_mXrmzF23ks5uQR_wgaJpZM4V58Lw .
Not sure to understand the question here. Please refer to this comment.
I'm asking that if i install through pods it will install the objective c class in my project than how will i import the lib?
The Swift version is here https://github.com/Temasys/SkylinkSDK_iOS_SampleApp_Swift4, for both Xcode 9 and 10
Just ‘pod install’ in the Podfile folder
thanks a lot
On 13 August 2018 at 12:16, Yuxi notifications@github.com wrote:
Just ‘pod install’ in the Podfile folder
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Temasys/SkylinkSDK-iOS-Sample/issues/15#issuecomment-412428768, or mute the thread https://github.com/notifications/unsubscribe-auth/AY7N9nG67BJYBDUtxE-6PEoD16yKr8Pbks5uQSe0gaJpZM4V58Lw .
My pleasure friend, if you want to try the test version(usually the pre-release version), you may modify the Podfile before running the pod install pod 'SKYLINK', :git => 'https://github.com/Temasys/SKYLINK-iOS.git', :branch => 'test'
How i can get the swift version of skylink?