Type Method

disambiguationWithDateComponentsToDisambiguate:

Creates an object whose resolution requires the user to select from among the specified objects.

Declaration

+ (instancetype)disambiguationWithDateComponentsToDisambiguate:(NSArray<NSDateComponents *> *)dateComponentsToDisambiguate;

Parameters

dateComponentsToDisambiguate

An array of dates from which to select. Specify as few items as possible, and preferably no more than five.

Return Value

A new INDateComponentsResolutionResult object.

Discussion

Use this method when you cannot resolve the object uniquely and need the user to select from a limited set of alternative dates.

See Also

Creating a Resolution Result Object

+ successWithResolvedDateComponents:

Creates an object whose resolution involves the successful matching of the specified parameter.

+ confirmationRequiredWithDateComponentsToConfirm:

Creates an object whose resolution requires that the user must confirm the value before proceeding.