Skip to content

Commit

Permalink
#4 함수 나열해서 호출하는 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
zombietux committed Apr 23, 2021
1 parent 74fdbbf commit 27d3a2d
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ class SidedishViewController: UIViewController {
super.viewDidLoad()
sidedishViewModel = SidedishViewModel()
configureCollectionView()
fetchMainData(path: mainPath)
fetchSoupData(path: soupPath)
fetchSideData(path: sidePath)
congigureFetchData()
}

private func congigureFetchData() {
self.fetchMainData(path: self.mainPath)
self.fetchSoupData(path: self.soupPath)
self.fetchSideData(path: self.sidePath)
}

private func configureCollectionView() {
Expand Down

0 comments on commit 27d3a2d

Please sign in to comment.