Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeaSungLEE authored Sep 21, 2021
1 parent bfad834 commit 014d53e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@ iOS๊ฐœ๋ฐœ์ž๋“ค์—๊ฒŒ ํ•„์š”ํ•œ ์ž๋ฃŒ๋“ค์„ ์ •๋ฆฌํ•˜๊ณ  ์žˆ๋Š” ์ค‘์ž…๋‹ˆ๋‹ค.

Objective-c๋‚˜ rx๋Š” ํšŒ์‚ฌ, ํŒ€๋งˆ๋‹ค ์‚ฌ์šฉํ•˜๋Š”๊ณณ์ด ์ฐจ์ด๊ฐ€์žˆ๊ณ  ์‹ ์ž…์ด๋‚˜ ์ฃผ๋‹ˆ์–ด๊ธฐ์ค€์œผ๋กœ ํ•„์ˆ˜๋ผ๊ณ  ์—ฌ๊ฒจ์ง€์ง€์•Š๊ธฐ์— ์˜ต์…”๋„์— ์ถ”๊ฐ€ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

## SwiftUI

## Combine
- PassthroughSubject์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- @Published์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- Anycancleable์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- sink์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค

## Rx
- Reactive Programming์ด ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- RxSwift์—์„œ Hot Observable๊ณผ Cold Observable์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Subject์™€ drive์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.

## MRC
- ARC ๋Œ€์‹  Manual Reference Count ๋ฐฉ์‹์œผ๋กœ ๊ตฌํ˜„ํ•  ๋•Œ ๊ผญ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ๋ฉ”์„œ๋“œ๋“ค์„ ์“ฐ๊ณ  ์—ญํ• ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- retain ๊ณผ assign ์˜ ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
Expand All @@ -144,19 +157,6 @@ Ball *ball = [[[[Ball alloc] init] autorelease] autorelease];
- ์›น ์„œ๋ฒ„์™€ HTTP ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•ด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฃผ๊ฑฐ๋‚˜ ๋ฐ›์œผ๋ ค๋ฉด ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ํด๋ž˜์Šค์™€ ๋™์ž‘์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Protocol์—์„œ๋Š” ์™œ var๋งŒ ๋˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์š”.

## SwiftUI

## Combine
- PassthroughSubject์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- @Published์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- Anycancleable์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค
- sink์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•˜์‹œ์˜ค

## Rx
- Reactive Programming์ด ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- RxSwift์—์„œ Hot Observable๊ณผ Cold Observable์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Subject์™€ drive์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.

## Objective-C
- Swift์˜ ํด๋กœ์ €์™€ Objective-C์˜ ๋ธ”๋ก์€ ์–ด๋–ค ์ฐจ์ด๊ฐ€ ์žˆ๋Š”๊ฐ€?
- Mutable ๊ฐ์ฒด๊ณผ Immutable ๊ฐ์ฒด๋Š” ์–ด๋–ค๊ฒƒ์ด ์žˆ๋Š”์ง€ ์˜ˆ๋ฅผ ๋“ค๊ณ , ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
Expand Down

0 comments on commit 014d53e

Please sign in to comment.