Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oozoofrog/BundleInfos
Simple getter for bundle informations, written in Swift
https://github.com/oozoofrog/BundleInfos
Last synced: 15 days ago
JSON representation
Simple getter for bundle informations, written in Swift
- Host: GitHub
- URL: https://github.com/oozoofrog/BundleInfos
- Owner: oozoofrog
- Created: 2016-06-24T03:21:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T01:57:44.000Z (over 8 years ago)
- Last Synced: 2024-11-30T20:35:52.980Z (21 days ago)
- Language: Swift
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ios - BundleInfos - Simple getter for Bundle informations. like short version from bundle. (Utility / Web View)
README
# BundleInfos
> Simple getter for bundle informations[![Swift Version][swift-image-2.0]][swift-url]
[![Swift Version][swift-image]][swift-url]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
```swift
by pre defines
let bundleName: String = BundleName.valueForMainBundleby string
"{Key from Bundle information}".valueForMainBundle
ex)
let bundleName: String = "CFBundleName".valueForMainBundle
```## Pre Defines
This from [Information Property List Key Reference](https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102088)- `BundleSupportedPlatforms`
- `BundleInfoDictionaryVersion`
- `BundleDevelopmentRegion`
- `BundleNumericVersion`
- `BundleIdentifier`
- `BundleShortVersionString`
- `BundleExecutable`
- `BundlePackageType`
- `BundleName`
- `BundleVersion`## Release History
* 0.0.1
* Update README.md for [iOS Open source Readme Template](https://github.com/awesome-labs/iOS-readme-template)
* Work in progress## 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]
[swift-image-2.0]:https://img.shields.io/badge/swift-2.0-orange.svg
[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg
[swift-url]: https://swift.org/