Swift in Action: A Project-Based Introduction to Swift Programming

Swift eBook Mockup

Master Swift Through Real-World Projects

Ready to build real iOS apps? This book teaches you Swift with a hands-on, project-based approach — guiding you through real-world projects that apply everything you learn.

From building sleek UIs to integrating APIs, you’ll gain the skills to tackle real development challenges. Plus, we’ve included bonus chapters on testing to make sure your apps are reliable:

  • Unit Testing & TDD: Write efficient, bug-free code.
  • UI Testing: Ensure your interfaces work seamlessly.
  • Continuous Integration: Automate testing and deployment.

By the end, you’ll be equipped to create, test, and deploy professional iOS apps. Start mastering Swift today!

Andreas Braumann

Andreas Braumann

The author is a seasoned content creator and expert in AI and ChatGPT technologies. With a background as a Canva Engineering alumnus, he combines his technical acumen with creative flair to produce engaging, innovative content. Andreas is passionate about leveraging AI to enhance digital experiences and drive impactful storytelling.

Book Outline

Introduction

  • Overview of Swift
  • What You'll Learn
  • Setting Up Your Environment

Swift Basics

  • Chapter 1: Hello, Swift! (Building a Simple "Hello, World!" App)
  • Chapter 2: Working with Data (Building a Simple Calculator)
  • Chapter 3: Collections and Control Flow (Creating a To-Do List)

Intermediate Swift Concepts

  • Chapter 4: Functions and Closures (Building a Unit Converter)
  • Chapter 5: Structs and Classes (Creating a Simple Quiz App)
  • Chapter 6: Protocols and Extensions (Building a Contact Manager)

Building Complete iOS Apps

  • Chapter 7: User Interfaces with SwiftUI (Building a Weather App)
  • Chapter 8: Networking and APIs (Creating a Movie Browser App)
  • Chapter 9: Persistence and Core Data (Building a Notes App)

Advanced Swift

  • Chapter 10: Animations and Gestures (Creating a Simple Drawing App)
  • Chapter 11: Multithreading and Concurrency (Developing a Photo Gallery App)
  • Chapter 12: Testing and Debugging (Building a Simple Task Tracker)

Final Project

  • Chapter 13: Bringing It All Together (Developing a Full-Featured Social Media App)

Bonus Chapters (Testing)

  • Bonus Chapter 14: Unit Testing and Test-Driven Development (Building a Unit Conversion App)
  • Bonus Chapter 15: UI Testing (Building a Login App)
  • Bonus Chapter 16: Continuous Integration (Setting Up CI for a Task Management App)

Part 5: Final Project

  • Chapter 13: Bringing It All Together (Developing a Full-Featured Social Media App)

Conclusion

  • Wrapping Up
  • Next Steps

Read the Introduction and First Chapter

The preview is only available for signed-in users.

Sign Up