Write Swift code directly on your iPhone, iPad and iPod Touch! This app supports the latest Swift syntax and it is ideal for learning and testing code snippets!

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, Linux, and z/OS. Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of existing Objective-C code written for Apple products. It is built with the open source LLVM compiler framework.

- Compile and run your program
- View program output or detailed error
- Custom keyboard for easy input of frequently used characters
- Optimized for connecting with external physical/bluetooth keyboard
- Advanced source code editor with syntax highlighting, bracket completion and line numbers
- Open, save, import and share Swift files. Supports File Sharing with iTunes Connect, AIrDrop and iCloud.
- Language reference

- Internet connection is required for compilation
- Maximum program running time is 20s
- Some file system, network and graphics functions may be limited
- This is a batch compiler; interactive programs are not supported. For example, if your program provides an input prompt, enter the input in the Input tab prior to compilation.

What’s New

Version 3.0.3

Bug fixes and performance improvement

Ratings and Reviews

4.0 out of 5
33 Ratings

33 Ratings

BurberryKid ,

Semi Functional

It is useful for learning the basics like assigning values to arrays, indexing, etc. building basic functions. It didn’t however have a random number generator. I tried to shuffle an array using arc4random_uniform() but it wouldn’t let me. I’m still a beginner so it could be user error too.

Developer Response ,

Hello, thank you for your review! The compiler runs on a Linux server where Swift does not support arc4random_uniform(). A workaround is found here:

PatFuriousFan1158 ,

Inbox needs fixing

I have used your app and it is great.... except when I try to open an imported project it says to move it out of inbox. However, there seems to be no way to do this. Please fix this.

Developer Response ,

Please follow the following to move the file out of the Inbox:

Somery ,

A decent simulator with a lot of potential

I have been looking for a compiler type simulator app for Swift to play around in learning beginner concepts and syntax. I agree that it was difficult to edit at first but I click edit then cancel and it resets the text editing. I see good potential for the first compiler simulator for Swift in iPhone AppStore. Looking forward to updates. I'll contribute by paying for ad removal

Just wanted to add that I've been happy with this app more and more. There's a decent reference for syntax but with practice now I don't need it for switches, declaring dictionaries, arrays, variables, and more since things like syntax in Swift seem to follow a nice predictable pattern. I have read the Swift manual from iBooks to get the full grasp of this but actually typing without reference was more difficult. This helped me type it out and test usability without having a MacBook. Also the error messages are helpful when learning optionals. Sometimes I was force unwrapping the wrong parts of the statements. Thank you!

App Privacy

The developer, Ketan Appa, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Linked to You

The following data may be collected and linked to your identity:

  • Location
  • Identifiers
  • Usage Data
  • Diagnostics

Privacy practices may vary, for example, based on the features you use or your age. Learn More


  • Family Sharing

    With Family Sharing set up, up to six family members can use this app.

More By This Developer

You May Also Like