Build Status
What is this?
notify users about new features(change log) in the app the first time they launch after an update.
simple!
Installation
pod 'NotifyChangeLog', :podspec => "https://raw.github.com/azu/notify-changeLog/master/NotifyChangeLog.podspec"
or
D&D NotifyChangeLog directory into your project.
How to Use
- Write change log to
ChangeLog.plist
- Call
[NotifyChangeLog showAndSave];
- show change log in UIAlertView
also get change log - call [NotifyChangeLog changeLogAtCurrent];
(with have to manually save - [NotifyChangeLog saveCurrentVersion]
)
Add code for insurance :
- (void)applicationDidEnterBackground:(UIApplication *)application
{
[NotifyChangeLog saveCurrentVersion];
}
Methods :
@interface NotifyChangeLog : NSObject
+ (BOOL)isFirstLaunchInCurrentVersion;
+ (NSString *)changeLogAtCurrent:(BOOL) force;
+ (NSString *)changeLogAtCurrent;
+ (void)showAndSave; // with save
+ (void)saveCurrentVersion;
@end
Example
azu/NotifyChangeLogExample · GitHub