Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Reactive Programming with Swift 4
  • Table Of Contents Toc
  • Feedback & Rating feedback
Reactive Programming with Swift 4

Reactive Programming with Swift 4

By : Singh
4.4 (5)
close
close
Reactive Programming with Swift 4

Reactive Programming with Swift 4

4.4 (5)
By: Singh

Overview of this book

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 (15 chapters)
close
close
Lock Free Chapter
1
Migrating from Swift 3 to Swift 4
2
FRP Fundamentals, Terminology, and Basic Building Blocks
3
Set up RxSwift and Convert a Basic Login App to its RxSwift Counterpart
8
RxTest and Custom Rx Extensions – Testing with Rx
10
Schedule Your Tasks, Don't Queue!
11
Subscribe to Errors and Save Your App
12
Functional and Reactive App-Architecture

Working with events using operators

RxSwift offers a range of operators that provide immense control over how you want to work with the data and events in your application. In subsequent sections, we will cover different operators in theory and then write some code to exercise the knowledge. In the coming chapters, we will learn how to combine these operators to maximize their use to our benefit.

One of the most important categories of operators is transforming operators and in the next section we will learn how to work with this category of operators.

Environment setup

Before we go ahead and start working with code, we need to set up the project for this chapter. This process is similar to the one we followed in earlier chapters...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Reactive Programming with Swift 4
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon