Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@adrianrl adrianrl released this 03 Mar 17:58
· 1 commit to master since this release

📢 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 of UIDevice.
  • 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:

  1. Remove any CocoaPods or Carthage dependencies.
  2. 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.
  3. 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