Opening the iTunes Store.If iTunes doesn't open, click the iTunes application icon in your Dock or on your Windows desktop.Progress Indicator
Opening Apple Books.If Apple Books doesn't open, click the Books app in your Dock.Progress Indicator

iTunes is the world's easiest way to organize and add to your digital media collection.

We are unable to find iTunes on your computer. To download from the iTunes Store, get iTunes now.

Already have iTunes? Click I Have iTunes to open it now.

I Have iTunes Free Download

Swift Design Patterns

Hacking with Swift - Learn smart, idiomatic ways to design great Swift apps

This book can be downloaded and read in Apple Books on your Mac or iOS device.


Learn smart, idiomatic techniques to design great Swift apps, from using MVC effectively through to MVVM, delegation, protocols, and more.

All platforms: This book teaches patterns you can use whether you work on iOS, macOS, watchOS, or any other platform that uses Swift.

Swift 4.2: Don't waste time with out of date tutorials – here you can learn powerful, expressive Swift the way it was meant to be written.

Hands on: All patterns come with practical, real-world code examples so you can see why they are useful and apply them in your own work.

Full coverage: Over 20 design patterns are covered in detail, so you can try them all and find what works best for your own projects.

Swift Design Patterns will teach you how to write cleaner, more maintainable apps. Drawing examples from Cocoa, Cocoa Touch, and other key Apple frameworks, you'll learn how to design elegant apps that are easier to read, easier to scale, and easier to test.

The book includes over 20 of the most important design patterns for Swift developers, including:

- The model-view-controller pattern that lies at the heart of all Apple platforms, plus MVVM as a viable alternative.

- Extensions, protocols, and protocol extensions that let you architect your code horizontally.

- Notifications, selectors, and the target/action pattern to control code without increasing coupling.

- Observers, accessors, keypaths, and delegation so you can monitor values and respond when they change.

- Archiving data using the Codable protocol.

- Singletons for working with shared resources.

- And more!

If want to improve the way you architect your Swift apps, this is the book for you.


screenshot 1
screenshot 2
screenshot 3
screenshot 4
screenshot 5
Swift Design Patterns
View in iTunes
  • $39.99
  • Available on iPhone, iPad, iPod touch, and Mac.
  • Category: Programming
  • Published: Jan 25, 2018
  • Publisher: Paul Hudson
  • Seller: Paul Hudson
  • Print Length: 271 Pages
  • Language: English
  • Series: Hacking with Swift
  • Requirements: This book can only be viewed on an iOS device with Apple Books on iOS 12 or later, iBooks 1.3.1 or later and iOS 4.3.3 or later, or a Mac with iBooks 1.0 or later and OS X 10.9 or later.

Customer Ratings

We have not received enough ratings to display an average for this book.