Releases: debug45/PermissionWizard
1.4.0
Thank you for using the library! š
New
⢠Add support of the adding only access level for the calendars permission type (iOS 17 and macOS 14 Sonoma)
Changes
⢠Increase minimal supported platform versions to iOS 14, macOS 11 Big Sur and Xcode 15
⢠Update all the native icons
Other
⢠Fix the calendars and reminders permission types broken in iOS 17 and macOS 14 Sonoma
⢠Improve support of iOS apps running on Mac with Apple Silicon chips
⢠Bring some other minor improvements
1.3.0
Thank you for using the library! š
New
⢠Implement support of async/await syntax
⢠Add the localized strings for Bulgarian and Kazakh languages
Changes
⢠Significantly upgrade the thread management feature
// How it was
Permission.preferredQueue = nil
Permission.preferredQueue = .main
// How it became
Permission.tracking.checkStatus { _ in
// Default queue
}
Permission.tracking.checkStatus(completion: { _ in
// DispatchQueue.main
}, forcedInvokationQueue: .main)⢠Update all the native icons and the localized strings
Other
⢠End support of iOS 11
⢠A lot of small fixes
1.2.1
1.2
1.1
Thank you for using the library! š
New
⢠Add support of Siri permission type
⢠Document all the library API in full details
⢠Implement flexible styling of permission type icons
let permission = Permission.music.self
permission.getIcon() // Styled like in the system preferences
permission.getIcon(squircle: false) // Square without any effects⢠Localize all string constants into all system languages
⢠Add the general privacy icon
Changes
⢠All access requests now require to use try
try? Permission.faceID.requestAccess { _ in }
do {
try Permission.siri.requestAccess { _ in }
} catch let error {
guard let error = error as? Permission.Error else {
return
}
error.type // .missingPlistKey
error.userInfo["message"] // You must add a row with the āNSSiriUsageDescriptionā key to your appās plist file and specify the reason why you are requesting access to Siri. This information will be displayed to a user.
}⢠Rename the āIconsā component to āAssetsā
⢠Improve support of Mac Catalyst
Other
⢠Big internal refactoring for greater code reuse
⢠A lot of small fixes