Skip to content

Instantly share code, notes, and snippets.

@aryasurya21
Created August 4, 2022 07:18
Show Gist options
  • Save aryasurya21/3dfe20278837561bda0b5a8fbaf023ec to your computer and use it in GitHub Desktop.
Save aryasurya21/3dfe20278837561bda0b5a8fbaf023ec to your computer and use it in GitHub Desktop.
import UIKit
import Shared
public class CatalogPageViewController: UIViewController {
@IBOutlet weak var collectionView: UICollectionView!
let viewModel: CatalogPageViewModel
public init() {
self.viewModel = CatalogPageViewModel(useCase: CatalogPageUseCase())
let bundle = Bundle(for: Self.self)
super.init(nibName: "CatalogPageViewController", bundle: bundle)
}
//rest of the code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment