Hello! In xcode 6, this line works just fine, but in xcode 7 GM, I am getting the error: Type of expression is ambigious without more context. And the part that is highligted for the error is the ".Alert"
Can someone help me, please?
application.registerUserNotificationSettings(UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: NSSet(array: [todoCategory]) as Set<NSObject>))