Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 | 31 |
Tags
- Refactoring
- collectionview
- rxswift
- 스위프트
- uiscrollview
- swift documentation
- uitableview
- Protocol
- 리펙토링
- 애니메이션
- tableView
- 리팩토링
- combine
- clean architecture
- Human interface guide
- ribs
- ios
- 리펙터링
- map
- 클린 코드
- RxCocoa
- swiftUI
- MVVM
- Observable
- Xcode
- UITextView
- Clean Code
- SWIFT
- UICollectionView
- HIG
Archives
- Today
- Total
목록2022/10/19 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - SwiftUI] Path 사용 방법, Line Chart 그리는 방법 (주식 차트)
목차) SwiftUI의 기본 - 목차 링크 Path 사용 방법 2D 선과 면을 그릴때 사용 move(to:) 메소드를 통해 시작점을 정하고, addLine(to:)를 통해 선을 그림 struct ContentView: View { var body: some View { Path { path in path.move(to: CGPoint(x: 100, y: 100)) path.addLine(to: CGPoint(x: 100, y: 200)) path.addLine(to: CGPoint(x: 200, y: 200)) } } } 사각형 그리기 struct ContentView: View { var body: some View { Path { path in path.move(to: CGPoint(x: 100, y..
iOS 기본 (SwiftUI)
2022. 10. 19. 02:02