/// 글자수 세기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..
탭뷰의 아이템 터치 시 탭 전환 말고 Navigation 이동 /// iOS 16 이상 버전 struct ContentView: View { @State private var isDetailViewPresented = false @State private var selectedTabIndex = 0 var body: some View { NavigationStack { TabView(selection: $selectedTabIndex) { Text("Tab 0 Content") .tabItem { Image(systemName: "0.circle.fill") Text("Tab 0") } .tag(0) Text("Tab 1 Content") .tabItem { Image(systemName: "1.circ..
- Total
- Today
- Yesterday
- permission
- 프로그레스
- presentationcompactadaptation
- 로컬라이징
- localizing
- localizable
- TabBar
- 인디케이터
- Xcode
- 현지화
- custom segment
- ios
- 아이오에스
- 다국어
- SWIFT
- AppStore
- 테이블뷰
- Infinite Carousel
- Authorization
- swiftUI
- 엑스코드
- 스위프트
- Reject
- Language
- picker
- indicator
- 리젝
- SKPayment
- TabView
- 심사
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |