Created
July 12, 2021 17:09
-
-
Save atulkhatri/ea8e786fec066e2e8e32dbab07c4d0e6 to your computer and use it in GitHub Desktop.
tvOS Bootcamp Network Manager 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NetworkManager().fetchMovieData { [weak self] (page, error) in | |
guard let self = self else { return } | |
if let page = page { | |
self.loadData(page: page) | |
} else { | |
print("No movies found!!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment