by Camillo · 11y ago · 0 comments
The error is made consistently all three times, so it's clear that the author is genuinely confused about Objective-C. Maybe he's better at Swift, but it doesn't look good.
* No need to have 20 parameters in your init method signature.
* Imitates Cocoa standard practices re: delegates.
* Swift's optional binding makes it safe if you don't force-unwrap objects (and makes your code more robust to boot).