Skip to content

Commit

Permalink
[Team-MoMo#226] IBAction 함수명 renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongchoyi committed Jan 31, 2021
1 parent addf6db commit 8525203
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MoMo/MoMo/Sources/ViewControllers/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,12 @@ class HomeViewController: UIViewController, UIGestureRecognizerDelegate {

// MARK: - @IBAction Properties

@IBAction func touchUpHomeTopButton(_ sender: Any) {
@IBAction func touchHomeTopButton(_ sender: Any) {
homeTableView.setContentOffset(.zero, animated: true)
swipeUpButton.isHidden = true
}

@IBAction func touchUpUploadButton(_ sender: Any) {
@IBAction func touchUploadButton(_ sender: Any) {
let onboardingStoryboard = UIStoryboard(name: Constants.Name.onboardingStoryboard, bundle: nil)
guard let dvc = onboardingStoryboard.instantiateViewController(identifier: Constants.Identifier.moodViewController) as? MoodViewController else {
return
Expand All @@ -571,7 +571,7 @@ class HomeViewController: UIViewController, UIGestureRecognizerDelegate {
self.navigationController?.pushViewController(dvc, animated: true)
}

@IBAction func touchUpListButton(_ sender: Any) {
@IBAction func touchListButton(_ sender: Any) {
let listStoryboard = UIStoryboard(name: Constants.Name.listStoryboard, bundle: nil)
guard let dvc = listStoryboard.instantiateViewController(identifier: Constants.Identifier.listViewController) as? ListViewController else {
return
Expand All @@ -581,7 +581,7 @@ class HomeViewController: UIViewController, UIGestureRecognizerDelegate {

self.navigationController?.pushViewController(dvc, animated: true)
}
@IBAction func touchUpCalendarButton(_ sender: Any) {
@IBAction func touchCalendarButton(_ sender: Any) {
let uploadModalViewController = UploadModalViewController()

uploadModalViewController.modalPresentationStyle = .custom
Expand Down

0 comments on commit 8525203

Please sign in to comment.