// https://medium.com/@iOSchandra0/how-to-create-a-pie-chart-in-swiftui-c7f056d54c81// iOS 17 미만을 위한 원형 차트/// 꽉차있는 일반적인 파이 버전struct PieChart: View { @State var slices: [(Double, Color)] var body: some View { Canvas { context, size in let total = slices.reduce(0) { $0 + $1.0 } context.translateBy(x: size.width * 0.5, y: size.height * 0.5) var pieC..
// https://nuli.navercorp.com/community/article/1133220/// 커스텀 슬라이더 (제어센터 UI)struct CustomSlider: View { enum Orientation { case vertical, horizontal } @Binding var value: Double @State private var percentRate: Double = 0 var label: String = "" var min: Double = 0 var max: Double = 100 var orientation: Orientation = .horizontal var trackColor: Color? var sliderColor: C..
/// 글자수 세기struct ContentView: View { @State var text = "" @FocusState var isFocused: Bool /// 공백 제외 var removeSpaceTextCount: Int { String(text.filter { $0 != " " }).count } /// 줄 개수 var newLineCount: Int { text.reduce(text.isEmpty ? 0 : 1) { $1 == "\n" ? $0 + 1 : $0 } } /// 단어 개수 var wordCount: Int { text.isEmpty ? 0 : text.trimmingChar..
- Total
- Today
- Yesterday
- 아이오에스
- swiftUI
- localizing
- 스위프트
- presentationcompactadaptation
- Reject
- 테이블뷰
- 로컬라이징
- Xcode
- indicator
- localizable
- Infinite Carousel
- 현지화
- 프로그레스
- Authorization
- AppStore
- 엑스코드
- TabBar
- SWIFT
- permission
- 리젝
- SKPayment
- 심사
- custom segment
- TabView
- 인디케이터
- 다국어
- Language
- ios
- picker
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |