CityGrid.h


CityGrid SDK

Discussion

An Objective-C library that provides an interface to the CityGrid REST API's as documented at http://docs.citygridmedia.com/display/citygridv2/CityGrid+APIs.



Groups

Content Builders

Group members:

-offersDetail
-offersSearch
-placesDetail
-placesSearch

 

Configuration for the CityGrid SDK

Group members:

-debug
-placement
-publisher
-setDebug:
-setPlacement:
-setPublisher:
-setSimulation:
-setTimeout:
-simulation
-timeout

 

Ads Builders

Group members:

-adsCustom
-adsMobile
-adsTracker

Methods

-adsCustom
-adsMobile
-adsTracker
-debug
-offersDetail
-offersSearch
-placement
-placesDetail
-placesSearch
-publisher
-setDebug:
-setPlacement:
-setPublisher:
-setSimulation:
-setTimeout:
-simulation
-timeout

adsCustom


+ (CGAdsCustom*) adsCustom;  
Discussion

Gets the builder for invoking ad searches. The builder will default to the global publisher and timeout.


adsMobile


+ (CGAdsMobile*) adsMobile;  
Discussion

Gets the builder for invoking ad searches that return a mobile banner. The builder will default to the global publisher and timeout.


adsTracker


+ (CGAdsTracker*) adsTracker;  
Discussion

Gets the builder for invoking ad searches that return a mobile banner. The builder will default to the global publisher and timeout.


debug


+ (BOOL) debug;  
Discussion

Gets whether any debug information is displayed.


offersDetail


+ (CGOffersDetail*) offersDetail;  
Discussion

Gets the builder for getting an offer for a specific location. The builder will default to the global publisher and timeout.


offersSearch


+ (CGOffersSearch*) offersSearch;  
Discussion

Gets the builder for invoking offers searches. The builder will default to the global publisher and timeout.


placement


+ (NSString*) placement;  
Discussion

Gets the global placement that assists a developer in breakdowns for publisher reports


placesDetail


+ (CGPlacesDetail*) placesDetail;  
Discussion

Gets the builder for getting a detail for a place. The builder will default to the global publisher and timeout.


placesSearch


+ (CGPlacesSearch*) placesSearch;  
Discussion

Gets the builder for invoking place searches. The builder will default to the global publisher and timeout.


publisher


+ (NSString*) publisher;  
Discussion

Gets the global publisher that identifies a developer.


setDebug:


+ (void) setDebug:(BOOL) debug;  
Discussion

Sets whether any debug information is displayed.


setPlacement:


+ (void) setPlacement:(NSString*) placement;  
Discussion

Sets the global placement that assists a developer in breakdowns for publisher reports


setPublisher:


+ (void) setPublisher:(NSString*) publisher;  
Discussion

Sets the global publisher that identifies a developer.


setSimulation:


+ (void) setSimulation:(BOOL) simulation;  
Discussion

Sets whether any calls are made to the API or all network activity is simulated.


setTimeout:


+ (void) setTimeout:(NSTimeInterval) timeout;  
Discussion

Sets the global network timeout for all server calls.


simulation


+ (BOOL) simulation;  
Discussion

Gets whether any calls are made to the API or all network activity is simulated.


timeout


+ (NSTimeInterval) timeout;  
Discussion

Gets the global network timeout for all server calls.

Last Updated: Friday, December 16, 2011