Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
RxSwift & RxCocoa with X Code 10 & Swift 4.2
Rating: 4.1 out of 5(56 ratings)
246 students

RxSwift & RxCocoa with X Code 10 & Swift 4.2

Learn Reactive Development with iOS
Created byApoorv Mote
Last updated 2/2019
English
English [Auto],

What you'll learn

  • Reactive Programming with RxSwift & RxCocoa

Course content

4 sections56 lectures7h 1m total length
  • Intro to RxSwift3:09

    Explore RxSwift, a reactive extension for Swift that uses observable sequences to simplify asynchronous tasks such as button taps, animations, network requests, and data export.

  • Install RxSwift5:32

    Learn to install RxSwift with CocoaPods or alternatives, set up a project and playground inside a workspace, import RxSwift, and verify a successful build.

  • Observables4:12

    Explore how observables emit events in RxSwift, using just, of, from, and related operators to emit single or multiple values, with type inference and the need for a subscriber.

  • Subscriber8:17

    Explore how subscribers drive observable sequences, handle next and completed events, access elements with onNext, and use factories to tailor sequences for multiple subscribers.

  • Disposing7:02

    Learn how disposing cancels subscriptions to prevent memory leaks by using a disposable bag to collect subscriptions and dispose of them when scope ends.

  • Side Effects4:17

    Use the do operator to execute side effects in RxSwift and RxCocoa, performing tasks without changing observable events and debugging with the identified method while watching subscribe and dispose.

  • Traits8:20

    Explore RxSwift traits: single, maybe, and completable. Learn how a single emits a single event, either success with a value or an error, then completes.

  • Publish Subject8:00

    Learn how publish subject emits next events at runtime and delivers values only to active subscribers, with new subscribers receiving the complete event after completion.

  • Behavior Subject4:42

    Explore behavior subjects in RxSwift and RxCocoa, showing how each subscriber receives the latest value on subscription along with prior values during image loading from the network.

  • Replay Subject7:22

    Learn how a replay subject in RxSwift buffers multiple values, replays the latest to new subscribers, and handles completion, errors, and disposal for memory management.

  • Async Subject2:52

    Explore the async subject in RxSwift: a subject that emits a single value only after it completes, delivering the latest value to subscribers; errors emit no value.

  • Relay7:11

    Explore RxSwift relays, including behavior relay and publish relay, wrappers on subjects that never complete or error, with behavior relay using an initial value and current value.

  • Subject in Practice11:49

    Show how to use a publish subject to publish progress for downloads or saves, update a progress view and label, and reveal an open button on completion.

  • Ignore Operator4:59

    Learn how the ignore operator and ignore element work on observables and subjects, ignoring all or specific next elements, including login attempt control with index-based or completed-event handling in RxSwift.

  • Skip Operator4:12

    Learn how to use RxSwift skip operators, including skip, skip count, skip while, and skip until, with array examples and trigger subjects to control emitted events.

  • Take Operator3:52

    Explore the take operator in RxSwift: limit emissions to the first four values from an array, compare with skip, and demonstrate take while with even numbers and take until scenarios.

  • Distinct Operator4:08

    Explain the distinct until changed operator in RxSwift, showing how to ignore elements until a condition is true and emit values distinct from the previous element, demonstrated in a playground.

  • Share Operator5:55
  • Ignore in Practice5:27

    Explore ignore and skip operators in rxswift with a practical phone-number input example, showing how to extract the first n digits and ignore leading zeros.

  • Map Operator5:24

    Learn how the map operator transforms each emitted event into a new type, including converting dates to strings and using enumerated to access index values in RxSwift.

  • Flatmap Operator13:54

    Explore the flat map operator in RxSwift to flatten nested observables, replacing map for streamlined data streams, and learn related concepts like switch latest and optional unwrapping.

  • Materialize6:03

    Demonstrate how materialize preserves the outer behavior subject after an inner subject errors, and how to convert the event observable back to integers.

  • Flatmap in Practice18:14

    Learn to use map and flatMap in a RxSwift and RxCocoa app that fetches GitHub events, decodes them, and displays them in a table view with image caching.

  • Local Cache17:59
  • Concat6:50
  • Merge4:27

    Learn to use the merge operator in RxSwift to combine published subjects into an observable that emits values as they arrive, with max concurrent control for canceling extra network requests.

  • Combine Latest8:21

    Combine latest merges the latest values from multiple observables into a single stream, supports different or same types, requires at least two sources and up to eight, with tuple conversion.

  • Zip5:01

    Learn how the zip operator combines new emissions from multiple observables to produce paired results, illustrated by weather and city data, and understand its completion and error behavior in RxSwift.

  • Trigger5:28

    Demonstrates using the latest from and sample operators with publish subjects to emit the text field value only when the update button is pressed, illustrating observable combining and binding.

  • Ambiguous4:30

    Explore the amb operator in RxSwift to select the first emitting observable and ignore the rest. See how switch latest unsubscribes from previous observables and follows the latest one.

  • Reduce and Scan6:56

    Explore the reduce and scan operators in RxSwift, showing how reduce aggregates an observable with an initial value, and how scan emits a running total without waiting for completion.

  • Practice Part 111:26

    Build an iOS app using RxSwift and RxCocoa to fetch and display category titles and descriptions from an API, decoding JSON in Swift 4.2 with Xcode 10.

  • Practice Part 214:20

    Part two fetches events by category using open and closed status within 360 days, then combines results in parallel and updates the category table.

  • Practice Part 35:52

    Fetch all events for each category via a GET request and display them in an event table view controller.

  • Practice Part 413:08

    practice part 4 shows fetching events by category id to get open and closed events from the last 360 days, updating categories with RxSwift operators such as flatMap and merge.

  • Replay11:42

    Explore replay operators in RxSwift, using replay buffers to reemit past values to new subscribers, with buffer size and replay options. Compare dispatch source timer and RxSwift timer implementations.

  • Delay8:17

    learn how the delay operator postpones subscription emissions in RxSwift, illustrated with a publish subject, late subscribers, and timers, including hot vs. cold observables and single-shot timing.

  • Buffer4:22

    Learn how the buffer operator collects values into an array and emits them when capacity is reached or a timeout occurs, shown with a subject and playground example.

  • Window Buffer6:10

    Explore the window operator in RxSwift by emitting observables instead of arrays, controlled by time span, count, capacity, and a scheduler on the main queue.

  • Timeout3:52

    Explore the timeout operator in RxSwift: if no event arrives within a period, it emits a timeout error and can chain to a second observable after timeout.

Requirements

  • Should have solid understanding of Swift language and X Code

Description

Limited Time Deep Discount available use code "AUTHOR"

Nowadays you can't just stay with Apple Ecosystem. You need to be loyal to your app not to Apple Ecosystem. But learning development on completely new platform can be very time consuming and frustrating. This is where Rx or Reactive Extensions comes in. Rx is available for many languages i.e. RxSwift, RxJS, RxJava, RxKotlin, RxAndroid. Same Rx language can be used natively in almost any frontend, backend or cross platform. This course teaches you how to use Reactive Extensions in Swift language. Then learning other Rx languages is going to be very easy. Or if you are collaborating with other Rx developers then knowing RxSwift is going to help a lot.

Who this course is for:

  • Swift Developers who wants to learn Reactive Programming.