Intents iOS 11.0 Beta 2 to Beta 3 API Differences

INAddTasksIntent.h
Declaration
From- (nonnull instancetype)initWithTargetTaskList:(nullable INTaskList *)targetTaskList taskTitles:(nullable NSArray<NSString *> *)taskTitles spatialEventTrigger:(nullable INSpatialEventTrigger *)spatialEventTrigger temporalEventTrigger:(nullable INTemporalEventTrigger *)temporalEventTrigger
To- (nonnull instancetype)initWithTargetTaskList:(nullable INTaskList *)targetTaskList taskTitles:(nullable NSArray<INSpeakableString *> *)taskTitles spatialEventTrigger:(nullable INSpatialEventTrigger *)spatialEventTrigger temporalEventTrigger:(nullable INTemporalEventTrigger *)temporalEventTrigger

Declaration
From@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *taskTitles
To@property (nonatomic, readonly, copy, nullable) NSArray<INSpeakableString *> *taskTitles

Declaration
From- (void)resolveTaskTitlesForAddTasks:(nonnull INAddTasksIntent *)intent withCompletion:(nonnull void (^)(NSArray<INStringResolutionResult *> * _Nonnull))completion
To- (void)resolveTaskTitlesForAddTasks:(nonnull INAddTasksIntent *)intent withCompletion:(nonnull void (^)(NSArray<INSpeakableStringResolutionResult *> * _Nonnull))completion

INCreateNoteIntent.h
Declaration
From- (nonnull instancetype)initWithTitle:(nullable NSString *)title content:(nullable INNoteContent *)content groupName:(nullable INSpeakableString *)groupName
To- (nonnull instancetype)initWithTitle:(nullable INSpeakableString *)title content:(nullable INNoteContent *)content groupName:(nullable INSpeakableString *)groupName

Declaration
From@property (nonatomic, readonly, copy, nullable) NSString *title
To@property (nonatomic, readonly, copy, nullable) INSpeakableString *title

Declaration
From- (void)resolveTitleForCreateNote:(nonnull INCreateNoteIntent *)intent withCompletion:(nonnull void (^)(INStringResolutionResult * _Nonnull))completion
To- (void)resolveTitleForCreateNote:(nonnull INCreateNoteIntent *)intent withCompletion:(nonnull void (^)(INSpeakableStringResolutionResult * _Nonnull))completion

INCreateTaskListIntent.h
Declaration
From- (nonnull instancetype)initWithTitle:(nullable NSString *)title taskTitles:(nullable NSArray<NSString *> *)taskTitles groupName:(nullable INSpeakableString *)groupName
To- (nonnull instancetype)initWithTitle:(nullable INSpeakableString *)title taskTitles:(nullable NSArray<INSpeakableString *> *)taskTitles groupName:(nullable INSpeakableString *)groupName

Declaration
From@property (nonatomic, readonly, copy, nullable) NSString *title
To@property (nonatomic, readonly, copy, nullable) INSpeakableString *title

Declaration
From@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *taskTitles
To@property (nonatomic, readonly, copy, nullable) NSArray<INSpeakableString *> *taskTitles

Declaration
From- (void)resolveTitleForCreateTaskList:(nonnull INCreateTaskListIntent *)intent withCompletion:(nonnull void (^)(INStringResolutionResult * _Nonnull))completion
To- (void)resolveTitleForCreateTaskList:(nonnull INCreateTaskListIntent *)intent withCompletion:(nonnull void (^)(INSpeakableStringResolutionResult * _Nonnull))completion

Declaration
From- (void)resolveTaskTitlesForCreateTaskList:(nonnull INCreateTaskListIntent *)intent withCompletion:(nonnull void (^)(NSArray<INStringResolutionResult *> * _Nonnull))completion
To- (void)resolveTaskTitlesForCreateTaskList:(nonnull INCreateTaskListIntent *)intent withCompletion:(nonnull void (^)(NSArray<INSpeakableStringResolutionResult *> * _Nonnull))completion

INImage.h
Removed +[INImage imageWithURL:desiredWidth:height:]
INMessage.h
INNote.h
Declaration
From- (nonnull instancetype)initWithTitle:(nonnull NSString *)title contents:(nonnull NSArray<INNoteContent *> *)contents groupName:(nullable NSString *)groupName createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier
To- (nonnull instancetype)initWithTitle:(nonnull INSpeakableString *)title contents:(nonnull NSArray<INNoteContent *> *)contents groupName:(nullable INSpeakableString *)groupName createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier

Modified INNote.title
Declaration
From@property (readonly, copy, nonnull) NSString *title
To@property (readonly, copy, nonnull) INSpeakableString *title

Declaration
From@property (readonly, copy, nullable) NSString *groupName
To@property (readonly, copy, nullable) INSpeakableString *groupName

