Skip to content

yangxiangnan/CTAPI_Marvel

 
 

Repository files navigation

MARVEL

MARVEL API Document

pod "CTAPI_Marvel"

How To Use It

@implementation Target_CTMarvelKey

- (NSString *)Action_MarvelPublicKey:(NSDictionary *)params
{
    return @"your public key";
}

- (NSString *)Action_MarvelPrivateKey:(NSDictionary *)params
{
    return @"your private key";
}

@end
  • create an Object named Target_CTAppContext in your own project (for CTNetworking)
@implementation Target_CTAppContext

- (BOOL)Action_isReachable:(NSDictionary *)params
{
    return YES;
}

- (NSInteger)Action_cacheResponseCountLimit:(NSDictionary *)params
{
    return 2;
}

- (BOOL)Action_shouldPrintNetworkingLog:(NSDictionary *)params
{
    return YES;
}

@end
  • haa! you can use MARVEL API now! read demos for how to use the APIManagers

SceenShot

screen shot

About

Marvel API for iOS Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 77.7%
  • Shell 13.1%
  • Ruby 9.2%