January 2020
Beginner
822 pages
17h 3m
English
You can now sign in successfully and the user's information is in your app. To display the user's given name in ExploreViewController, you need to implement the prepare(for:) method in SignInViewController. This is so you can pass the user's given name to ExploreViewController and use it to set the value of the large label in headerView. Follow these steps to do so:
var givenName:String?
func collectionView(_ collectionView: UICollectionView, ...
Read now
Unlock full access