Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Reactive Programming with Swift 4

You're reading from   Reactive Programming with Swift 4 Build asynchronous reactive applications with easy-to-maintain and clean code using RxSwift and Xcode 9

Arrow left icon
Product type Paperback
Published in Feb 2018
Publisher Packt
ISBN-13 9781787120211
Length 320 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Navdeep Singh Navdeep Singh
Author Profile Icon Navdeep Singh
Navdeep Singh
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Migrating from Swift 3 to Swift 4 FREE CHAPTER 2. FRP Fundamentals, Terminology, and Basic Building Blocks 3. Set up 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. Finish a Real-World Application 14. Other Books You May Enjoy

Binding UI elements in practice

In this section, we will work with a real-world application to show UI binding in real-world apps and how you can integrate it in your existing projects or in the apps that you make from scratch.

So far, from the previous chapters, we know how to set up podfile in an Xcode project and how to install the required pod files. In the upcoming project, we will require RxSwift and RxCocoa to start with. Since we have done the installation and project setup so many times until now, we will start with a starter project in this section. The link for the starter project is here:

https://github.com/NavdeepSinghh/Chapter-7-Starter

Clone or download the project from GitHub; build it so that the Cocoapods libraries are available, and you should be good to go.

Once the starter project is set up, you can see that we have a ViewContoller linked to a storyboard View...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image