30DaysofSwift
A self-taught project to learn Swift.
A portfolio of 30 small Swift iOS projects built by a product designer learning to code in 30 days, each showing a specific UI effect or feature with source code and an animated preview, great for Swift beginners.
30 Days of Swift is a personal learning project by Allen Wang, a product designer who set out to teach himself Apple's Swift programming language by building one small app or feature every day for 30 days. The repository contains the finished code for all 30 mini-projects, each in its own folder.
The projects are small, focused exercises that each demonstrate a specific iOS feature or interface pattern. Examples include a simple stopwatch, a video background screen, a pull-to-refresh control, a login animation, an emoji slot machine, a slide-out menu, and a mosaic layout for image grids, among others. Each project comes with an animated GIF in the README showing what it looks like when running on a device.
This is not a library or tool intended for use in other projects. It is a portfolio of completed exercises from a structured self-study challenge. Wang was inspired by a similar project called 100 Days of Swift by Sam Lu, which he credits in the README.
The repository would be most useful to someone who is also learning Swift or iOS development and wants to see short, concrete examples of how specific effects and interface components work. Each project is small enough to read through and understand without much surrounding context.
Where it fits
- Browse working Swift examples of specific iOS effects like login animations or slide-out menus to copy into your own app
- Follow along as a beginner and replicate each 30-day mini-project to build iOS skills one small step at a time
- Use the stopwatch, emoji slot machine, or pull-to-refresh examples as starting templates for your first iOS app features