Skip to content

APAlertView 2.0.6 - Swift Package Manager Support & Modern API

Latest

Choose a tag to compare

@Arvindcs Arvindcs released this 03 Jul 12:28
· 1 commit to main since this release

🚀 What’s New
Modern SwiftUI API:
Migrated from ActionSheetConfiguration to ConfirmationDialogConfiguration for a more native and future-proof SwiftUI experience. All related methods and documentation have been updated accordingly.

Cleaner Package Structure:
Only the core library code is included in the Swift Package build. Example and demo code are now separated in the Examples/ directory and will not appear in SPM consumers' projects.

Public Initializer:
The APAlertView initializer is now public, ensuring seamless integration for all Swift Package Manager users.
Documentation & Example Updates:
All documentation and sample code have been revised to reflect the new API and best practices.

🛠️ Migration Guide
Replace all references to ActionSheetConfiguration and showActionSheet with ConfirmationDialogConfiguration and showConfirmationDialog.
Update any usage of .initializeAlertActionSheet to .initializeAlertConfirmationDialog.
For photo picker dialogs, use showPhotoPickerConfirmationDialog.