ProfileController
class ProfileController : UIViewController
User ProfileController
-
ProfileController View
Declaration
Swift
var profileView: ProfileView
-
Database instance
Declaration
Swift
var capDatabase: CapDatabase!
-
Collection of user images
Declaration
Swift
var userImageObjects: [UserImage]
-
Initial load
Declaration
Swift
override func viewDidLoad()
-
viewDidLayoutSubviews
Declaration
Swift
override func viewDidLayoutSubviews()
-
viewWillAppear
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
numberOfItemsInSection
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
cellForItemAt
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
collectionViewLayout
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
minimumLineSpacingForSectionAt
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat
-
minimumInteritemSpacingForSectionAt
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat
-
insetForSectionAt
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
-
didSelectItemAt
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Profile image tap handler
Declaration
Swift
func handleProfileTap()