INNotebookItemTypeResolutionResult.h
INRequestPaymentCurrencyAmountResolutionResult.h
Declaration
From+ (instancetype)unsupportedForReason:(INRequestPaymentCurrencyAmountUnsupportedReason)reason
To+ (nonnull instancetype)unsupportedForReason:(INRequestPaymentCurrencyAmountUnsupportedReason)reason

Declaration
From- (instancetype)initWithCurrencyAmountResolutionResult:(INCurrencyAmountResolutionResult *)currencyAmountResolutionResult
To- (nonnull instancetype)initWithCurrencyAmountResolutionResult:(nonnull INCurrencyAmountResolutionResult *)currencyAmountResolutionResult

INRequestPaymentPayerResolutionResult.h
Declaration
From+ (instancetype)unsupportedForReason:(INRequestPaymentPayerUnsupportedReason)reason
To+ (nonnull instancetype)unsupportedForReason:(INRequestPaymentPayerUnsupportedReason)reason

Declaration
From- (instancetype)initWithPersonResolutionResult:(INPersonResolutionResult *)personResolutionResult
To- (nonnull instancetype)initWithPersonResolutionResult:(nonnull INPersonResolutionResult *)personResolutionResult

INSendMessageRecipientResolutionResult.h
Declaration
From+ (instancetype)unsupportedForReason:(INSendMessageRecipientUnsupportedReason)reason
To+ (nonnull instancetype)unsupportedForReason:(INSendMessageRecipientUnsupportedReason)reason

Declaration
From- (instancetype)initWithPersonResolutionResult:(INPersonResolutionResult *)personResolutionResult
To- (nonnull instancetype)initWithPersonResolutionResult:(nonnull INPersonResolutionResult *)personResolutionResult

INSendPaymentCurrencyAmountResolutionResult.h
Declaration
From+ (instancetype)unsupportedForReason:(INSendPaymentCurrencyAmountUnsupportedReason)reason
To+ (nonnull instancetype)unsupportedForReason:(INSendPaymentCurrencyAmountUnsupportedReason)reason

Declaration
From- (instancetype)initWithCurrencyAmountResolutionResult:(INCurrencyAmountResolutionResult *)currencyAmountResolutionResult
To- (nonnull instancetype)initWithCurrencyAmountResolutionResult:(nonnull INCurrencyAmountResolutionResult *)currencyAmountResolutionResult

INSendPaymentPayeeResolutionResult.h
Declaration
From+ (instancetype)unsupportedForReason:(INSendPaymentPayeeUnsupportedReason)reason
To+ (nonnull instancetype)unsupportedForReason:(INSendPaymentPayeeUnsupportedReason)reason

Declaration
From- (instancetype)initWithPersonResolutionResult:(INPersonResolutionResult *)personResolutionResult
To- (nonnull instancetype)initWithPersonResolutionResult:(nonnull INPersonResolutionResult *)personResolutionResult

INStartAudioCallIntentResponse.h
Removed INStartAudioCallIntentResponseCodeFailureInvalidNumber
INTask.h
Declaration
From- (nonnull instancetype)initWithTitle:(nonnull NSString *)title status:(INTaskStatus)status taskType:(INTaskType)taskType spatialEventTrigger:(nullable INSpatialEventTrigger *)spatialEventTrigger temporalEventTrigger:(nullable INTemporalEventTrigger *)temporalEventTrigger createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier
To- (nonnull instancetype)initWithTitle:(nonnull INSpeakableString *)title status:(INTaskStatus)status taskType:(INTaskType)taskType spatialEventTrigger:(nullable INSpatialEventTrigger *)spatialEventTrigger temporalEventTrigger:(nullable INTemporalEventTrigger *)temporalEventTrigger createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier

Modified INTask.title
Declaration
From@property (readonly, copy, nonnull) NSString *title
To@property (readonly, copy, nonnull) INSpeakableString *title

INTaskList.h
Declaration
From- (nonnull instancetype)initWithTitle:(nonnull NSString *)title tasks:(nonnull NSArray<INTask *> *)tasks groupName:(nullable NSString *)groupName createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier
To- (nonnull instancetype)initWithTitle:(nonnull INSpeakableString *)title tasks:(nonnull NSArray<INTask *> *)tasks groupName:(nullable INSpeakableString *)groupName createdDateComponents:(nullable NSDateComponents *)createdDateComponents modifiedDateComponents:(nullable NSDateComponents *)modifiedDateComponents identifier:(nullable NSString *)identifier

Declaration
From@property (readonly, copy, nonnull) NSString *title
To@property (readonly, copy, nonnull) INSpeakableString *title

Declaration
From@property (readonly, copy, nullable) NSString *groupName
To@property (readonly, copy, nullable) INSpeakableString *groupName

INTransferMoneyIntentResponse.h