Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMunir Yousef
123 PointsI dont have a mac but i want to learn swift on xcode. what can i do ?
Dont have a mac but want to learn swift
8 Answers
Jennifer Nordell
Treehouse TeacherCurrently, you can learn Swift without a Mac. But you cannot use Xcode without a Mac.
Brandon Mahoney
iOS Development with Swift Techdegree Graduate 30,149 PointsI've never tried it but on youtube there are a lot of videos that will show you how to run the mac operating system in windows with virtualization. Check the below link. Remember I've never done it just researched it a bit.
Patrick Donohoe
2,135 Pointsto begin with you don't need a mac. you can use an online swift compiler which works the same as a playground. Try this one: http://swiftstub.com/ as you progress to building an app you will need a mac though.
Frederico Graciano
Courses Plus Student 2,768 PointsI use VirtualBox on PC to run OS X El Capitan. I've been using for a while now, not for swift but I do have xcode there. I watched this video to learn how to install and everything: https://www.youtube.com/watch?v=7rM5iXOE7aI
If you need help or have any questions let me know.
Munir Yousef
123 PointsThank you for that info.
Deepa Subramanian
194 PointsI don't think you can have a Mac OS virtual image inside Windows OS. However, the vice versa is possible though.
Stuart Forrest
1,723 PointsIt is running macOS in a virtual environment is against Apple's policy also!!!
Janie Wayman
33 PointsWhy not just get a Mac? It's far easier, if you're super serious about it.
Munir Yousef
123 PointsMunir Yousef
123 PointsThank you for your answer