![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FEFodm%2FbtsCf5xNKSg%2FNW4ZjTiBmfkYwcDPC5tVW1%2Fimg.png)
Shapes ( Rectangle, RoundedRectangle, Circle, Ellipse, Capsule ...)
·
SwiftUI
Shape 이란 2D 로 뷰에 나타내기 위한 모형입니다. 아래 기본적인 모형들입니다.struct ContentView: View { var body: some View { VStack { ScrollView(.horizontal, showsIndicators: true) { HStack { Rectangle() .frame(width: 100, height: 100) RoundedRectangle(cornerRadius: 25, style: .continuous) .frame(width: 100, height: 100) Ci..