Skip to content

Commit

Permalink
๐Ÿ”ง ์ถ”๊ฐ€ SwiftUI View ํ”„๋กœํ† ์ฝœ ๊ตฌ์กฐ์ฒด ๊ด€๋ จ ๋ณ€๊ฒฝ
Browse files Browse the repository at this point in the history
UIKit์˜ `UIView`์™€ SwiftUI์˜ `View` ํ”„๋กœํ† ์ฝœ ๊ตฌ์กฐ์ฒด ์‚ฌ์šฉ์— ๋Œ€ํ•œ ์„ค๋ช… ๋ฐ ์„ฑ๋Šฅ ์˜ํ–ฅ, ์ƒํƒœ ๊ด€๋ฆฌ ๋ฐฉ๋ฒ•, ์—…๋ฐ์ดํŠธ ์‚ฌ์ดํด ๋น„๊ต๋ฅผ ์ถ”๊ฐ€ํ•จ.
  • Loading branch information
JeaSungLEE committed Mar 28, 2024
1 parent 3abbd18 commit c010e4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,12 @@ Apple ๊ณต์‹ ๊ฐœ๋ฐœ ๋ฌธ์„œ์ค‘ ์ฝ์–ด ๋ณด๋ฉด ์ข‹์€ ๋ฌธ์„œ๋“ค์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต
- Scheduler๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ž‘์—…์„ ํŠน์ • ํ(DispatchQueue)์—์„œ ์‹คํ–‰ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.
- ๋ฐฑ๊ทธ๋ผ์šด๋“œ์—์„œ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๊ณ  ๋ฉ”์ธ ํ์—์„œ UI๋ฅผ ์—…๋ฐ์ดํŠธํ•˜๋Š” ํŒจํ„ด์„ Combine์œผ๋กœ ๊ตฌํ˜„ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.

28. UIKit์˜ `UIView`๋Š” ํด๋ž˜์Šค ๊ธฐ๋ฐ˜์œผ๋กœ ๊ตฌํ˜„๋˜์–ด ์žˆ์ง€๋งŒ, SwiftUI์—์„œ `View` ํ”„๋กœํ† ์ฝœ์„ ์ค€์ˆ˜ํ•˜๋Š” ํƒ€์ž…์€ ๋ณดํ†ต ๊ตฌ์กฐ์ฒด๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ทธ ์ด์œ ๋Š” ๋ฌด์—‡์ผ๊นŒ์š”?

- `View` ํ”„๋กœํ† ์ฝœ์„ ์ค€์ˆ˜ํ•˜๋Š” ๊ตฌ์กฐ์ฒด์˜ ์ฃผ์š” ํŠน์ง•์€ ๋ฌด์—‡์ด๋ฉฐ, ์ด๋Š” ์–ด๋–ป๊ฒŒ SwiftUI์˜ ์„ฑ๋Šฅ ๋ฐ ์‚ฌ์šฉ์„ฑ์— ์˜ํ–ฅ์„ ๋ฏธ์น˜๋‚˜์š”?
- SwiftUI์˜ `View`๊ฐ€ ๊ตฌ์กฐ์ฒด์ž„์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ , ์ƒํƒœ(state)๋ฅผ ์–ด๋–ป๊ฒŒ ๊ด€๋ฆฌํ•˜๊ณ  ์—…๋ฐ์ดํŠธํ•˜๋‚˜์š”?
- SwiftUI์˜ ๊ตฌ์กฐ์ฒด ๊ธฐ๋ฐ˜ `View` ์ƒ์„ฑ๊ณผ ์—…๋ฐ์ดํŠธ ์‚ฌ์ดํด์€ ์–ด๋–ป๊ฒŒ UIKit์˜ ํด๋ž˜์Šค ๊ธฐ๋ฐ˜ `UIView`์™€ ๋‹ค๋ฅธ๊ฐ€์š”?

## ๋ ˆ๋ฒจ 3

1. iOS ์•ฑ์—์„œ Core Data๋ฅผ ์‚ฌ์šฉํ•œ ๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜(Migration)์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.
Expand Down

0 comments on commit c010e4b

Please sign in to comment.