Introduction
InfoPlist
is an Info.plist
assistant for Cocoa/Cocoa Touch.
Requirements
- iOS 8.0+
- watchOS 2.0+
- tvOS 9.0+
- macOS 10.10+
- Xcode 9 with Swift 4
Installation
CocoaPods
use_frameworks!
pod 'InfoPlist'
Usage
import InfoPlist
let infoDictionary = InfoPlist.dictionary // [String: Any]?
_ = InfoPlist.getStringValue(forKey: "CFBundleDisplayName") // String?
_ = InfoPlist.getStringValue(forKey: "CFBundleVersion") // String
_ = InfoPlist.getBool(forKey: "UIStatusBarHidden") // Bool
_ = InfoPlist.isStatusBarHidden // Bool
_ = InfoPlist.iTunesFileSharingEnabled // Bool
_ = InfoPlist.cameraUsageDescription // String?