Skip to content

Releases: kimdaehee0824/DeviceNameKit

Version 1.0.0

03 Mar 06:16

Choose a tag to compare

Added Features

  • Device Identifier to Model Name Conversion: Converts Apple device identifiers (e.g., iPhone15,2) into human-readable model names (e.g., iPhone 14 Pro).
  • Supports All Apple Platforms: Works with iOS, macOS, watchOS, tvOS, and visionOS.
  • Multiple Data Retrieval Methods:
    • async/await for modern Swift concurrency.
    • Completion handler-based API for backward compatibility.
    • Combine support for reactive programming.
  • Caching System:
    • Supports multiple caching policies (.noCache, .oneDay, .threeDays, .sevenDays, .oneMonth, .forever).
    • Uses UserDefaults to reduce redundant API calls.
  • Reliable Data Fetching:
    • getSafeDeviceName() ensures the app functions properly even in case of network failure.
    • Logs errors internally while providing fallback values.
  • Preloading Support:
    • preload() fetches data in advance for improved performance.
    • Cached model names can be accessed via deviceModel property.

Contributor

This marks the official first release of DeviceNameKit. Thank you for your support! 🚀