Can I create a watch app in Swift and add it to an iOS app that was not built into swift?

We created an iOS application in RubyMotion. We are just now creating our first Watchkit app and would like to do it in Swift / Xcode. The watch application we plan to build is a companion for our iOS application, but it does not need to communicate with the parent iOS application at all.

Can I add a Swift Watchkit application to an existing iOS application that was not created in Swift?

+4
source share
1 answer

Yes it is possible. Simply enter a new target in your project and select the SWIFT language for your Watch target:

enter image description here

enter image description here

enter image description here

+1

Source: https://habr.com/ru/post/1614652/


All Articles