Swiftpack.co - bixcorp/BDLocalizedDevicesModels as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by bixcorp.
bixcorp/BDLocalizedDevicesModels 3.0.1
Apple devices model names localized.
⭐️ 23
🕓 2 weeks ago
iOS watchOS tvOS
.package(url: "https://github.com/bixcorp/BDLocalizedDevicesModels.git", from: "3.0.1")

LocalizedDeviceModel

Apple product names localized.

Usage

Note: To use a localization included in the package, the app using the package must support this localization.

Localized product name

Swift

UIDevice.current.localizedProductName

Objective-C

[UIDevice currentDevice].localizedProductName;

English product name

Swift

UIDevice.current.productName

Objective-C

[UIDevice currentDevice].productName;

GitHub

link
Stars: 23
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2 weeks ago

Released on 2022-05-09.

Fixed

  • Make UIDevice extension public.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics