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 |
Tags
- ios
- ribs
- swift documentation
- uiscrollview
- 리펙토링
- HIG
- 스위프트
- Human interface guide
- map
- Refactoring
- 리팩토링
- UITextView
- SWIFT
- swiftUI
- Clean Code
- combine
- RxCocoa
- clean architecture
- collectionview
- uitableview
- Observable
- rxswift
- 클린 코드
- tableView
- UICollectionView
- MVVM
- 리펙터링
- Xcode
- 애니메이션
- Protocol
Archives
- Today
- Total
목록EditButton (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swiftUI] EditButton 사용 방법
목차) SwiftUI의 기본 - 목차 링크 EditButton iOS 13+부터 사용 가능 토글 성격의 버튼 EditButton은 일반적으로 List와 같이 사용 List는 또 ForEach와 같이 사용하는데, 이 ForEach에 onDelete {}, onMove {}를 추가하여 적용 .toobar { EditButton }만 추가하면 자동으로 위 화면처럼 delete버튼과 move버튼이 자동으로 적용 struct ContentView: View { @State private var fruits = [ "Apple", "Banana", "Papaya", "Mango" ] var body: some View { NavigationView { List { ForEach(fruits, id: \.self) ..
iOS 기본 (SwiftUI)
2022. 8. 9. 23:38