📢 Release Notes for DeviceIdentificator 4.0.0
🚀 What’s New in 4.0.0
This release is a complete rewrite of DeviceIdentificator, introducing a more modular and scalable architecture.
🔄 Major Changes
- Refactored
DeviceModel
- Previously,
DeviceModel
was an extension ofUIDevice
. - Now, it is a standalone enum, improving flexibility and maintainability.
- Device types (iPhones, iPads, etc.) are now split into separate models for better organization.
- Swift Package Manager (SPM) Support.
- 📦 DeviceIdentificator is now distributed exclusively via Swift Package Manager.
- ❌ CocoaPods and Carthage support have been removed to streamline dependency management.
- Updated Device Families
- The list of supported devices has been refreshed to include the latest iPhone, iPad, and other Apple models.
🛠 Migration Guide
If you were using an older version of DeviceIdentificator
:
- Remove any CocoaPods or Carthage dependencies.
- Integrate via Swift Package Manager:
- In Xcode, go to File → Add Packages → Enter:
https://github.com/hyperdevs-team/DeviceIdentificator
- Select version 4.0.0 and add it to your project.
- Update your code to use the new
DeviceModel
enum structure.
💡 Why Upgrade?
✅ Improved code structure & maintainability
✅ Future-proof with SPM
✅ Supports the latest Apple devices