Announcing the Advanced Swift Spring Fling!

We’re excited to announce the launch of three new books — and you can take advantage of our new Advanced Swift Spring book bundle! By Manda Frederick.

Save for later

It’s Spring once again, which means it’s time to take a fresh look at your bookshelf and grow your tutorial library!

To help you do this, we’re releasing three new books:

  • Realm: Building Modern Swift Apps with Realm Database: The perfect introduction to Realm Database and Realm Platform. Learn how to set up your first Realm database, see how to persist and read data, find out how to perform migrations and more.
  • Data Structures and Algorithms in Swift: Learn how to implement the most popular and useful data structures, and when and why you should use one particular data structure or algorithm over another.
  • Design Patterns by Tutorials: Explore the usefulness of design patterns, moving from the basic building blocks of patterns into more advanced patterns and completes the lesson with less common but incredibly useful patterns.

To celebrate these three books, we’re running a special event over the next two weeks: the Advanced Swift Spring Fling, where you can get all three books at a massive discount.

Over the next two weeks, we’ll be releasing some free chapters from our three new books so you can get a taste of what’s in store. We’re also running a giveaway where a few lucky readers can win themselves a copy of one of our new books!

And in keeping with the spirit of Spring, we’re running a time-limited sale to help you save some green:

  • Save a massive 40% over the regular price when you buy the three new books in our Advanced Swift Spring Bundle — that’s all three books for just $99.99!
  • Want to buy select books from the bundle? No problem. Save 10% on each of the new books when you buy them separately — that’s $49.49 each.

Here’s a quick overview of what’s in each book:

Data Structures and Algorithms in Swift

Learn how to implement the most common and useful data structures and algorithms in Swift!

Understanding how data structures and algorithms work in code is crucial for creating efficient and scalable apps. Swift’s Standard Library has a small set of general purpose collection types, yet they definitely don’t cover every case!

In Data Structures and Algorithms in Swift, you’ll learn how to implement the most popular and useful data structures and when and why you should use one particular datastructure or algorithm over another. This set of basic data structures and algorithms will serve as an excellent foundation for building more complex and special-purpose constructs. As well, the high-level expressiveness of Swift makes it an ideal choice for learning these core concepts without sacrificing performance.

  • You’ll start with the fundamental structures of linked lists, queues and stacks, and see how to implement them in a highly Swift-like way.
  • Move on to working with various types of trees, including general purpose trees, binary trees, AVL trees, binary search trees and tries.
  • Go beyond bubble and insertion sort with better-performing algorithms, including mergesort, radix sort, heap sort and quicksort.
  • Learn how to construct directed, non-directed and weighted graphs to represent many real-world models, and traverse graphs and trees efficiently with breadth-first, depth-first, Dijkstra’s and Prim’s algorithms to solve problems such as finding the shortest path or lowest cost in a network.
  • And much, much more!

By the end of this book, you’ll have hands-on experience solving common issues with data structures and algorithms — and you’ll be well on your way to developing your own efficient and useful implementations.

This book is in early access; the complete digital edition will be released in Late Spring 2018.

We’ll be releasing two free chapters from this book this week on Wednesday and Friday to help give you a taste of what’s inside.

“Whether you want to ace your next coding interview, or use Swift successfully in competitions on HackerRank, or want to make sure your Swift code is well designed and scalable, this is the right book for you. The authors explain data structures and algorithms with diagrams and examples and explain the Swift code implementation step by step.” – Christina Bharara

About the Authors

Kelvin Lau is a physicist turned Swift-iOS Developer. While he’s currently entrenched with iOS development, he often reminisces of his aspirations to be part of the efforts in space exploration. Outside of programming work, he’s an aspiring entrepreneur and musician. You can find him on Twitter: @kelvinlauKL.

Vincent Ngo is a software developer by day, and an iOS-Swift enthusiast by night. He believes that sharing knowledge is the best way to learn and grow as a developer. Vincent starts every morning with a homemade green smoothie in hand to fuel his day. When he is not in front of a computer, Vincent is training to play in small golf tournaments, doing headstands at various locations while on a hiking adventure, or looking up how to make tamago egg. You can find him on Twitter: @vincentngo2.

Realm: Building Modern Swift Apps with Realm Database

Create powerful, reactive iOS apps with Realm Database and Realm Cloud!

Realm finds the sweet spot between the simplicity of storing data as JSON on disk and using heavy, slow ORMs like Core Data or similar that are built on top of SQLite. The Realm Database aims to be fast, performant and provide the commodities that mobile developers need such as working with objects, type-safety, and native notifications.

Realm Database has been under active development for several years. It powers apps by some of the biggest names in the App Store, including Adidas, Amazon, Nike, Starbucks, BBC, GoPro, Virgin, Cisco, Groupon and many more who have chosen to develop their mobile apps with Realm.

