Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running Swift on Raspberry Pi

So I have this idea. Please keep in mind that I don't know much about this so if this is too ambitious, I'm sorry. Basically, I want to run a Swift "app" on a Raspberry Pi connected to a monitor. I know how to code an iOS app and I have a few on the App Store, but this is a whole new project I've been thinking about. How would I go about accomplishing this? I've looked on the web for tutorials but none of them are showing how to run actual visual Swift code on a monitor. Most of them are showing how to switch on an LED light or something like that. I don't want to do that. I want to run Swift code (preferably via Xcode) with storyboards and UIViewControllers and all of that stuff on a Raspberry Pi connected to a monitor. Are there any ideas or tutorials anyone knows of? Please keep in mind that I am very new to Raspberry Pi. My only experience is with coding iOS apps with Xcode.

like image 874
Jacob Cavin Avatar asked Dec 17 '18 03:12

Jacob Cavin


1 Answers

First, for implementing swift on the raspberry pi code with Xcode, I will recommend you to read this: https://www.uraimo.com/2016/12/30/Swift-3-0-2-for-raspberrypi-zero-1-2-3/

and they have good suggestions here: https://forum.openframeworks.cc/t/xcode-osx-and-raspberry-pi/15834/4

As well as, you can read a related article in the part You may also like:

If you need to learn from scratch, I will recommend you to start with swift on the raspberry pi here : https://medium.com/@MissionKao/how-to-compile-swift-on-raspberry-pi-ae33e417a61e https://github.com/keybuk/SignalBox/wiki/Swift-on-Raspberry-Pi

like image 83
I_Al-thamary Avatar answered Oct 16 '22 20:10

I_Al-thamary