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
- 책후기
- Mock
- 아이폰
- delegation
- NumberFormatter
- Info.plist
- Codegen
- @available
- human interface guidelines
- 스위프트
- xcode
- Structures and Classes
- SWIFTUI
- 독후감
- viewcontroller
- roundingMode
- mvvm
- 스타트업주니어로살아남기
- SWIFT
- Modality
- 독서후기
- NotificationCenter
- contentInset
- Failed to register bundle identifier
- IOS
- 야곰아카데미
- Navigation
- View Life Cycle
- 부트캠프
- UIResponder
Archives
- Today
- Total
목록tableView (1)
호댕의 iOS 개발
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cT8FV4/btrJvlfLvHu/uXOxHNt4AWYKhLvJ0ZWfZk/img.png)
연락처 앱이나 메모 앱을 켜보면 스와이프 기능이 있는 경우가 있다. 스와이프를 통해 해당 셀을 삭제하거나 공유할 수 있도록 하는 것이다. 이는 굳이 버튼을 누르지 않더라도 직관적으로 스와이프 동작을 통해 원하는 액션을 동작할 수 있도록 할 수 있다. 그렇다면 이런 스와이프 기능을 구현하려면 어떻게 해야할까? 🛠 관련 메서드 이는 UITableViewDelegate에 관련된 메서드를 사용하면 된다. func tableView(_ tableView:leadingSwipeActionsConfigurationForRowAt:) -> UISwipeActionsConfiguration? func tableView(_ tableView:trailingSwipeActionsConfigurationForRowAt:) -..
Software Engineering/iOS
2022. 3. 13. 18:18