📃Info.plist assistant.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
InfoPlist
Sample
docs
.gitignore
.swift-version
InfoPlist.podspec
LICENSE
README.md

README.md

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?