TestsTested | β |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Easily access and manipulate the the Info.plist file of your project.
It can be used, for example, to add some alphanumeric values ββin the version of the application APIs that are used by track view analysis.
NZBundle works on iOS 5.0+ version and is compatible with ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates:
You will need LLVM 3.0 or later in order to build NZBundle.
Alternatively you can directly add source files to your project.
NZBundle
folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.X.X.Xa alpha
X.X.Xa
#import "NZBundle.h"
...
[NZBundle setupShortVersion];
#import "NZBundle.h"
...
[NZBundle setShortVersionForDevelopment:@"dev" andDistribution:@"prd"];
Info.plist
values:#import "NZBundle.h"
...
// CFBundleInitialShortVersionString (custom key)
// this key is created to save initial short value
NSString shortVersion = [NZBundle initialShortVersion];
// CFBundleShortVersionString
NSString shortVersion = [NZBundle shortVersion];
// UIMainStoryboardFile
NSString phoneStoryboard = [NZBundle mainStoryboardFileName];
// UIMainStoryboardFile~ipad
NSString padStoryboard = [NZBundle mainStoryboardFilePadName];
To enable the logs in debug/release mode, add #define NZDEBUG
at *-Prefix.pch
file in your project.
This code is distributed under the terms and conditions of the MIT license.
A brief summary of each NZBundle release can be found on the wiki.