Releases: kimdaehee0824/DeviceNameKit
Releases · kimdaehee0824/DeviceNameKit
Version 1.0.0
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/awaitfor 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
UserDefaultsto reduce redundant API calls.
- Supports multiple caching policies (
- 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
deviceModelproperty.
Contributor
This marks the official first release of DeviceNameKit. Thank you for your support! 🚀