Skip to content
Apple devices model names localized.
Branch: master
Clone or download
Latest commit eee8a8e Mar 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BDLocalizedDevicesModels.xcodeproj Added sample app scheme Feb 12, 2019
BDLocalizedDevicesModels Renamed 4th generation Apple TV Mar 26, 2019
SampleApp Cleaned code Feb 12, 2019
.gitignore Moved to Carthage Jun 28, 2018
CHANGELOG.md Updated CHANGELOG Mar 26, 2019
LICENSE Added License Oct 23, 2017
README.md Updated README Feb 12, 2019

README.md

BDLocalizedDevicesModels

Apple product names localized.

Carthage compatible Xcode 9.0+ iOS 9.0+ tvOS 9.0+ Swift 4.0+

Installation

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate BDLocalizedDevicesModels into your Xcode project using Carthage, specify it in your Cartfile:

github "bixcorp/BDLocalizedDevicesModels"

Usage

Note: To use a localization included in the framework bundle, the app using the framework 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;
You can’t perform that action at this time.