CalStoreCalendarBundle Class Reference
Inherits from | CalStoreObject : NSObject |
---|---|
Declared in | CalStoreCalendarBundle.h |
Overview
A CalStoreCalendarBundle holds information about the calendars in a bundle, such as the number of calendars in the bundle, the group name and the icon.
Pages are the foundation of the API. Pages are the scaffolds of the views your users will interact with. You need to add the UX and UI for the pages.
A page is made up of sections. Each section, in turn, is made up of items. Pages are localised so all items on the page that can be translated will be shown translated.
You can request pages from the API using the CalStorePageRequest object.
Getting Information
itemId
The unique item-id for this bundle
@property (nonatomic, readonly) NSString *itemId
Declared In
CalStoreCalendarBundle.h
name
The localized name for this bundle
@property (nonatomic, readonly) NSString *name
Declared In
CalStoreCalendarBundle.h
icon
The icon associated with this item. Nil if there is no icon.
@property (nonatomic, readonly) CalStoreIcon *icon
Declared In
CalStoreCalendarBundle.h
Legacy In-App Purchase Info. Deprecated for paid subscriptions.
productIdentifier
Deprecated for paid subscriptions.
@property (nonatomic, readonly) NSString *productIdentifier
Discussion
The identifier of the in-app purchase that this item is a part of.
Declared In
CalStoreCalendarBundle.h
relatedProductIdentifiers
Deprecated for paid subscriptions.
@property (nonatomic, readonly) NSSet *relatedProductIdentifiers
Discussion
The set of in-app purchase identifiers for the same in-app purchase for other, related apps of the same vendor. Nil if not applicable.
Some apps choose to have a different iPad an iPhone version of the same app. Since those are technically two different apps, they have different in-app purchase identifiers. However, for the user they appear as one app. This property will return the in-app purchase identifiers used by both apps for the same item.
See Also
MultipleApps.markdown
Declared In
CalStoreCalendarBundle.h
numberOfCalendars
The number of calendars in this bundle, if available, 0 otherwise.
@property (nonatomic, readonly) NSUInteger numberOfCalendars
Discussion
Note: use calendarsInBundleSearchRequest to get the calendar items in this bundle.
See Also
Declared In
CalStoreCalendarBundle.h
Requesting the Calendars in this bundle
– calendarsInBundleSearchRequest
Returns a CalStoreSearchRequest that can be used to load the CalStorePage that has a flat list of all the calendar items for this bundle.
- (CalStoreSearchRequest *)calendarsInBundleSearchRequest
Return Value
A request object that, when executed, will request the page that has a flat list of calendars for this bundle.
Declared In
CalStoreCalendarBundle.h
– isEqualToCalendarBundle:
Compares to bundles
- (BOOL)isEqualToCalendarBundle:(CalStoreCalendarBundle *)other
Parameters
other |
the other bundle to compare to |
---|
Return Value
YES if this bundle is the same as other
Declared In
CalStoreCalendarBundle.h