Skip to content

Instantly share code, notes, and snippets.

@aliakhtar49
Last active November 4, 2022 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliakhtar49/8a6e038361922db14d167600820de9a1 to your computer and use it in GitHub Desktop.
Save aliakhtar49/8a6e038361922db14d167600820de9a1 to your computer and use it in GitHub Desktop.
final class OrderTrackingViewController: UIViewController {
override func viewDidLoad() {
// Initial show loading view
ui.configureSkeltonView()
repo.fetchOrderTrackingResponse { [weak self] orderResponse in
// Response receive render whole screen with data
self?.ui.configureContainerView(response: orderResponse!)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment