NordicSemiconductor / IOS-nRF-Toolbox

The nRF Toolbox is a container app that stores your Nordic Semiconductor apps for Bluetooth Low Energy in one location.
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Toolbox
BSD 3-Clause "New" or "Revised" License
601 stars 205 forks source link

Can xCode9 compile and run the swift3.0 version of the Nordic SDK? #50

Closed HelloAnpengyu closed 6 years ago

HelloAnpengyu commented 6 years ago

Can xCode9 compile and run the swift3.0 version of the Nordic SDK? I am a beginner...... Thanks a lot!

mostafaberg commented 6 years ago

That would be Swift 3.2 and not 3.0, however, this app is written in Swift 4, what Nordic SDK are you referring to ?

HelloAnpengyu commented 6 years ago

I want to work with nRF Toolbox, but I found swift 4.0 has less tutorial than swift 3.0. So I want to downlod previous version nRF Toolbox Sdk with swift 3.0. But xCode9 supports swift4.0 and swift 3.2, I am not sure if the privious version Sdk can work in xcode9.....

mostafaberg commented 6 years ago

I don't think it's smart to start from Swift 3.0, it'll eventually be deprecated, just start from Swift 4.0, and any tutorial that is written in Swift 3.0 can easily be ported to Swift 4.0, that being said, this repository just holds the nRF Toolbox example application, and it is not an SDK.

Newer versions of nRF Toolbox are not only to upgrade Swift, but they also include lots of features, improvements and bugfixes, You don't really want to use older versions if you're learning something new.

best of luck :)