GithubHelp home page GithubHelp logo

azu / notify-changelog Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 332 KB

notify change log in the app the first time they launch after an update.

License: MIT License

Ruby 4.01% Objective-C 66.94% Shell 25.77% Awk 3.27%

notify-changelog's Introduction

Build Status

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

  1. Write change log to ChangeLog.plist
  2. 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

similarity

notify-changelog's People

Contributors

azu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.