CalStoreController Class Reference
Inherits from | NSObject |
---|---|
Declared in | CalStoreController.h |
Overview
Singleton controller for the Calendar Store. The controller manages “global” data and integrates with StoreKit.
Since all API request need an authorizationToken, the controller manages it. All CalStore API classes will use this controller’s authorizationToken, unless another authorization token is specifically provided.
The authorization token can be added to the Info.plist
under the CalendarStoreAuthorizationToken
key, or
can be supplied in code using the setAuthorizationToken:
setter.
Getting an Instance
+ sharedController
The singleton shared CalendarStore controller. Used by all other clases.
+ (CalStoreController *)sharedController
Return Value
the singleton shared controller object
Discussion
This method always returns the same, single object.
Declared In
CalStoreController.h
Authorization
authorizationToken
The AuthorizationToken to use for all API requests by default. Defaults to CalendarStoreAuthorizationToken
from the Main
bundle’s Info.plist
@property (nonatomic, strong) NSString *authorizationToken
Declared In
CalStoreController.h
Localization and Internationalization
locale
The locale used for the Calendar Store and API requests, ISO 639-1 code, or en_US (style). Defaults to current locale.
@property (nonatomic, strong) NSString *locale
Declared In
CalStoreController.h
Feedback Form Settings
feedbackEmailAddress
The to email-address used for the ‘Give Feedback’ form. Defaults to support@schedjoules.com .
@property (nonatomic, strong) NSString *feedbackEmailAddress
Declared In
CalStoreController.h
Analytics
optoutFromAnalytics
If set to YES, the CalendarStore will opt-out from collecting anonimized analytics about page visits. Defaults to NO. This property is not persistent.
@property (nonatomic, assign) BOOL optoutFromAnalytics
Discussion
The CalendarStore can collect anonimized page visit statistics if this property is set to NO. Analytics are completely anonymous and are only used for optimizing the store.
Declared In
CalStoreController.h
Debugging
debugLevel
Controls what the CalendarStore framework classes will output using NSLog(). Defaults to CalStoreDebugLevelNone
@property (nonatomic, assign) CalStoreDebugLevel debugLevel
Declared In
CalStoreController.h
libraryVersion
The version of the CalendarStore library.
@property (nonatomic, readonly) NSString *libraryVersion
Declared In
CalStoreController.h