AuthorPragati Rode

Push Notification displayed when application in foreground in iOS 10

P

Introduction:  The new framework called “UserNotifications” is introduced with iOS 10 SDK. The UserNotifications framework (UserNotifications.framework) supports the delivery and handling of local and remote notifications when application is in foreground Steps for implement code to handle push notifications in iOS 10 Import UserNotifications.framework in your AppDelegate file :                 ...

NSSortDescriptor in swift 3

N

To sort an json array using NSSortDescriptor in swift3   NSSortDescriptor : A sort descriptor describes a comparison used to sort a collection of objects. You create an instance of NSSortDescriptor that specifies the property key to be sorted, and whether the comparison should be in ascending, or descending order. A sort descriptor can also specify a method to use when comparing the property...

Category