The car of the future is shared and driven by software

Recommended By

There are many visions on where mobility is going and how transportation will evolve. Which will prevail? Where will the disruption occur? I suspect the car I drive now, will be the last one I

Hey Siri, how do I start a conversation with someone with a disability?

Recommended By

We all love Siri’s little witty quips, but I recently read a heartwarming article over on Mashable that reflects the power of technology to change lives in ways that most of us would never appreciate. I won’t spoil

CES 2017: Health and Accessibility

Recommended By

This year’s CES certainly lived up to the Las Vegas expo’s reputation as the place to see what’s next in tech, showcasing innovations that will set the tone for the rest of the year and beyond. The

NSNotificationCenter for iOS and Mac

Guides | Tutorial By 5 years ago

If you’ve ever needed to have an object with multiple delegates you may have created an array and then added each of your delegates to it. This does work but there’s a simpler way which is much easier to implement. Using the NSNotificationCenter you can have objects subscribe to the events/messages they want to know about and get called whenever that ‘event’ takes place. The Cocoa framework uses this as well, and let’s you subscribe to things such as an app entering the background, changing orientations, when it’s running out of memory and when the keyboard is presented or dismissed.