Swift and using class extension

For me it seems completely reasonable since you can use extensions to expose different parts of logic to different extensions. This can also be used to make class conformance to protocols more readable, for instance class ViewController: UIViewController { … } extension ViewController: UITableViewDelegate { … } extension ViewController: UITableViewDataSource { … } extension ViewController: … Read more