No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
Pod
.gitignore
.travis.yml
FTMoreApps.podspec
LICENSE
README.md

README.md

FTMoreApps

[![CI Status](http://img.shields.io/travis/Felipe Tumonis/FTMoreApps.svg?style=flat)](https://travis-ci.org/Felipe Tumonis/FTMoreApps) Version License Platform

Description

FTMoreApps is an iOS library created to present a view controller inside your application to show your developer page of apps. It is very similar to the App Store visual.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Just #import the FTMoreApps.h header, and call the one of the methods described below to present the view controller.

#import <FTMoreApps/FTMoreApps.h>

...

- (IBAction)buttonPressed:(id)sender {

    FTMoreApps *moreAppsManager = [FTMoreApps sharedManager];

    [moreAppsManager presentMoreAppsInViewController:self
                                         developerId:@"318226300" // You can find your developer id in your iTunes link of your apps: https://itunes.apple.com/us/artist/felipe-tumonis/id318226300?mt=8
                                     descriptionType:FTDescriptionTypeScreenshots
                                          completion:nil];

    /* 
    // OR
    [moreAppsManager presentMoreAppsInViewController:self
                                              appIds:@[@"app_id_1", @"app_id_2", ...] // The ids of the apps you want to show
                                     descriptionType:FTDescriptionTypeText
                                          completion:nil];
    */

    moreAppsManager.showActionButton = NO;
    moreAppsManager.showPrice = NO;
    moreAppsManager.title = NSLocalizedString(@"More apps", nil);

    moreAppsManager.willDismissBlock = ^{
        NSLog(@"will dismiss more apps view controller");
    };

    moreAppsManager.didDismissBlock = ^{
        NSLog(@"did dismiss more apps view controller");
    };

    moreAppsManager.didSelectAppBlock = ^(NSString *appId){
        NSLog(@"did select app id: %@", appId);
    };
}

Requirements

This library requires iOS 7 and ARC.

Installation

FTMoreApps is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "FTMoreApps"

Or, simply copy all the files into your project.

Author

Felipe Tumonis, ftumonis@gmail.com

License

FTMoreApps is available under the MIT license. See the LICENSE file for more info.