E-book details

Reactive Programming with Swift 4. Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9

Reactive Programming with Swift 4. Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9

Navdeep Singh

Ebook
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.
  • 1. A new upgrade is available : Swift 3 to Swift 4
  • 2. FRP fundamentals, terminology and basic building blocks
  • 3. Setup RxSwift and convert a basic Login app to its RxSwift counterpart
  • 4. When to become Reactive?
  • 5. Filter, Transform and Simplify
  • 6. Reduce by combining and filtering and common trade offs
  • 7. React to UI events: start subscribing
  • 8. RxTest and Custom Rx Extensions : Testing with Rx
  • 9. Testing your RxCode- testing Asynchronous code
  • 10. Schedule your tasks, don’t Queue!
  • 11. Subscribe to errors and save your app
  • 12. Functional and Reactive App-architecture
  • 13. Put your knowledge to practice : Finish a real world application
  • Title: Reactive Programming with Swift 4. Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9
  • Author: Navdeep Singh
  • Original title: Reactive Programming with Swift 4. Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9
  • ISBN: 9781787128781, 9781787128781
  • Date of issue: 2018-02-27
  • Format: Ebook
  • Item ID: e_1568
  • Publisher: Packt Publishing