Join Jon Bott for an in-depth discussion in this video Observable types, part of RxSwift: Design Patterns for iOS Developers.
- [Instructor] Observable types are like onions,…they have layers.…There are three types of Observables to work with:…Variable, Subjects, and Observables.…Deep down inside, they're all really just a special case…of Observable and Variables are the easiest to work with,…Subjects are a little more difficult,…but an actual Observable is typically only used…in complex tasks, such as chaining dependent network calls…or something like that.…Again, Variables are the easiest piece to work with…and often are the best solution for 90% of your needs.…
They give us the ability to get…and set just like a regular variable in Swift,…and you can even think of them…as just a normal variable,…but one that you can subscribe to changes on it,…if you want.…These are also known as a type of Hot Observable,…which means events may have already happened…before you started subscribing.…You won't get any of those other events,…but you will get the last events value…or the default value when you first subscribe.…The last thing to know is,…
- RxSwift syntax
- Creating simple observables
- Architecting the model layer
- Using Core Data
- Grouping tasks
- Changing UI
- Threading in the model and UI
Skill Level Intermediate
Learning Server-Side Swift Using IBM Kiturawith Mohammad Azam1h 51m Intermediate
Swift 4: Protocol-Oriented Programmingwith Károly Nyisztor1h 44m Intermediate
Swift: Writing Reusable Frameworkswith David Okun1h 49m Intermediate
1. The Basics
2. Model Layer
3. Presenter and View
Next steps1m 17s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.