This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf8001 swift code

Hello,

I have an arduino with a bluetooth module nrf8001 and I would like to develop an application to communicate with it and receive for example the temperature or humidity. The application "nRF UART" works very well, and I have also downloaded the source code and it works as I want, but the source code is in Objective-C and I would like to create my application with Swift. Is there a source code somewhere, or is it possible to use the objective-c code in my app in swift ? I have also tried this code :github.com/.../nRF8001-Swift , I manage sometimes to connect to by bluetooth module, but I can't receive any data.

Is there a solution to make an app in Swift ? Or I need to do it in Objective-C. I just begin to learn Swift (and never learn Objective-C), that's why I need this.

Thank you very much for your help.

Regards,

Related