My RxSwift Summary ①

What is RxSwift?

RxSwift is an abbreviation for Reactive Extensions Swift. Reactive Extensions is C #'s strongest library that processes asynchronous processing in chronological order.

In other words, RxSwift is a way to write asynchronous processing that Swift has traditionally.

-Delegate design pattern -Observer pattern using Notificatin Center --GCD (For quick understanding) (The most detailed article is here) -Closer

It's a kind of method to do asynchronous processing nicely.

Asynchronous processing method of RxSwift

So how does RxSwift do asynchronous processing? RxSwift executes various events / processes on a series of data (data streaming) that flows over time. (What is called reactive programming)

As an advantage of the above

--All events that occur in the program can be captured on the time axis. --Callback Don't fall into hell -By introducing MVVM, you can break away from FatViewController / write code that is easy to test (Specific example 1 / @ iiinaiii / entries / IGUnRqkZiuDkTe8f), Specific example 2) -Can be written in Functional programming

There is something like that.

Recommended Posts

My RxSwift Summary ②
My RxSwift Summary ①
My RxSwift Summary ③ (What is Observable?)
My RxSwift Summary ④ (What is dispose bag?)
Summary
Object-oriented summary
ransack summary