With iOS 10, tvOS 10, and watchOS 3, Apple is introducing a new framework called the UserNotifications framework. This brand new set of APIs provides a unified, object-oriented way of working with both local and remote notifications on these platforms. This is particularly useful as, compared to the existing APIs, local and remote notifications are now handled very similarly, and accessing notification content is no longer done just through dictionaries.
In this tutorial, I'll go through the basics of this new framework and show how you can easily take advantage of it to support notifications for your applications.
This tutorial requires that you are running Xcode 8 with the latest iOS, tvOS, and watchOS SDKs.