Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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.