CalStoreInstallCalendarViewController Class Reference
| Inherits from | UINavigationController |
|---|---|
| Declared in | CalStoreInstallCalendarViewController.h |
Overview
A ViewController to install a purchased calendar.
This ViewController will allow the user to install an already purchased CalStorePageItemCalendar object onto his device.
The CalStorePageItemCalendar object must have it’s CalStorePageItemCalendar.purchased> property returning YES. CalStorePageItemParameterizedCalendar objects must have all their allParametersValues set.
Note: Use the designated initializer [CalStoreInstallCalendarViewController viewControllerWithCalendarItem:]
Other Methods
calendarItem
The Calendar to install. The CalStorePageItemCalendar object must have it’s CalStorePageItemCalendar.purchased> property returning YES. CalStorePageItemParameterizedCalendar objects must have all their allParametersValues set.
@property (nonatomic, strong) CalStorePageItemCalendar *calendarItemDiscussion
If those conditions are not met, an exception will be raised.
Declared In
CalStoreInstallCalendarViewController.h
Responding To PageItem actions
pageItemHandlerDelegate
The pageItem handler delegate allows to override the actions that are performed when the user interacts with a PageItem (e.g. installing an item).
@property (nonatomic, weak) id<CalStorePageItemHandlerDelegate> pageItemHandlerDelegateDiscussion
The delegate must adopt the CalStorePageItemHandlerDelegate formal protocol.
Declared In
CalStoreInstallCalendarViewController.h
+ viewControllerWithCalendarItem:
Creates a ViewController to install the given calendarItem.
+ (instancetype)viewControllerWithCalendarItem:(CalStorePageItemCalendar *)calendarItemParameters
calendarItem |
the calendarItem to install. The CalStorePageItemCalendar object must have it’s CalStorePageItemCalendar.purchased> property returning YES. CalStorePageItemParameterizedCalendar objects must have all their allParametersValues set. |
|---|
Return Value
ViewController that can be presented to start installing the calendarItem
Discussion
The CalStorePageItemCalendar object must have it’s CalStorePageItemCalendar.purchased> property returning YES. CalStorePageItemParameterizedCalendar objects must have all their allParametersValues set.
If those conditions are not met, nill will be returned.
Declared In
CalStoreInstallCalendarViewController.h