Join Jon Bott for an in-depth discussion in this video Grouping tasks, part 1, part of RxSwift: Design Patterns for iOS Developers.
- [Instructor] So we've looked at…using URL session data tasks to load data,…we've looked at RxAlamofire,…and there's one other path that we can go…for really complex endpoints,…calling APIs, running huge tasks.…If you have multiple tasks…and you want to sync them together,…you can use observables to do this.…If you are running all this on your machine…or in different threads,…you can just use a dispatch group.…But when you're hitting endpoints and APIs,…those will return back…and your dispatch group will not work.…
So unfortunately Grand Central Dispatch…is not going to be able to help us with this,…but again, with observables we can do this.…So let's first go to the network layer.…And we've not really done a lot in this class…other than that RxAlamofire extension,…but I'm going to put a few tasks in here.…We're going to create a task or a thing of code…that is going to be long running…that we don't know how long it would take to get back to us.…You would think of like this as a network call…as a great example.…
- 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.