Temasys / SkylinkSDK-iOS-Sample

Temasys SkylinkSDK for iOS - Sample App - Objective C
https://temasys.io
Other
16 stars 9 forks source link

Swift version of skylink #15

Closed Hamza123Imran closed 6 years ago

Hamza123Imran commented 6 years ago

How i can get the swift version of skylink?

RomainPln commented 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.

Hamza123Imran commented 6 years ago

How to implement this in swift

RomainPln commented 6 years ago

By simply using the Swift syntax after installing via cocoapods.

Hamza123Imran commented 6 years ago

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 .

RomainPln commented 6 years ago

Not sure to understand the question here. Please refer to this comment.

Hamza123Imran commented 6 years ago

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?

lyx501135 commented 6 years ago

The Swift version is here https://github.com/Temasys/SkylinkSDK_iOS_SampleApp_Swift4, for both Xcode 9 and 10

lyx501135 commented 6 years ago

Just ‘pod install’ in the Podfile folder

Hamza123Imran commented 6 years ago

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 .

lyx501135 commented 6 years ago

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'