Join Scott Gardner for an in-depth discussion in this video Networking: Part 1, part of Reactive Programming in iOS with RxSwift.
- [Voiceover] We can't do much in an app these days…without interacting with a remote server.…Fortunately, RxSwift offers useful extensions…for working with NSURLSession API,…and there are some excellent community…networking libraries available for RxSwift too,…including RxAlamofire and Moya,…both which utilize Alamofire under the hood.…That make writing networking code…every bit as enjoyable as it should be.…I'm going to go through a pretty standard example here…of creating a type ahead search app of GitHub repositories…for a GitHub user ID.…
I think this has become the hello world app these days.…I'm starting out in a single view app with a table view.…In the view controller, I've created a search controller,…and I've configured it,…and added the search bar as the table view's table header.…And I've already bound a view model's data sequence…to the table view, just like I've done previously…using RX items with cellidentifier extension.…I've also created a repository structure…which simply holds name and URL string values.…
Learn reactive programming with Reactive Extensions for Swift and iOS by following along with author Scott Gardner. Scott introduces the Reactive Extensions libraries for Swift and Cocoa Touch, and shows how to work with observable sequences, bind user interface and data elements, perform networking operations, debug Rx code, and more.
- Using the Reactive Extensions library
- Working with observable sequences
- Binding UI and data elements
- Binding table and collection views
- Error handling