     return false
   }
 }
-
 
 class ProfileViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UIViewControllerTransitioningDelegate {
     

		}
		
		setupUserUI()
		updateFollowingUI()
	}
	
	override func viewWillAppear(_ animated: Bool) {
		super.viewWillAppear(animated)
		
		nameLabel.isHidden = notConnected(true)
		usernameLabel.isHidden = notConnected(false)
		followButton.isHidden = notConnected(false)

	}
	
	override func viewDidAppear(_ animated: Bool) {

	}

	func setupUserUI() {
		API.sharedAPI.fetchPosts(user.id) { post in
			self.posts = post
			self.postedDates = post.map { $0.date! }