Realm Platform is a relatively new commercial product which allows developers to automatically synchronize data not only across Apple devices but also between any combination of Android, iPhone, Windows, or macOS apps. Realm Platform allows you to run the server software on your own infrastructure and keep your data in-house which more often suits large enterprises. Alternatively you can use Realm Cloud which runs a Platform for you and you start syncing data very quickly and only pay for what you use.

In this book, you’ll do the following:

  • Learn how easy it is to set up your first Realm database.
  • See how to persist and read data under the CRUD model.
  • Discover how to work with Realm configurations.
  • Design smart and responsive migrations for your Realms.
  • Create a Realm Cloud instance and sync your data in real time, across all devices, anywhere.

We’ll be releasing a free chapter from this book on Monday, April 23, to help you get started with Realm Database and see what the book’s all about!

“I enjoyed the book [Realm: Building Modern Swift Apps with Realm Database] and learned much from it. The book shed light on a long time mystery. Despite the fact we previously worked with Realm never before it was so accessible and easy to understand. Book is full with down-to-earth, to-the-core, beautiful explanation, diagrams and code samples. Great to dive in to and great to keep at your desk for easy reference.” – Michal Shatz

About the Author

Marin Todorov is the author of this book. Marin is one of the founding members of the team and has worked on seven of the team’s books. Besides crafting code, Marin also enjoys blogging, teaching, and speaking at conferences. He happily open-sources code. You can find out more about Marin at

Design Patterns by Tutorials

Learn design patterns with Swift!

Design patterns are incredibly useful, no matter what language or platform you develop for. Using the right pattern for the right job can save you time, create less maintenance work for your team and ultimately let you create more great things with less effort.

Every developer should absolutely know about design patterns and how and when to apply them. That’s what you’re going to learn in this book!

  • Start with the basic building blocks of patterns such as MVC, Delegate and Strategy.
  • Move into more advanced patterns such as the Factory, Prototype and Multicast Delegate pattern.
  • Finish off with some less-common but still incredibly useful patterns including Flyweight, Command and Chain of Responsibility.

And not only does Design Patterns by Tutorials cover each pattern in theory, but you’ll also work to incorporate each pattern in a real-world app that’s included with each chapter. Learn by doing, in the step-by-step fashion you’ve come to expect in the other books in our by Tutorials series.

This book is in early access; the complete digital edition will be released in Late Spring 2018.

We’ll be releasing a free chapter from this book on Wednesday, April 25, to help you discover what the book has in store for you!

“The book all iOS and macOS developers have all been waiting for: Design Patterns by Tutorials is the best of the wisdom of that gang of four written in Swift. Need a singleton that’s ready to try in a playground, along with clear guidance about how to use it and not misuse it? This is your essential guide.” – Mark W. Powell

About the Authors

Joshua Greene is an experienced iOS developer who loves creating elegant apps. When he’s not slinging code, he enjoys martial arts, Netflix and spending time with his wonderful wife and two daughters. You can reach him on Twitter at @jrg_developer.

Jay Strawn is a former librarian and is passionate about languages both human and code based. When she’s not working as a developer, Jay enjoys being an ESL conversation partner and reading zines.

Advanced Swift Spring Bundle

To celebrate the launch of our new advanced Swift books, we’re offering a special bundle where you can get all three books at a massive discount!

Our new Advanced Swift Spring Bundle includes all three books in PDF/ePub format, with all source code included:

  • Realm: Building Modern Swift Apps with Realm Database
  • Data Structures and Algorithms in Swift
  • Design Patterns by Tutorials

That’s a $164.97 value — but you can get all three books for just $99.99 in the Advanced Swift Spring Bundle! But don’t wait: this bundle deal is only good until Friday, April 27.

Advanced Swift Spring Fling Giveaway

To celebrate the Spring Fling, we’re giving away three Advanced Swift Spring Bundles to some lucky readers!

To enter the giveaway, simply leave a comment below and answer the following question:

What are you most excited about in our new book lineup?

We’ll select three winners at random who leave a comment below before Friday, April 27. Get your entries in early!

Where to Go From Here?

To recap, here’s the schedule of events for the Advanced Swift Spring Fling:

  • April 16: Design Patterns, Data Structures, and Realm books launched
  • April 18: Free chapter from Data Structures and Algorithms in Swift
  • April 20: Swift Algorithm Club post
  • April 23: Free chapter from Realm: Building Modern Swift Apps with Realm Database
  • April 25: Free chapter from Design Patterns by Tutorials
  • April 27: Giveaway and Last Day for Discount!

If you are comfortable with Swift and iOS development and want to take your development skills to the next level, there’s no better way to do that than through the Advanced Swift Spring Bundle.

Don’t miss out on your chance to grab this bundle of three books for just $99.99 — that’s a massive savings of 40% off of the regular price! This bundle pricing is only available until Friday, April 27, 2018, so grab this great discount while you can.

We truly appreciate the support of all our readers; you help make everything we do here at possible. Thanks for your support — and don’t forget to leave a comment below to enter the giveaway!