CalStoreCalendarParameterOptions Class Reference

Inherits from CalStoreObject : NSObject
Declared in CalStoreCalendarParameterOptions.h

Overview

Represents a list of options for one parameter, from which the user can pick one value.

The parameter has a localized title and a list of possible values (with localized title as well) from which the user should pick one in an appropriate UI.

Title

  title

Localized title for this parameter that can be presented to the user.

@property (nonatomic, readonly) NSString *title

Declared In

CalStoreCalendarParameterOptions.h

Options

  options

Array of CalStoreCalendarParameterOption objects that represents the values that can be picked for the parameter.

@property (nonatomic, readonly) NSArray *options

Declared In

CalStoreCalendarParameterOptions.h

  defaultOption

The option that is default for the user’s current locale.

@property (nonatomic, readonly) CalStoreCalendarParameterOption *defaultOption

Declared In

CalStoreCalendarParameterOptions.h

Convenience

– titleForOptionWithValue:

Returns the title for the option with the given value.

- (NSString *)titleForOptionWithValue:(NSString *)value

Parameters

value

the value of the option to get the title for.

Return Value

the localized title for the option with the given value.

Declared In

CalStoreCalendarParameterOptions.h

– allValues

Returns an array of all values of all options for the parameter parameter.

- (NSArray *)allValues

Return Value

An array of NSString objects with all possible values for the parameter.

Declared In

CalStoreCalendarParameterOptions.h