Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeaSungLEE authored Jul 2, 2021
1 parent a7e9b54 commit 0da6187
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,25 +98,15 @@ Ball *ball = [[[[Ball alloc] init] autorelease] autorelease];
- ๊ณ ์ฐจ ํ•จ์ˆ˜๊ฐ€ ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Swift Standard Library์˜ map, filter, reduce, compactMap, flatMap์— ๋Œ€ํ•˜์—ฌ ์„ค๋ช…ํ•˜์‹œ์˜ค.

## Architecture
- MVVM, MVC, Ribs, VIP ๋“ฑ ์ž์‹ ์ด ์•Œ๊ณ ์žˆ๋Š” ์•„ํ‚คํ…์ณ๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- ์˜์กด์„ฑ ์ฃผ์ž…์— ๋Œ€ํ•˜์—ฌ ์„ค๋ช…ํ•˜์‹œ์˜ค.

# Optional
์•„๋ž˜๋ถ€ํ„ฐ๋Š” ์ถ”๊ฐ€๋กœ ๊ณต๋ถ€๋ฅผ ํ•˜๋ฉด ์ข‹์„ ๋‚ด์šฉ๋“ค์ž…๋‹ˆ๋‹ค.

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

## Objective-C
- Mutable ๊ฐ์ฒด๊ณผ Immutable ๊ฐ์ฒด๋Š” ์–ด๋–ค๊ฒƒ์ด ์žˆ๋Š”์ง€ ์˜ˆ๋ฅผ ๋“ค๊ณ , ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- dynamic๊ณผ property ์˜๋ฏธ์™€ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- @property๋กœ ์„ ์–ธํ•œ NSString* title ์˜ getter/setter ๋ฉ”์„œ๋“œ๋ฅผ ๊ตฌํ˜„ํ•ด๋ณด์‹œ์˜ค.
- @property์—์„œ atomic๊ณผ nonatomic ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜๊ณ , ์–ด๋–ค๊ฒƒ์ด ์•ˆ์ „ํ•œ์ง€, ์–ด๋Š๊ฒƒ์ด ๊ธฐ๋ณธ์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- @property๋กœ ์„ ์–ธํ•œ๋‹ค๋Š” ๊ฒƒ์˜ ์˜๋ฏธ๋ฅผ ์„ค๋ช…ํ•˜๊ณ , .h์— ๋„ฃ์„ ๊ฒฝ์šฐ์™€ .m์— ๋„ฃ์„ ๊ฒฝ์šฐ ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- -performSelector:withObject:afterDelay: ๋ฉ”์‹œ์ง€๋ฅผ ๋ณด๋‚ด๋ฉด ์ธ์ž๊ฐ’์˜ ๊ฐ์ฒด๋Š” retain๋˜๋Š”๊ฐ€? ๊ทธ ์ด์œ ๋ฅผ ํ•จ๊ป˜ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C ์—์„œ ์บก์Šํ™”๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์ ‘๊ทผํ•˜๊ธฐ ์œ„ํ•œ ๋ฐฉ๋ฒ•๋“ค์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- unnamed category ๋ฐฉ์‹์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Category ํ™•์žฅ๊ณผ Subclass ํ™•์žฅ์˜ ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Category ๋ฐฉ์‹์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C ์—์„œ Protocol ์ด๋ž€ ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C++ ๋ฐฉ์‹์ด ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜๊ณ , ์–ด๋–ค ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.

## Advanced
- method swizzling์ด ๋ฌด์—‡์ด๊ณ , ์–ด๋–จ ๋•Œ ์‚ฌ์šฉํ•˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- NSCoder ํด๋ž˜์Šค๋Š” ์–ด๋–ค ์ƒํ™ฉ์—์„œ ์–ด๋–ป๊ฒŒ ์จ์•ผ ํ•˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
Expand All @@ -133,10 +123,20 @@ Objective-c๋‚˜ rx๋Š” ํšŒ์‚ฌ, ํŒ€๋งˆ๋‹ค ์‚ฌ์šฉํ•˜๋Š”๊ณณ์ด ์ฐจ์ด๊ฐ€์žˆ๊ณ  ์‹ ์ž…
- ์›น ์„œ๋ฒ„์™€ HTTP ์—ฐ๊ฒฐ์„ ์‚ฌ์šฉํ•ด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฃผ๊ฑฐ๋‚˜ ๋ฐ›์œผ๋ ค๋ฉด ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ํด๋ž˜์Šค์™€ ๋™์ž‘์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Protocol์—์„œ๋Š” ์™œ var๋งŒ ๋˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์š”.

## Architecture
- MVVM, MVC, Ribs, VIP ๋“ฑ ์ž์‹ ์ด ์•Œ๊ณ ์žˆ๋Š” ์•„ํ‚คํ…์ณ๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- ์˜์กด์„ฑ ์ฃผ์ž…์— ๋Œ€ํ•˜์—ฌ ์„ค๋ช…ํ•˜์‹œ์˜ค.

## Objective-C
- Mutable ๊ฐ์ฒด๊ณผ Immutable ๊ฐ์ฒด๋Š” ์–ด๋–ค๊ฒƒ์ด ์žˆ๋Š”์ง€ ์˜ˆ๋ฅผ ๋“ค๊ณ , ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- dynamic๊ณผ property ์˜๋ฏธ์™€ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- @property๋กœ ์„ ์–ธํ•œ NSString* title ์˜ getter/setter ๋ฉ”์„œ๋“œ๋ฅผ ๊ตฌํ˜„ํ•ด๋ณด์‹œ์˜ค.
- @property์—์„œ atomic๊ณผ nonatomic ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜๊ณ , ์–ด๋–ค๊ฒƒ์ด ์•ˆ์ „ํ•œ์ง€, ์–ด๋Š๊ฒƒ์ด ๊ธฐ๋ณธ์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- @property๋กœ ์„ ์–ธํ•œ๋‹ค๋Š” ๊ฒƒ์˜ ์˜๋ฏธ๋ฅผ ์„ค๋ช…ํ•˜๊ณ , .h์— ๋„ฃ์„ ๊ฒฝ์šฐ์™€ .m์— ๋„ฃ์„ ๊ฒฝ์šฐ ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- -performSelector:withObject:afterDelay: ๋ฉ”์‹œ์ง€๋ฅผ ๋ณด๋‚ด๋ฉด ์ธ์ž๊ฐ’์˜ ๊ฐ์ฒด๋Š” retain๋˜๋Š”๊ฐ€? ๊ทธ ์ด์œ ๋ฅผ ํ•จ๊ป˜ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C ์—์„œ ์บก์Šํ™”๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์ ‘๊ทผํ•˜๊ธฐ ์œ„ํ•œ ๋ฐฉ๋ฒ•๋“ค์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- unnamed category ๋ฐฉ์‹์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Category ํ™•์žฅ๊ณผ Subclass ํ™•์žฅ์˜ ์ฐจ์ด์ ์„ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Category ๋ฐฉ์‹์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C ์—์„œ Protocol ์ด๋ž€ ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- Objective-C++ ๋ฐฉ์‹์ด ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜๊ณ , ์–ด๋–ค ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š”์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
-
## Rx
- Reactive Programming์ด ๋ฌด์—‡์ธ์ง€ ์„ค๋ช…ํ•˜์‹œ์˜ค.
- RxSwift์—์„œ Hot Observable๊ณผ Cold Observable์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•˜์‹œ์˜ค.
Expand Down

0 comments on commit 0da6187

Please sign in to comment.