oozoofrog / BundleInfos

Simple getter for bundle informations, written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 – eyerama@gmail.com

About

Simple getter for bundle informations, written in Swift


Languages

Language:Swift 100.0%