Want to learn how to code? We made an app for that!
We’re proud to announce that our Swift Exercise Platform is finally available for Swift 2.0. It was an exciting journey to get from the original idea to an actual product. We have learned a lot and we hope that you will enjoy using it. Now that we reached a stable version with some neat features and a healthy collection of exercises we have great plans to expand this platform.
Swift Programming from Scratch
After Swift was released we knew that a lot of people will want to make apps with it. We wanted to make an iOS course but we kept on hitting the same wall — there was no resource that will teach people enough programming to be able to make apps. We decided to make that resource — and more than everything — make it available for everyone — you can read the book and more about it here.
The book was designed using a principle named Cascading Information Theory, which is used in games. It gives the reader the minimum possible snippets of information to gain the appropriate level of understanding at each point during the book. The book gradually shows the use of keywords and new syntax giving you time to practice every one of them and get comfortable using it. Solving and understating the exercises from the book will teach you how to solve many of the problems you will be facing when developing apps.
Thanks to the people who give us feedback on their experience with the book we are constantly updating and polishing it. The most common request was more exercises — when we reached 100 exercises we were having doubts that people will enjoy solving so many problems. We were wrong! We are going to keep adding exercises to the book and sending you guys updates.
The Exercise Platform complements the book by giving feedback to the student, checking for common mistakes and testing out his source code. The app also keeps track of your progress and rewards you with achievements.
- Interactively learn the fundamentals of programming through 100+ exercises. Each exercise from the book is accompanied by a custom made playground that can evaluate your solution. Playgrounds make writing Swift code incredibly simple and fun. Type a line of code and get instant feedback. Our custom built playgrounds include problem statements, hints, examples and testing.
- Get helpful feedback on your solutions. Check if your solutions are correct directly from the playground. Our exercise platform analyses your solutions and tells you exactly what’s wrong.
- Keep track of your progress through stats and achievements. It’s important to have a sense of progression when you’re learning programming. Have an overview of how many exercises you solved every day and keep track of your progress over time.
- Get free periodic updates. We’ll increase the number of exercises over time, covering Swift 2.0 topics and adding more challenging exercises.
- Swift 2.0 support
How does the app evaluate my solutions ?
For each exercise we have a list of tests that your code has to pass in order to be considered correct. Before running the tests the platform checks for possible errors by analysing your code.
The platform tries to detect and inform you of the following mistakes you can make:
- Incorrect Output: The output of your program does not match with the expected one
- Typos: You acicdentally mistyped the name of a variable or function
- Missing variables: You did not declare some of the variables you were asked to declare
- Expected values: After running the code some variables did not have the expected value
- Missing functions: You did not declare some of the functions you were asked to declare
- Incorrect function definition: You defined a function but it’s signature is incorrect
- Runtime errors: Your code crashes on some input data — you’ll see the input that caused the crash
- Missing Enums: The code does not contain an enum you were asked to declare
- Non recursive functions: You were asked to implement a recursive function but your function is not recursive
- Missing function calls: You were asked to use certain functions to solve the problem but you never used them
Check out the recently updated demo app that includes the first two chapters.