
Swift gives you a tool called Binding, which is great for passing read/write derived values. And technically any constant can serve as a perfectly good read-only Source of Truth as we saw with the test data driving our previews. Now there's one more I want to call out, and I mentioned a second ago that collectively your state variables and your model constitute the Sourc..

WWDC의 프리젠테이션은 공식 행사 답게, 프리젠테이션을 진행하는 Apple 엔지니어들의 발표는 Listening 과 pronunciation 연습에 도움이 된다. 그래서 요즘 개발공부와 함께 영어공부도 하고 있기에 이번 영상을 열심히 시청해보기로 했다. Apple 공식 사이트에서 제공하는 영상은 Subtitle 과 Script 를 제공하므로, 공부하기에 비교적 용이했다. 각설하고, 바로 들어가보자. 이 세션은 Apple 의 SwiftUI Engineer 인 Jacob 과 Kyle 이 순서를 바꿔가며 발표를 진행한다. 먼저 Jacob 이 발표를 진행했다. 영상을 보면서 표시해두었던 발표 멘트를 정리하여 소개하고자 한다. 좋은 내용들이 더 많은데 텍스트로는 설명이 어려워서 생략된 부분도 있다. 좋은건 나눠..

SwiftUI 튜토리얼 번역 + 개인 학습 짬뽕 원문: https://developer.apple.com/tutorials/swiftui/handling-user-input Section 4 - 저장을 위해 'bindable object' 사용하기 유저가 좋아하는 특정 랜드마크를 컨트롤 할 수 있도록 준비하기 위해서 여러분은 먼저 'bindable object' 에 랜드마크 데이터를 저장할 것입니다. 'bindable object' 란 무엇일까요? 이는 SwiftUI 환경에서 저장소(Storage)로부터 뷰와 경계를 이루는 여러분의 데이터에 대한 사용자 정의 객체(custom object) 를 말합니다. (A bindable object is a custom object for your data that..

Index of SwiftUI - Creating and Combining Views : https://atelier-chez-moi.tistory.com/60 - Building Lists and Navigation : https://atelier-chez-moi.tistory.com/63 - Handling User Input : (Now) SwiftUI Tutorials 번역 원문 : https://developer.apple.com/tutorials/swiftui/handling-user-input 세번째 주제네요!!! 속도는 좀 느리더라도 정확한 번역에 신경쓰면서 풀어가 보도록 하겠습니다. 오늘도 달려보도록 하죠. Landmarks 앱에서 유저는 자신이 좋아하는 장소들을 표시할 수 있고 그들이 ..

Apple SwiftUI Tutorial 번역 원문: https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation Section 7 - 자식 뷰(혹은 하위 뷰)에게 데이터 전달하기 LandmarkDetail 뷰는 여전히 자신의 랜드마크를 보여주기 위해 하드 코딩된 디테일한 내용을 사용하고 있어요. LandmarkRow 처럼, LandmarkDetail 타입과 LandmarkDetail 이 포함하는 뷰들은 자신의 데이터를 위한 소스로서 landmark 프로퍼티를 사용할 필요가 있어요. 자식 뷰(child views)부터는 이제, 여러분은 CircleImage, MapView, LandmarkDetail 친구들을 변환하여 각 열을 하..

Apple SwiftUI Tutorial 번역 원문: https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation Section 5 - 동적 리스트 만들기 리스트의 요소들을 개별적으로(individually) 특정짓는 것 대신에, 여러분은 컬렉션(collection)으로부터 바로(directly) 행을(rows) 만들어낼 수 있어요. 여러분은 컬렉션 내에 각 요소에 대한 뷰를 제공하는 클로저(Closure)와 여러분의 데이터 모음(collection of data)을 전달하여 컬렉션의 요소들을 표시하는 리스트를 만들 수 있어요. 이 리스트는 컬렉션 안의 각 요소를 공급받은(supplied) 클로저를 사용하여 자식 뷰로 변환합니다...

Apple SwiftUI Tutorial 번역 원문: https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation Section 3 - 행 미리보기(Row Preview) 커스터마이징 하기 Xcode 의 캔버스(canvas)는 현재 에디터 내의 'Preview Provider ' 프로토콜(protocol)을 준수하는 모든 타입을 자동적으로 인식(recognize)하고 표시(display)합니다. 미리보기 프로바이더(preview provider)는 크기(Size) 및 장치(device)를 구성하는 옵션과 함께 하나 혹은 그 이상의 뷰를 리턴합니다. 여러분은 미리보기 프로바이더(preview provider)로 부터 리턴된 컨텐츠를..

Index of SwiftUI - Creating and Combining Views : https://atelier-chez-moi.tistory.com/60 - Building Lists and Navigation : (Now) - Handling User Input : https://atelier-chez-moi.tistory.com/63 Apple's SwiftUI Tutorials 번역 원문 : https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation SwiftUI Essentials 2번째 편 Building Lists and Navigation 기본이 되는 랜드마크 디테일 뷰 설정과 함께, 여러분은 유저들에게 각 ..
- Total
- Today
- Yesterday
- fallthrough
- 스위프트
- OOP
- function
- 패캠
- iOS개발스쿨
- swiftUI
- inswag
- 리터럴
- lifecycle
- tca
- Swift
- commit
- GCD
- ios
- ARC
- var
- 딕셔너리
- 열거형
- 컨버전
- Operator
- 튜플
- Dictionary
- 프로그래밍
- fastcampus
- 깃허브
- array
- 패스트캠퍼스
- 타입
- 개발스쿨
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |