Read about the failable initializer in Swift, and how to use it in custom types in order to return nil if proper initialization fails.
Simplifying Keyboard Notifications Handling on iOS
Learn how to implement a totally different way to deal with keyboard notifications in UIKit based iOS projects that’s extremely easy to use.