📄️ Border Radius
swiftUI에서는 clipShape를 이용해서 cornerRadius를 주더라도, border의 radius는 cornerRadius와 같이 변하지 않는다.
📄️ Color에서 hex를 지원하기
swiftUI Color에서는 기본적으로 hex를 지원하지 않는다.
📄️ ConfirmationDialog
ActionSheet는 iOS 16까지만 지원하고 deprecated.
📄️ coordinateSpace
coordinateSpace는 특정 view의 좌표 공간의 이름을 지정해서, 이 이름으로 접근하여 지정된 view의 points, sizes 등의 dimension를 사용할 수 있도록 함.
📄️ enum의 활용
calculate property로 label 설정
📄️ GeometryReader와 ScrollView
ScrollView 내부에 GeometryReader와 사용시 height를 계산하지 않는 문제가 있다.
📄️ Image Picker
앨범에서 사진을 선택하기 위해서 SwiftUI의 Photos picker를 사용할 수 있다.
📄️ LinearGradient
Gradient의 colors에 원하는 Color를 배열로 넣으면 linear gradient를 사용할 수 있다.
📄️ multilineTextAlignment
멀티라인의 text를 정렬할 수 있는 Instance Method.
📄️ Sheet
상단 drag indicator 추가
📄️ @State, @Binding
@State
📄️ struct 초기화 & escaping closure
@Binding 초기화