Jump to content
  • Announcements

    • alpenwasser

      Please Use CODE Tags   31 Jan 2016

      Welcome to the Programming and Software Design Section,

      When asking for help with programming issues, please use the code tags to enclose your code, it makes things much more easily readable for the people trying to help you, thus improving your chances of actually getting help.
        To add code tags, click the <> button on the editor toolbar, then enter your code in the code editor that appears. If you are on a mobile device, or prefer to use BBCode, you can use [code] // Your code here // It will be syntax highlighted, though not necessarily corectly. [/code] (but the code editor is more consistent and less buggy).
soorma

Mac and IOS Programming in Linux

Recommended Posts

Posted · Original PosterOP

I cannot afford a macbook but I want to learn swift programming language. I have a 32bit Ubuntu Budgie Dell laptop. Is it possible to do swift programming there ? Or even on windows 10 ?

Link to post
Share on other sites

AFAIK Xcode only runs on mac.


Ryzen 5 1400 @ 3.9 Ghz  |  PaliT GTX 1050Ti  |  8gb Kingston HyperX Fury @ 2933 Mhz  |  Corsair CX550m  |  1 TB WD Blue HDD
Inside some old case I found lying around.

 

Link to post
Share on other sites
8 minutes ago, soorma said:

I cannot afford a macbook but I want to learn swift programming language. I have a 32bit Ubuntu Budgie Dell laptop. Is it possible to do swift programming there ? Or even on windows 10 ?

Sure, run a VM of MacOS, program from there


So rise up, all ye lost ones, as one, we'll claw the clouds

Link to post
Share on other sites

Swift has officially support on Ubuntu for a couple of years now:

https://swift.org/download/

 

I've not used Swift so I'm not sure about the quality of the development environment on Ubuntu (but its probably better on macOS).

 

 


Desktop: Corsair RM550x | I7 4790k @ 4.7GHz | Corsair H100i (NF-F12 fans) | MSI GTX 1080 (2GHz core / 5.5GHz mem) | 16GB 1600MHz Corsair Vengeance (4x4GB) | Gigabyte MSI Z97 Gaming 5 Motherboard | Samsung 970 EVO | Samsung 830 256GB SSD | 3TB HDD | Corsair 450D | MG279Q

Laptop: XPS15 9560 4K / 512GB

Console: Playstation 4 Pro

Link to post
Share on other sites

I've been an iOS Programmer for a couple years now. Swift is officially supported on Ubuntu, but you'll have a heck of a time getting it to actually work well. Depending on your use case this may be ok. I'd suggest either trying to find an older MacMini that would support it natively, or trying to build a hackintosh. Goodluck!


TX10 Build Log: http://linustechtips.com/main/topic/456229-tx10-build-log/

Case: TX10-D   Proccessor: i7-5820k   MotherBoard: Asrockx99 Extreme4   Ram: Crucial Ballistix Sport 16GB (DDR4-2400)   GPU: Asus Strix OC 980ti   Storage: 850pro 500gb, 850pro 500gb, 850pro 256gb, WD black 16tb total, Silicon Power S60 120GB   PSU: Seasonic snow silent 1050   Monitors: Three of Asus VG248QE 144Hz 24.0"

Link to post
Share on other sites
Posted · Original PosterOP
14 hours ago, Cvdasfg said:

I've been an iOS Programmer for a couple years now. Swift is officially supported on Ubuntu, but you'll have a heck of a time getting it to actually work well. Depending on your use case this may be ok. I'd suggest either trying to find an older MacMini that would support it natively, or trying to build a hackintosh. Goodluck!

How about just learning basics of Swift ?

Link to post
Share on other sites
38 minutes ago, soorma said:

How about just learning basics of Swift ?

There’s a tutorial on apples website but you won’t get to try it. 


PC game list: 

Build Plan: 

 

Link to post
Share on other sites
10 hours ago, soorma said:

How about just learning basics of Swift ?

I mean you can technically learn the basics on anything even notepad or physical paper... It really depends on what your looking to get out of it.


TX10 Build Log: http://linustechtips.com/main/topic/456229-tx10-build-log/

Case: TX10-D   Proccessor: i7-5820k   MotherBoard: Asrockx99 Extreme4   Ram: Crucial Ballistix Sport 16GB (DDR4-2400)   GPU: Asus Strix OC 980ti   Storage: 850pro 500gb, 850pro 500gb, 850pro 256gb, WD black 16tb total, Silicon Power S60 120GB   PSU: Seasonic snow silent 1050   Monitors: Three of Asus VG248QE 144Hz 24.0"

Link to post
Share on other sites
Posted · Original PosterOP
18 hours ago, Cvdasfg said:

I mean you can technically learn the basics on anything even notepad or physical paper... It really depends on what your looking to get out of it.

That's great, how do I download it ? I have Ubantu Budgie 32 bit. 

Link to post
Share on other sites
3 hours ago, soorma said:

That's great, how do I download it ? I have Ubantu Budgie 32 bit. 

First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below.

https://www.makeuseof.com/tag/start-programming-swift-ubuntu/

https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9

https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0


Desktop: i7-4790k Build - ALMOST COMPLETE Mobile: OnePlus 5T | Bell Unlimited National Calling & Texting + 10GB Data
Laptop: Dell XPS 15 9560 (the real 15" MacBook Pro that Apple didn't make) Tablet: HP Touchpad (Android) | ASUS ME302C
Camera: Canon SX280 + Rebel T1i (500D) | Sony HDR-AS50R | Panasonic DMC-TS20D Music: Spotify Premium (CIRCA '08)

Link to post
Share on other sites
Posted · Original PosterOP
11 hours ago, kirashi said:

First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below.

https://www.makeuseof.com/tag/start-programming-swift-ubuntu/

https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9

https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0

Thanks. I'll see if If I could just install a 64bit processor on that laptop. 

Link to post
Share on other sites
On 9/16/2018 at 6:53 PM, kirashi said:

First, you'll want to be running 64-bit Ubuntu if you want to write anything in 64-bit code, which is kind of a big deal in 2018, since all modern OS's are running in 64-bit mode now. There are plenty of guides on the internet if you simply Google for "swift ubuntu" so I linked the first few below.

https://www.makeuseof.com/tag/start-programming-swift-ubuntu/

https://gist.github.com/Azoy/8c47629fa160878cf359bf7380aaaaf9

https://medium.com/@agavatar/open-source-swift-on-ubuntu-linux-cd00e697dff0

Don't forget swift will natively compile down to either 32-bit or 64-bit depending on the architecture of the machine. An Int in swift will be whatever size the PC can hold. If you NEED one or the other you have to use Int32/Int64.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.


×