// 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..
// https://www.codecademy.com/resources/docs/swiftui/drag-and-drop // https://hyeondxx.medium.com/swiftui-customlist-순서-바꾸기-58ff224b1ad8 /// 드래그 앤 드랍 (순서 변경) struct DropViewDelegate: DropDelegate { let item: String @Binding var items: [String] @Binding var draggedItem: String? // 드래그 할 때 아이템 우측 상단에 표시되는 이미지 설정 (이 매서드 아예 안쓰면 기본 값 copy : + 플러스 이미지) func dropUpdated(info: DropInfo) -> DropProposal?..
- Total
- Today
- Yesterday
- TabBar
- 아이오에스
- custom segment
- localizable
- Language
- picker
- TabView
- swiftUI
- 심사
- 로컬라이징
- presentationcompactadaptation
- 프로그레스
- 스위프트
- 인디케이터
- 현지화
- 다국어
- 엑스코드
- SWIFT
- indicator
- 리젝
- Infinite Carousel
- Reject
- Authorization
- AppStore
- 테이블뷰
- localizing
- SKPayment
- Xcode
- ios
- permission
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |