Skip to content

Simple getter for bundle informations, written in Swift

Notifications You must be signed in to change notification settings

oozoofrog/BundleInfos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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]

About

Simple getter for bundle informations, written in Swift

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages