Inherits from NSObject
Declared in Talkable.h

Properties

apiKey

@property NSString *apiKey

apiSlug

@property NSString *apiSlug

client

@property AFHTTPRequestOperationManager *client

Class Methods

sharedInstance

+ (Talkable *)sharedInstance

Instance Methods

createOrigin:withHandler:

- (void)createOrigin:(NSDictionary *)params withHandler:(void ( ^ ) ( NSDictionary *response ))handler

createShare:withHandler:

- (void)createShare:(NSDictionary *)params withHandler:(void ( ^ ) ( NSDictionary *response ))handler

deviceId

- (NSString *)deviceId

nativeShareFor:withOffer:withUrl:

- (UIActivityViewController *)nativeShareFor:(NSString *)channel withOffer:(NSDictionary *)offer withUrl:(NSString *)url

paramsFor:

- (NSMutableDictionary *)paramsFor:(NSDictionary *)params

retrieveOffer:withHandler:

- (void)retrieveOffer:(NSDictionary *)params withHandler:(void ( ^ ) ( NSDictionary *response ))handler

retrieveRewards:withHandler:

- (void)retrieveRewards:(NSDictionary *)params withHandler:(void ( ^ ) ( NSDictionary *response ))handler

setApiKey:andApiSlug:

- (void)setApiKey:(NSString *)apiKey andApiSlug:(NSString *)apiSlug

socialShareFor:withOffer:

- (SLComposeViewController *)socialShareFor:(NSString *)channel withOffer:(NSDictionary *)offer

urlFor:

- (NSString *)urlFor:(NSString *)path

visitorId

- (NSString *)visitorId