mercredi 5 février 2020

How do you implement a pattern used by frameworks like ios?

For example, when I write this as the client, it knows to call certain methods I've defined.

class MyViewController: UITableViewController {
  // override some methods in the parent
}

Is this simply done by checking the type of the view controllers and calling certain methods or is there more to it than that?

Aucun commentaire:

Enregistrer un commentaire