Swiftpack.co -  bixcorp/BDLocalizedDevicesModels as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
bixcorp/BDLocalizedDevicesModels
Apple devices model names localized.
.package(url: "https://github.com/bixcorp/BDLocalizedDevicesModels.git", from: "2.2.0")

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: 21
Last commit: 2 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

September 2021 lineup updates
2 days ago

Released on 2021-09-15.

Added

  • New iPad models.
  • New iPhone 13 models.
  • New Apple Watch models.

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