Reactive Programming with Swift 4

Learn how to solve blocking user experience and build event based reactive applications with Swift.
Preview in Mapt

Reactive Programming with Swift 4

Navdeep Singh
New Release!

Learn how to solve blocking user experience and build event based reactive applications with Swift.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
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 Mapt 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 Mapt 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 Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Reactive Programming with Swift 4 Book Cover
Reactive Programming with Swift 4
$ 35.99
$ 10.00
Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 10.00
Buy 2 for $20.00
Save $47.98
Add to Cart

Book Details

ISBN 139781787120211
Paperback320 pages

Book Description

RxSwift belongs to a large family of Rx implementations in different programming languages that share almost identical syntax and semantics. Reactive approach will help you to write clean, cohesive, resilient, scalable, and maintainable code with highly configurable behavior.

 This book will introduce you to the world of reactive programming, primarily focusing on mobile platforms. It will tell how you can benefit from using RxSwift in your projects, existing or new. Further on, the book will demonstrate the unbelievable ease of configuring asynchronous behavior and other aspects of the app that are traditionally considered to be hard to implement and maintain. It will explain what Rx is made of, and how to switch to reactive way of thinking to get the most out of it. Also, test production code using RxTest and the red/ green approach. Finally, the book will dive into real-world recipes and show you how to build a real-world app by applying the reactive paradigm.

By the end of the book, you’ll be able to build a reactive swift application by leveraging all the concepts this book takes you through.

Table of Contents

Chapter 1: Migrating from Swift 3 to Swift 4
What's new in Swift 4?
Summary
Chapter 2: FRP Fundamentals, Terminology, and Basic Building Blocks
Functional reactive programming
Summary
Chapter 3: Set up RxSwift and Convert a Basic Login App to its RxSwift Counterpart
RxSwift in action
Summary
Chapter 4: When to Become Reactive?
Creating and subscribing to Observables
Understanding traits and its types
Summary
Chapter 5: Filter, Transform, and Simplify
Working with events using operators
Filtering operators
Summary
Chapter 6: Reduce by Combining and Filtering and Common Trade Offs
Combining and filtering Observable sequences
Concatenating and prefixing
Summary
Chapter 7: React to UI Events – Start Subscribing
RxCocoa traits
Binding UI elements in practice
Summary
Chapter 8: RxTest and Custom Rx Extensions – Testing with Rx
Testing in RxSwift
Summary
Chapter 9: Testing Your RxCode – Testing Asynchronous Code
Tracking down issues – Debugging Rx code
Summary
Chapter 10: Schedule Your Tasks, Don't Queue!
Queues and schedulers
Summary
Chapter 11: Subscribe to Errors and Save Your App
Error handling
Summary
Chapter 12: Functional and Reactive App-Architecture
Design patterns
Summary
Chapter 13: Finish a Real-World Application
Networking in RxSwift
Summary

What You Will Learn

  • Understand the practical benefits of Rx on a mobile platform
  • Explore the building blocks of Rx, and Rx data flows with marble diagrams
  • Learn how to convert an existing code base into RxSwift code base
  • Learn how to debug and test your Rx Code
  • Work with Playgrounds to transform sequences by filtering them using map, flatmap and other operators
  • Learn how to combine different operators to work with Events in a more controlled manner.
  • Discover RxCocoa and convert your simple UI elements to Reactive components
  • Build a complete RxSwift app using MVVM as design pattern

Authors

Table of Contents

Chapter 1: Migrating from Swift 3 to Swift 4
What's new in Swift 4?
Summary
Chapter 2: FRP Fundamentals, Terminology, and Basic Building Blocks
Functional reactive programming
Summary
Chapter 3: Set up RxSwift and Convert a Basic Login App to its RxSwift Counterpart
RxSwift in action
Summary
Chapter 4: When to Become Reactive?
Creating and subscribing to Observables
Understanding traits and its types
Summary
Chapter 5: Filter, Transform, and Simplify
Working with events using operators
Filtering operators
Summary
Chapter 6: Reduce by Combining and Filtering and Common Trade Offs
Combining and filtering Observable sequences
Concatenating and prefixing
Summary
Chapter 7: React to UI Events – Start Subscribing
RxCocoa traits
Binding UI elements in practice
Summary
Chapter 8: RxTest and Custom Rx Extensions – Testing with Rx
Testing in RxSwift
Summary
Chapter 9: Testing Your RxCode – Testing Asynchronous Code
Tracking down issues – Debugging Rx code
Summary
Chapter 10: Schedule Your Tasks, Don't Queue!
Queues and schedulers
Summary
Chapter 11: Subscribe to Errors and Save Your App
Error handling
Summary
Chapter 12: Functional and Reactive App-Architecture
Design patterns
Summary
Chapter 13: Finish a Real-World Application
Networking in RxSwift
Summary

Book Details

ISBN 139781787120211
Paperback320 pages
Read More

Read More Reviews

Recommended for You

Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 10.00
Mastering Swift 4 - Fourth Edition Book Cover
Mastering Swift 4 - Fourth Edition
$ 35.99
$ 10.00
Swift 4 Protocol-Oriented Programming - Third Edition Book Cover
Swift 4 Protocol-Oriented Programming - Third Edition
$ 31.99
$ 10.00
Mastering iOS 11 Programming - Second Edition Book Cover
Mastering iOS 11 Programming - Second Edition
$ 35.99
$ 10.00
Learn iOS 11 Programming with Swift 4 - Second Edition Book Cover
Learn iOS 11 Programming with Swift 4 - Second Edition
$ 39.99
$ 10.00
Hands-On Full-Stack Development with Swift Book Cover
Hands-On Full-Stack Development with Swift
$ 35.99
$ 10.00