๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
728x90

๐ŸŽ iOS/WWDC11

[iOS] WWDC23: Discover Observation in SwiftUI / iOS17+ Discover Observation in SwiftUI - WWDC23 https://developer.apple.com/videos/play/wwdc2023/10149/ https://developer.apple.com/documentation/observation Observation ์„ ์‚ฌ์šฉํ•˜๋ฉด ํ‘œ์ค€ Swift ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•ด์„œ ๋ชจ๋ธ์„ ์ •์˜ํ•˜๊ณ , UI ๊ฐ€ ๋ชจ๋ธ์˜ ๋ณ€๊ฒฝ์‚ฌํ•ญ์— ์‘๋‹ตํ•˜๋„๋ก ํ•  ์ˆ˜ ์žˆ๋‹ค. SwiftUI ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ์›ํ™œํ•˜๊ณ  ์ง๊ด€์ ์œผ๋กœ ๊ฐœ๋ฐœํ•  ์ˆ˜ ์žˆ๋‹ค! ๋ชฉ์ฐจ 1:03 - What is Observation? 4:23 - SwiftUI property wrappers 7:34 - Advanced uses 10:27 - ObservableObject What is Observation? Obse.. 2023. 10. 14.
[iOS] WWDC23: Meet ActivityKit / Live Activity ์•Œ์•„๋ณด๊ธฐ WWDC23: Meet ActivityKit https://developer.apple.com/documentation/ActivityKit https://developer.apple.com/documentation/activitykit/displaying-live-data-with-live-activities Live Activity ์— ๋Œ€ํ•œ ๊ฐœ์š” Live Activity ์˜ ์ƒ๋ช…์ฃผ๊ธฐ (Life cycle) Live Activity UI ๊ตฌ์ถ•ํ•˜๊ธฐ Live Acitvity overview Live Activity ๋Š” ์ด๋ฒคํŠธ๋‚˜ ์ž‘์—… ์ง„ํ–‰ ์ƒํ™ฉ์„ ํ•œ๋ˆˆ์— ์•Œ์•„๋ณผ ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด๋‹ค. ๊ฐ๊ฐ์˜ ์‹œ์ž‘๊ณผ ๋์„ ๊ฐ€์ง€๊ณ  ์žˆ๊ณ , ๋ฐฑ๊ทธ๋ผ์šด๋“œ ์•ฑ ๋Ÿฐํƒ€์ž„์—์„œ ์‹ค์‹œ๊ฐ„ ์—…๋ฐ์ดํŠธ๋ฅผ ์ œ๊ณตํ•˜๊ฑฐ๋‚˜, ํ‘ธ์‹œ ์•Œ๋ฆผ์„ ์‚ฌ์šฉํ•ด์„œ ์›๊ฒฉ์œผ๋กœ ์ œ๊ณตํ•  ์ˆ˜.. 2023. 10. 9.
[WWDC2017] Love at First Launch ์ฒซ์ธ์ƒ์ด ์ค‘์š”ํ•˜๋‹ค. ์•„ํŒŒํŠธ๋ฅผ ๊ณ„์•ฝํ•˜๋ ค๊ณ  ํ•  ๋•Œ, ์ฒ˜์Œ๋ถ€ํ„ฐ ์—ฌ๊ถŒ ์„œ๋ฅ˜๋“ฑ์„ ์š”๊ตฌํ•˜๊ฒ ๋Š”๊ฐ€? ์‚ฌ๊ธฐ๊พผ ์•„๋‹๊นŒ ์‹ถ์€ ์ง‘์ฃผ์ธ ๐Ÿฅน ์•ฑ๋„ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ, ์•ฑ ์„ค์น˜๋ถ€ํ„ฐ ๋กœ๊ทธ์ธ ํ™”๋ฉด๋ถ€ํ„ฐ ๋‚˜ํƒ€๋‚˜๊ณ  ๊ถŒํ•œ๋“ค์„ ์š”๊ตฌํ•œ๋‹ค๋ฉด ์นœ๊ทผํ•˜์ง€ ์•Š๋‹ค. Lead with great content ๋กœ๊ทธ์ธ์ฐฝ๋ถ€ํ„ฐ ๋„์šฐ๋Š” iTravel ์•ฑ๊ณผ ๋‹ค๋ฅด๊ฒŒ, ๋‹ค๋ฅธ ์—ฌํ–‰ ์•ฑ์€ ์ฝ˜ํ…์ธ ๋ฅผ ๋ฐ”๋กœ ๋ณด์—ฌ์ค€๋‹ค. ์‚ฌ์šฉ์ž๋“ค์€ ๋ฐ”๋กœ ํ™”๋ฉด์— ์žˆ๋Š” ์ˆ™์†Œ๋“ค์„ ํƒ์ƒ‰ํ•˜๋ฉฐ ์—ฌํ–‰์ง€๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ๊ณ , ์˜ˆ์•ฝํ•˜๋ ค๋Š” ์‹œ์ ์— ๋กœ๊ทธ์ธ์ฐฝ์ด ๋œฌ๋‹ค. (ํ•˜์ง€๋งŒ airbnb ๋„ ํ™”๋ฉด์„ ๋ณด์—ฌ์ฃผ๊ธฐ ์ „์— ๋กœ๊ทธ์ธ์ด ๋ชจ๋‹ฌ๋กœ ์šฐ์„ ๋œฌ๋‹ค.. ์†์„ธ๋Š” ์–ด์ฉ”์ˆ˜ ์—†๋Š” ๐Ÿฅฒ) Teach through interaction ์ „ํ™” ์•ฑ์—์„œ ํ‚คํŒจ๋“œ, ์ „ํ™” ๊ฑธ๊ธฐ ๊ธฐ๋Šฅ๋“ฑ์€ ์„ค๋ช…ํ•˜์ง€ ์•Š์•„๋„ ๋ชจ๋‘ ์•Œ ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์ด์ง€๋งŒ ์„ ํ–‰ ๋ฐฉ๋ฒ•์„ ์•Œ๋ ค์ฃผ๋Š” ๊ฒƒ์ด ๋„์›€์ด.. 2023. 5. 24.
[WWDC21] Discover concurrency in SwiftUI ๋ชฉ์ฐจ Concurrent data models SwiftUI and the main actor New concurrency tools ํ•ด๋‹น ์˜์ƒ์„ ๋ณด๊ธฐ์ „์— ์ฐธ๊ณ ํ•˜๋ฉด ์ข‹์„ WWDC ์˜์ƒ Meet async/await in Swift Explore structured concurrency in Swift ์˜ˆ์‹œ ์•ฑ ) ์šฐ์ฃผ ์ด๋ฏธ์ง€ ๋ชฉ๋ก๋“ค ๋ณด์—ฌ์ฃผ๊ณ  ์ €์žฅํ•˜๋Š” ์•ฑ (์šฐ์ฃผ ์ด๋ฏธ์ง€๋ฅผ ๋ฐ›์•„์˜ค๋ ค๋ฉด ์˜ค๋ž˜๊ฑธ๋ฆฐ๋‹ค๋Š” ํฐ๊ทธ๋ฆผ์ด ์˜ˆ์ƒ๋ฉ๋‹ˆ๋‹ค ๐Ÿง) Concurrent data models ์ด๋ฏธ์ง€์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๋ชจ๋ธ SpacePhoto ์ด๋ฏธ์ง€ ๋ฐฐ์—ด์„ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๋ชจ๋ธ Photos ObservableObject ๋กœ ๋˜์–ด์žˆ์–ด @published ์–ด๋…ธํ…Œ์ด์…˜์ด ๋ถ™์€ items ๊ฐ’์ด ๋ณ€๊ฒฝ์‹œ ๋ฐ์ดํ„ฐ ๋ณ€๊ฒฝ์‹œ SwiftUI View ์—…๋ฐ์ด.. 2023. 5. 18.
[WWDC20] The Push Notifications primer (APNs / iOS ํ‘ธ์‹œ ๋“ฑ๋ก) ํ‘ธ์‹œ ์•Œ๋ฆผ์ด ๋ฌด์—‡์ธ์ง€, ์™œ ์‚ฌ์šฉํ•˜๋Š”์ง€ ์„ค๋ช…ํ•ด์ฃผ๊ณ  ์•ฑ์— ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•ด์ฃผ๋Š” ์˜์ƒ์— ๋Œ€ํ•ด ์ •๋ฆฌํ•œ ๊ธ€์ž…๋‹ˆ๋‹ค! Introducing Push Notification ํ‘ธ์‹œ ์•Œ๋ฆผ์˜ ๊ธฐ๋Šฅ Engagement : ํ‘ธ์‹œ ์•Œ๋ฆผ์„ ํ†ตํ•ด์„œ ์•ฑ์ด ์ƒํ˜ธ์ž‘์šฉ ํ•  ์ˆ˜ ์žˆ๋‹ค. Provide updates : ์•ฑ์— ์‹ค์‹œ๊ฐ„์œผ๋กœ ์—…๋ฐ์ดํŠธ๋ฅผ ์ œ๊ณตํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•œ๋‹ค. Dynamic experiences : ์•ฑ ๋‚ด์˜ ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ์žˆ์„ ๋•Œ ๋‹ค์ด๋‚˜๋ฏนํ•œ ๊ฒฝํ—˜์„ ์ค„ ์ˆ˜ ์žˆ๋‹ค. ํ‘ธ์‹œ ์•Œ๋ฆผ์„ ์ถ”๊ฐ€ํ–ˆ์„ ๋•Œ ์ด์ ์€ ๋ฌด์—‡์ด ์žˆ์„์ง€? Foreground not required : ์•ฑ์ด ํ•ญ์ƒ ํฌ๊ทธ๋ผ์šด๋“œ์— ์žˆ์„ ํ•„์š”๊ฐ€ ์—†๋‹ค. ํ‘ธ์‹œ ์•Œ๋ฆผ์€ ์•ฑ์˜ ์ƒํƒœ์™€ ๊ด€๊ณ„์—†์ด ์ „๋‹ฌ๋˜๊ณ  ํ•„์š”ํ•œ ๊ฒฝ์šฐ ์‹คํ–‰๋œ๋‹ค. Power efficient : ํ‘ธ์‹œ ์•Œ๋ฆผ์€ ์ „๋ ฅ์„ ๋งŽ.. 2023. 2. 14.
[WWDC18] iOS Memory Deep Dive iOS Memory Deep Dive - WWDC18 - Videos - Apple Developer Discover how memory graphs can be used to get a close up look at what is contributing to an app's memory footprint. Understand the true... developer.apple.com [WWDC18] iOS Memory Deep Dive Why reduce memory :: ์™œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ค„์—ฌ์•ผ ํ•˜๋Š”์ง€? Memory footprint :: ๋ฉ”๋ชจ๋ฆฌ ์‚ฌ์šฉ๋Ÿ‰์— ๋Œ€ํ•œ ์ด๋ก ์ ์ธ ์ด์•ผ๊ธฐ Tools for profiling footprint :: ๋ฉ”๋ชจ๋ฆฌ ์‚ฌ์šฉ๋Ÿ‰์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋Š” ํˆด ์†Œ๊ฐœ Images :: ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ๋งŽ์ด .. 2022. 11. 27.
[WWDC19] Advances in Collection View Layout - Part 1 Advances in Collection View Layout - WWDC19 - Videos - Apple Developer Collection View Layouts make it easy to build rich interactive collections. Learn how to make dynamic and responsive layouts that range... developer.apple.com ๐Ÿ‘‹ WWDC19 - Advances in Collection View Layout Current State-of-the-Art UICollectionView ๋Š” iOS 6 ์—์„œ ์ฒ˜์Œ ์†Œ๊ฐœ๋˜์—ˆ๋‹ค. ๋ฐ์ดํ„ฐ๋ฅผ ๋ Œ๋”๋งํ•˜๋Š” ํด๋ž˜์Šค์™€ CollectionView ์˜ layout ์„ ๊ด€๋ฆฌํ•˜๋Š” ๋‘๊ฐœ์˜ ํด๋ž˜์Šค๊ฐ€ ํ•„์š”ํ–ˆ.. 2022. 10. 17.
[WWDC19] Data Flow Through SwiftUI - Part 2 Working With External Data ๐Ÿ’ฌ Part1 ์—์„œ๋Š” ... ์œ ์ €์™€ SwiftUI ๋ทฐ ๊ฐ„ ๋ฐ์ดํ„ฐ ํ๋ฆ„์— ๋Œ€ํ•ด ์–˜๊ธฐํ•ด๋ดค์—ˆ๋‹ค. @State ํ”„๋กœํผํ‹ฐ ๋ž˜ํผ๋ฅผ ํ†ตํ•ด ๊ฐ’์ด ๋ณ€๊ฒฝ๋จ์„ ํŠธ๋ž˜ํ‚นํ•˜๋Š” ๋ณ€์ˆ˜๋ฅผ ๋‘˜ ์ˆ˜ ์žˆ๊ณ , @Binding ์„ ํ†ตํ•ด ์ž์‹๋ทฐ์—์„œ๋„ ๊ฐ™์€ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ”๋ผ๋ณด๋„๋ก ํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค. ๐Ÿ™‹‍โ™€๏ธ Part2 ์—์„œ๋Š”? ๋ทฐ ๋‚ด๋ถ€์—์„œ์˜ ๋™์ž‘์„ ๊ด€๋ฆฌํ•˜๋Š” @State ๋ณ€์ˆ˜๋กœ๋Š” ๋ถˆ๊ฐ€๋Šฅํ•œ ์™ธ๋ถ€์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ, ์™ธ๋ถ€์—์„œ ๊ด€๋ฆฌ๋˜๋Š” ๋ฐ์ดํ„ฐ๋Š” ์–ด๋–ป๊ฒŒ ์ฒ˜๋ฆฌํ•ด์•ผํ• ์ง€ ๋‹ค๋ค„๋ณธ๋‹ค. ๊ฒฐ๋ก ์ ์œผ๋กœ ์œ ์ € ์ธํ„ฐ๋ ‰์…˜์ด ์•„๋‹Œ timer, notification ์ฒ˜๋Ÿผ ์™ธ๋ถ€์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ๋„ ๋™์ผํ•œ ํ๋ฆ„์œผ๋กœ ๋™์ž‘ํ•œ๋‹ค. action ์ƒ์„ฑ -> State ๊ฐ’ ๋ณ€๊ฒฝ -> ๋ทฐ์— ๋Œ€ํ•œ ์ƒˆ๋กœ์šด ์นดํ”ผ -> ์œ ์ €์—๊ฒŒ ์ƒˆ๋กญ๊ฒŒ ๋ณด์—ฌ์คŒ SwiftUI.. 2022. 8. 30.
[WWDC19] Data Flow Through SwiftUI - Part 1 Principles of Data Flow Tools for Data Flow SwiftUI ์—์„œ ์†Œ๊ฐœ๋˜๋Š” Property, BindableObject,@Environment , @Binding ,@State ๋ฏธ๋ฆฌ ์Šคํฌํ•˜์ž๋ฉด BindableObject -> ObservableObject ๋กœ ์ด๋ฆ„์ด ๋ณ€๊ฒฝ๋จ ์ด๋ฒˆ ์˜์ƒ์„ ํ†ตํ•ด์„œ ํ•ด๋‹น ํˆด๋“ค์ด ์–ด๋–ป๊ฒŒ, ์–ธ์ œ ์“ฐ์ด๋Š”์ง€ ์•Œ๊ฒŒ ๋  ๊ฒƒ์ด๋‹ค! Principle SwiftUI ๋ฐ์ดํ„ฐ ํ”Œ๋กœ์šฐ๋ฅผ ๋””์ž์ธํ•˜๊ธฐ ์œ„ํ•œ ๋‘๊ฐœ์˜ ์›๋ฆฌ๋ฅผ ์•Œ์•„๋ณด์ž. First principle "Data Access as a Dependency" ํ† ๊ธ€์„ ์ƒ๊ฐํ•ด๋ณด์ž. ํ† ๊ธ€ ๋ทฐ๋ฅผ ๊ทธ๋ฆฌ๊ธฐ ์œ„ํ•ด์„œ๋Š” Bool ํƒ€์ž…์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ํ•„์š”ํ•˜๊ณ , ๋ฐ์ดํ„ฐ๊ฐ€ ์ƒˆ๋กœ์šด ๊ฐ’์œผ๋กœ ๋ณ€๊ฒฝ๋  ๋•Œ๋งˆ๋‹ค ๋ทฐ๋ฅผ ๋ณ€๊ฒฝํ•ด์ค˜์•ผ ํ•œ๋‹ค. ๋ฐ์ดํ„ฐ๊ฐ€ ๋ณ€๊ฒฝ๋  ๋•Œ.. 2022. 8. 30.
728x90