This course is available as part of the raywenderlich.com Professional subscription. To learn more click here
Pro

Beginning RxSwift

Apr 24 2018 · Video Course (3 hrs, 29 mins) · Intermediate

Learn the fundamentals of reactive programming with RxSwift.

Version

  • Swift 4, iOS 11, Xcode 9

Getting Started with RxSwift

Introduction

5:01 Free

Let's review what you will be learning in this course, beginning with a brief history of RxSwift.

1

Learn what are the goals of RxSwift, compare the pros and cons of learning and using RxSwift, and become familiar with the foundation of RxSwift: the observable.

2

See how to install RxSwift in an Xcode project using CocoaPods, and how to add a playground to a project.

3

Go over several operators you can use to create observables from individual values and collections of values.

4

Learn how to subscribe to an observable, and how to manage memory by using dispose bags.

5

Continue learning how to subscribe to observables and see how to make an observable emit an error event to subscribers.

6

Get introduced to the do operator for performing side effects, and then use the do operator in an example from the previous video.

7

Find out how Subjects can receive new elements and emit new events to subscribers at runtime.

8

Continue learning about using Subjects and see how to use Variables for a similar purpose but with some added conveniences.

9

Put your new skills to work by creating a reactive algorithm to deal hands of blackjack.

10

Get an overview of your first iOS project, Combinestagram, and then apply what you've learned so far to Rx-ify it.

11

Continue incorporating use of RxSwift in Combinestagram and see how to create your own custom observable to save images to disk.

12

Conclusion

0:31

Review what you learned in this section, and find out how you'll apply that knowledge throughout the rest of the course.

13

Filtering Observables

Learn why you'd use filtering operators, and see an example of how to chain filtering and other kinds of operators together to perform complex operations.

14

See how to use filtering operators to apply conditional constraints to next events and only pass through the elements you want to subscribers.

15

In this challenge, you'll use filtering operators to create a utility that looks up phone numbers in a sample data set.

16

Improve the Combinstagram app with filtering operators, and learn how to enable multiple subscribers to consume the elements from a single observable.

17

Continue improving the Combinestagram app by creating a custom filtering operator to handle the authorization status for access to the Photos library.

18

Find out how to manage threads in RxSwift and get an introduction to using timing operators to filter consecutive input.

19

In this challenge you'll use sharing, throttling, and schedulers to optimize and finish up Combinestagram.

20

Conclusion

0:32

Wrap up on what you learned in this section and see how you'll continue to build up your repertoire of RxSwift in the next section.

21

Transforming Observables

Kickoff your introduction to learning about most one of most important categories of operators in RxSwift.

22

Review concepts and go through several examples of putting the most widely-used transforming operators in RxSwift to work.

23

Improve upon the phone number lookup utility from earlier but including the use of transforming operators.

24

Get introduced to RxCocoa and understand how it applies RxSwift concepts and patterns to provide APIs for working with Cocoa and Cocoa Touch.

25

Apply what you've learned about transforming operators to implement the necessary functionality of the GitFeed app.

26

Continue working on the GitFeed app from the previous video by implementing a way to retrieve saved data.

27

Modify GitFeed to make it more useful and interesting, by finding the top trending Swift repos instead and displaying their combined activity.

28

Conclusion

0:33

Review what you learned in this section and see what's in store for you next as you continue to level up your Rx game.

29

Combining Observables

Get introduced to what you will be learning about in this part: joining observable sequences together.

30

In this video you'll learn how to use a wide variety of operators to prepend, join, and merge observables.

31

In this video you'll continue working with combining operators to merge, choose between, and accumulate observables.

32

Get additional hands-on experience working with two commonly used combining operators to improve upon an example from the previous video.

33

Apply everything you've learned in this course so far to implement the functionality for an app that resembles how you would use RxSwift in your own app projects.

34

Continue implementing the functionality for Our Planet, beginning with how to fetch data from the EONET public API.

35

In this video you'll see how to improve Our Planet to retrieve data more efficiently by fetching in parallel.

36

Finish implementing Our Planet by incrementally updating the UI with data coming back from parallel fetching.

37

Add some polish to Our Planet by appropriately showing and hiding the activity indicator for network activity.

38

Conclusion

1:46

Wrap up this course by reviewing what you learned, and get some handy resources to continue the learning on your path to Jedi mastery of RxSwift.

39

Contributors

Comments