Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.59 KB

README.md

File metadata and controls

68 lines (48 loc) · 1.59 KB

BundleInfos

Simple getter for bundle informations

Swift Version Swift Version

It's simple and static way for getting information from main bundle

Requirements

  • iOS 8.0+
  • Xcode 7.3

Installation

Manually

  1. Download and drop bundles.swift in your project.
  2. Congratulations!

Usage example

by pre defines
let bundleName: String = BundleName.valueForMainBundle

by string
"{Key from Bundle information}".valueForMainBundle
ex)
let bundleName: String = "CFBundleName".valueForMainBundle

Pre Defines

This from Information Property List Key Reference

  • BundleSupportedPlatforms
  • BundleInfoDictionaryVersion
  • BundleDevelopmentRegion
  • BundleNumericVersion
  • BundleIdentifier
  • BundleShortVersionString
  • BundleExecutable
  • BundlePackageType
  • BundleName
  • BundleVersion

Release History

Next Release

  • 0.0.2
    • more bundle informations
    • more readablility

Contribute

I would love for you to contribute to BundleInfos. Hope to be 'are we' from 'am i'

Team

Jay Choi – [email protected]