In iOS, if UILabel inherits from UIView then why isn't the animate method available to UILabel and how would I have known to go up the class? I know its probably private to the UIView class but wouldn't it make sense to have it directly available to UILabel as well? How does Apple or developers dictate what methods should or should not be available?
Here's an example:
func animateLabelTransitions(){
UIView.animate(withDuration: 3.5, animations: {self.questionLabel.alpha = 1})
}