Git Product home page Git Product logo

thmorefromdeveloper's Introduction

THMoreFromDeveloper

Pod Version Pod Platform Pod License

This control can be used to show other Apps from a developer or a list of APPs that can be intresting to the user of a current APP.

Screenshots

iPhone Portrait iPhone Landscape

Installation

CocoaPods

Install with CocoaPods by adding the following to your Podfile:

platform :ios, '6.1'
pod 'THMoreFromDeveloper', '~> 0.1.1'

Note: We follow http://semver.org for versioning the public API.

Manually

Or copy the THMoreFromDeveloper/ directory from this repo into your project and add the following dependencies

Dependencies

Features

V0.1.X

  • Bugfix/Help #1

V0.0.X

Usage

#import "THMoreFromDeveloperModel.h"

@interface THMoreFromDeveloperCollectionViewController ()
@property (nonatomic,strong)THMoreFromDeveloperModel *model;
@end

- (void)viewDidLoad {
    [super viewDidLoad];
    self.model = [[THMoreFromDeveloperModel alloc] init];
    [[NSNotificationCenter defaultCenter] addObserver: self
                                             selector: @selector(appIdsLoaded:)
                                                 name:kMoreFromDeleveloperDone
                                               object: nil];
	// Load it with APPids
	[self.model loadAppIds:@[@"509943167",@"875251011",@"420636551",@"645859810",@"767319014"]];
	// Load it with a single Developer ID
	// [self.model loadDeveloperId:@"833472034"];
}

- (void)appIdsLoaded:(NSNotification* )notification {
    // Show data using [self.model jsonResults]
}

for more details please have a look at the Example. It shows how to integrate this classes with the rest of your project.

#Contributions

...are really welcome. If you have an idea just fork the library change it and if its useful for others and not affecting the functionality of the library for other users I'll insert it

License

Source code of this project is available under the standard MIT license. Please see the license file.

thmorefromdeveloper's People

Contributors

hons82 avatar

Stargazers

John Nguyen avatar  avatar stevensunzh avatar Ume avatar Sergey Makkena avatar Omar Al tawashi avatar hkez avatar  avatar Anton Lookin avatar 独上兰舟 avatar Phyo avatar zhang yi avatar 0.7 avatar  avatar Echo Liao avatar Michael Pchelnikov avatar Do avatar  avatar Aleksandar Vacić avatar  avatar Charles Sieg avatar  avatar Andi avatar Bishal Ghimire avatar Jörgen Isaksson avatar Alex Plekhanov avatar David Renoldner avatar Andrey Tyushlyaev avatar  avatar  avatar Carabineiro avatar David Elsonbaty avatar Yothin Samrandee avatar Indrajit Chakrabarty avatar

Watchers

John avatar James Cloos avatar  avatar Carabineiro avatar  avatar

thmorefromdeveloper's Issues

Main project without using story board

Hello.
I was trying to use your controller but I was not able to since I have to run it not from a story board but programmatically.
So I was wondering if you can also provide an example about running your project without story board. It will be really helpful.
Thank you so much.

Unable to load app icon when just one app icon is present

Hello
Related to the title, I had that problem with your controller.
To solve that issue I went to Model class and I put following lines of code under "loadAppId" method:

if ([json[@"results"] count] > 0) {
//tmp = [json[@"results"] subarrayWithRange:NSMakeRange(1, [json[@"results"] count]-1)];
tmp = json[@"results"];
}

I am wondering if there was a reason why you did not take app icon when it was the only one.

Other thing: think about a method like this in "Cell" class:

- (void)setAppNameFont:(UIFont *)font withColor:(UIColor *)color
{
    [_appNameLabel setFont:font];
    [_appNameLabel setTextColor:color];
}
- (void)setAppNameFont:(UIFont *)font withColor:(UIColor *)color;

to let user change font and color of app icon title. More in general, it would be better to give user more customization like the one I showed.

Do you need a pull request for this?

Please let me know what you think. Thank you.

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.