I want to receive notifications from other applications that would appear on lock screen- similar to how Pebble and other smart watches receive them.
It is easy to register for notifications via
NSNotificationCenter.defaultCenter().addObserver(self, selector: "receiveNotification:", name: nil, object: nil)
But then the app receives loads of notifications, most of which are relatively meaningless (cache changes, state changes, UI changes, etc).
What would be the best way to filter only those notifications, that would appear on lock screen / show banner?