Closed yongbeomkwak closed 1 month ago
μ‘°κΈ λ μμ¬μ΄ μμ λ₯Ό ν΅ν΄ UXλ₯Ό ν₯μ μν΅λλ€.
Resolves: #1310
public func tableView( _ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath ) -> UISwipeActionsConfiguration? { let deleteAction = UIContextualAction(style: .destructive, title: "μμ ") { [weak self] action, _, completion in guard let self else { return } self.reactor?.action.onNext(.removeSwippedButtonDidTap(indexPath)) } deleteAction.backgroundColor = DesignSystemAsset.PrimaryColorV2.increase.color let configuration = UISwipeActionsConfiguration(actions: [deleteAction]) configuration.performsFirstActionWithFullSwipe = false return configuration }
XCConfig
λ Έμ
README
"API κ°λ° μλ£λμ΄μ"
"XCConfig κ° μΆκ°λμμ΄μ"
π‘ λ°°κ²½ λ° κ°μ
μ‘°κΈ λ μμ¬μ΄ μμ λ₯Ό ν΅ν΄ UXλ₯Ό ν₯μ μν΅λλ€.
Resolves: #1310
π μμ λ΄μ©
tableview Swipe delete μ΅μ μΆκ°
πββοΈ λ¦¬λ·°λ ΈνΈ
β PR 체ν¬λ¦¬μ€νΈ
XCConfig
,λ Έμ
,README
)"API κ°λ° μλ£λμ΄μ"
,"XCConfig κ° μΆκ°λμμ΄μ"
)πΈ κΈ°ν