Skip to content

Commit

Permalink
[refactor] TabCoordinator내의 TabBarPage의 메서드를 계산 프로퍼티로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jinwoong16 committed Nov 16, 2022
1 parent f7c7f6a commit 3fef696
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum TabBarPage {
}
}

func pageTitleValue() -> String {
var pageTitleValue: String {
switch self {
case .home:
return ""
Expand All @@ -40,7 +40,7 @@ enum TabBarPage {
}
}

func pageOrderNumber() -> Int {
var pageOrderNumber: Int {
switch self {
case .home:
return 0
Expand All @@ -51,7 +51,7 @@ enum TabBarPage {
}
}

func pageIcon() -> UIImage? {
var pageIcon: UIImage? {
switch self {
case .home:
return UIImage(systemName: "house")
Expand Down

0 comments on commit 3fef696

Please sign in to comment.