Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meniny/infoplist

πŸ“ƒInfo.plist assistant.
https://github.com/meniny/infoplist

info-plist xcode

Last synced: 25 days ago
JSON representation

πŸ“ƒInfo.plist assistant.

Awesome Lists containing this project

README

        

## 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

```ruby
use_frameworks!
pod 'InfoPlist'
```

## Usage

```swift
import InfoPlist
```

```swift
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?
```