Improving Optionals
Optionals are great. I've tracked down too many bugs to Objective-C's magical "messages to nil return nil"; I have no interest in going back. But sometimes there are things you want to do with optionals or when optionals are of a specific type. Here are some of my favorites:
from Pocket http://ift.tt/2k7fy3y
via IFTTT