Skip to content

Commit

Permalink
Merge pull request #19 from BE-SOPT-Collaboration-Seminar-Coinone/fea…
Browse files Browse the repository at this point in the history
…ture/#2

[FIX] 필터버튼수정
  • Loading branch information
hansolnoh95 authored May 20, 2021
2 parents 9a9e768 + 0bd7d97 commit a611ff0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Coinone-iOS/Coinone-iOS/Source/ViewControllers/GeoraesoVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ class GeoraesoVC: UIViewController {
weight: .light,
scale: .large),
forImageIn: .normal)
button.addTarget(self, action: #selector(touchUpFilterButton), for: .touchUpInside)

return button
}()
Expand Down Expand Up @@ -410,15 +409,6 @@ extension GeoraesoVC {

}

// MARK: - Action
extension GeoraesoVC {
@objc func touchUpFilterButton() {
print("touchUp transPrice Filter Button")
self.stockList = self.stockList.sorted(by: { $0.transPrice > $1.transPrice })
self.tableView.reloadData()
}
}

// MARK: - TableViewDelegate
extension GeoraesoVC: UITableViewDelegate {
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
Expand Down

0 comments on commit a611ff0

Please sign in to comment.