Hands-On Design Patterns with Swift

From learning about the most sought-after design patterns to a comprehensive coverage of architectural patterns and code testing, this book is all you need to write clean, reusable code

Hands-On Design Patterns with Swift

Florent Vilmart, Giordano Scalzo, Sergio De Simone
New Release!

From learning about the most sought-after design patterns to a comprehensive coverage of architectural patterns and code testing, this book is all you need to write clean, reusable code
Packt Subscription
$5.00
$9.99/m after first month
eBook
$5.00
RRP $35.99
Save 86%
Print + eBook
$44.99
RRP $44.99
What do I get with a Packt subscription?
  • Exclusive monthly discount - no contract
  • Unlimited access to entire Packt library of 6500+ eBooks and Videos
  • 120 new titles added every month, on new and emerging tech
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$5.00
$5.00
$44.99
$9.99/m after first month
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Subscribe Now

Frequently bought together


Hands-On Design Patterns with Swift Book Cover
Hands-On Design Patterns with Swift
$ 35.99
$ 5.00
Blender Quick Start Guide Book Cover
Blender Quick Start Guide
$ 23.99
$ 5.00
Buy 2 for $10.00
Save $49.98
Add to Cart

Book Details

ISBN 139781789135565
Paperback414 pages

Book Description

Swift keeps gaining traction not only amongst Apple developers but also as a server-side language. This book demonstrates how to apply design patterns and best practices in real-life situations, whether that's for new or already existing projects.

You’ll begin with a quick refresher on Swift, the compiler, the standard library, and the foundation, followed by the Cocoa design patterns – the ones at the core of many cocoa libraries – to follow up with the creational, structural, and behavioral patterns as defined by the GoF. You'll get acquainted with application architecture, as well as the most popular architectural design patterns, such as MVC and MVVM, and learn to use them in the context of Swift. In addition, you’ll walk through dependency injection and functional reactive programming. Special emphasis will be given to techniques to handle concurrency, including callbacks, futures and promises, and reactive programming. These techniques will help you adopt a test-driven approach to your workflow in order to use Swift Package Manager and integrate the framework into the original code base, along with Unit and UI testing.

By the end of the book, you'll be able to build applications that are scalable, faster, and easier to maintain.

Table of Contents

Chapter 12: Futures, Promises, and Reactive Programming

What You Will Learn

  • Work efficiently with Foundation and Swift Standard library
  • Understand the most critical GoF patterns and use them efficiently
  • Use Swift 4.2 and its unique capabilities (and limitations) to implement and improve GoF patterns
  • Improve your application architecture and optimize for maintainability and performance
  • Write efficient and clean concurrent programs using futures and promises, or reactive programming techniques
  • Use Swift Package Manager to refactor your program into reusable components
  • Leverage testing and other techniques for writing robust code

Authors

Table of Contents

Chapter 12: Futures, Promises, and Reactive Programming

Book Details

ISBN 139781789135565
Paperback414 pages
Read More

Read More Reviews

Recommended for You

Blender Quick Start Guide Book Cover
Blender Quick Start Guide
$ 23.99
$ 5.00
Vue.js Quick Start Guide Book Cover
Vue.js Quick Start Guide
$ 23.99
$ 5.00
Data Science Algorithms in a Week - Second Edition Book Cover
Data Science Algorithms in a Week - Second Edition
$ 31.99
$ 5.00
Data Visualization with Python Book Cover
Data Visualization with Python
$ 35.99
$ 5.00
Applied Data Science with Python and Jupyter Book Cover
Applied Data Science with Python and Jupyter
$ 23.99
$ 5.00
Hands-On Design Patterns with React Native Book Cover
Hands-On Design Patterns with React Native
$ 31.99
$ 5.00