CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

InfoPlist 1.3.0

InfoPlist 1.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2019
SPMSupports SPM

Maintained by Meniny.



InfoPlist 1.3.0

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?