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 trial

iOS Swift 2.0 Collections and Control Flow Introduction to Collections Arrays

My computer does not have an OSX and I am trying to use the online workspace but I do not see an environment for swift!!

Please help me by showing me how I can make use of the workspace to go along with the instructor.

6 Answers

Nathan Tallack
Nathan Tallack
22,160 Points

Right now the only IDE (integrated development environment) for Swift is Xcode. And Xcode only runs on OSX. So you will not be able to develop for the IOS or OSX platforms without an OSX workstation to run Xcode on.

That being said, the Swift language itself is now open sourced, so you could download it to a supported linux environment and write and compile Swift source code. But this would not allow you to easily develop for the IOS or OSX platforms as there is no IDE to help you integrate the frameworks and integrate with the App Store for distribution and sale.

So sadly you are going to need an OSX workstation before you can progress for now.

That being said, have you considered developing for the Android platform? You can do that without an OSX workstation. And many of the skillsets and techniques you learn there for mobile platform user interface development easily translate to the IOS platform at a later date. :)

Hello Abdijabar,

A couple solutions would be to use Silver on your computer if it's running Windows, or you could run OSX on a virtual machine with VMWare or the like (it will probably run fairly slowly though), or try an online compiler.

TeamTreeHouse doesn't offer a workspace for Swift, though.

macincloud.com

you can "rent" OSX and pay hourly or monthly on any laptop (as far as I know). access to all features you will need.

You can use VisualStudio (IDE from Microsoft) for studying of Swift language, but not for iOS development with Swift language. The only right way - to get the Mac OS

Tito Campos
Tito Campos
5,183 Points

Workspace is just like a Playground for all kinds of codes so it's limited to exercises Treehouse has builded. You will need to get hardware and software by yourself to work in the environment and have access to all tools.