Automator Changes for Objective-C
Automator
AMAction.h
Modified -[AMAction definition]
Declaration | |
---|---|
From | - (NSMutableDictionary *)definition |
To | - (NSMutableDictionary<NSString *,id> * _Nonnull)definition |
Declaration | |
---|---|
From | - (void)didFinishRunningWithError:(NSDictionary *)errorInfo |
To | - (void)didFinishRunningWithError:(NSDictionary<NSString *,id> * _Nullable)errorInfo |
Modified -[AMAction finishRunningWithError:]
Declaration | |
---|---|
From | - (void)finishRunningWithError:(NSError *)error |
To | - (void)finishRunningWithError:(NSError * _Nullable)error |
Declaration | |
---|---|
From | - (instancetype)initWithContentsOfURL:(NSURL *)fileURL error:(NSError **)outError |
To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)fileURL error:(NSError * _Nullable * _Nullable)outError |
Declaration | |
---|---|
From | - (instancetype)initWithDefinition:(NSDictionary *)dict fromArchive:(BOOL)archived |
To | - (instancetype _Nullable)initWithDefinition:(NSDictionary<NSString *,id> * _Nonnull)dict fromArchive:(BOOL)archived |
Declaration | |
---|---|
From | - (void)logMessageWithLevel:(AMLogLevel)level format:(NSString *)format, ... |
To | - (void)logMessageWithLevel:(AMLogLevel)level format:(NSString * _Nonnull)format, ... |
Modified AMAction.name
Declaration | |
---|---|
From | @property(readonly, strong) NSString *name |
To | @property(readonly, strong, nonnull) NSString *name |
Modified AMAction.output
Declaration | |
---|---|
From | @property(strong) id output |
To | @property(strong, nullable) id output |
Declaration | |
---|---|
From | - (void)runAsynchronouslyWithInput:(id)input |
To | - (void)runAsynchronouslyWithInput:(id _Nullable)input |
Modified -[AMAction runWithInput:error:]
Declaration | |
---|---|
From | - (id)runWithInput:(id)input error:(NSError **)error |
To | - (id _Nullable)runWithInput:(id _Nullable)input error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (id)runWithInput:(id)input fromAction:(AMAction *)anAction error:(NSDictionary **)errorInfo |
To | - (id _Nullable)runWithInput:(id _Nullable)input fromAction:(AMAction * _Nullable)anAction error:(NSDictionary<NSString *,id> * _Nullable * _Nullable)errorInfo |
Modified AMAction.selectedInputType
Declaration | |
---|---|
From | @property(strong) NSString *selectedInputType |
To | @property(strong, nullable) NSString *selectedInputType |
Modified AMAction.selectedOutputType
Declaration | |
---|---|
From | @property(strong) NSString *selectedOutputType |
To | @property(strong, nullable) NSString *selectedOutputType |
Modified -[AMAction writeToDictionary:]
Declaration | |
---|---|
From | - (void)writeToDictionary:(NSMutableDictionary *)dictionary |
To | - (void)writeToDictionary:(NSMutableDictionary<NSString *,id> * _Nonnull)dictionary |
AMAppleScriptAction.h
Modified AMAppleScriptAction.script
Declaration | |
---|---|
From | @property(strong) OSAScript *script |
To | @property(strong, nonnull) OSAScript *script |
AMBundleAction.h
Modified AMBundleAction.bundle
Declaration | |
---|---|
From | @property(readonly, strong) NSBundle *bundle |
To | @property(readonly, strong, nonnull) NSBundle *bundle |
Modified AMBundleAction.parameters
Declaration | |
---|---|
From | @property(strong) NSMutableDictionary *parameters |
To | @property(strong, nullable) NSMutableDictionary<NSString *,id> *parameters |
Modified AMBundleAction.view
Declaration | |
---|---|
From | @property(readonly, strong) NSView *view |
To | @property(readonly, strong, nullable) NSView *view |
AMShellScriptAction.h
Declaration | |
---|---|
From | - (NSString *)inputFieldSeparator |
To | @property(readonly, copy, nonnull) NSString *inputFieldSeparator |
Declaration | |
---|---|
From | - (NSString *)outputFieldSeparator |
To | @property(readonly, copy, nonnull) NSString *outputFieldSeparator |
Modified AMShellScriptAction.remapLineEndings
Declaration | |
---|---|
From | - (BOOL)remapLineEndings |
To | @property(readonly) BOOL remapLineEndings |
AMWorkflow.h
Added -[AMWorkflow init]
Modified AMWorkflow.actions
Declaration | |
---|---|
From | @property(readonly, retain) NSArray *actions |
To | @property(readonly, retain, nonnull) NSArray<__kindof AMAction *> *actions |
Modified -[AMWorkflow addAction:]
Declaration | |
---|---|
From | - (void)addAction:(AMAction *)action |
To | - (void)addAction:(AMAction * _Nonnull)action |
Modified AMWorkflow.fileURL
Declaration | |
---|---|
From | @property(readonly, copy) NSURL *fileURL |
To | @property(readonly, copy, nullable) NSURL *fileURL |
Declaration | |
---|---|
From | - (instancetype)initWithContentsOfURL:(NSURL *)fileURL error:(NSError **)outError |
To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)fileURL error:(NSError * _Nullable * _Nullable)outError |
Modified AMWorkflow.input
Declaration | |
---|---|
From | @property(readwrite, retain) id input |
To | @property(readwrite, retain, nullable) id input |
Modified -[AMWorkflow insertAction:atIndex:]
Declaration | |
---|---|
From | - (void)insertAction:(AMAction *)action atIndex:(NSUInteger)index |
To | - (void)insertAction:(AMAction * _Nonnull)action atIndex:(NSUInteger)index |
Modified AMWorkflow.output
Declaration | |
---|---|
From | @property(readonly, retain) id output |
To | @property(readonly, retain, nullable) id output |
Modified -[AMWorkflow removeAction:]
Declaration | |
---|---|
From | - (void)removeAction:(AMAction *)action |
To | - (void)removeAction:(AMAction * _Nonnull)action |
Declaration | |
---|---|
From | + (id)runWorkflowAtURL:(NSURL *)fileURL withInput:(id)input error:(NSError **)error |
To | + (id _Nullable)runWorkflowAtURL:(NSURL * _Nonnull)fileURL withInput:(id _Nullable)input error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)setValue:(id)value forVariableWithName:(NSString *)variableName |
To | - (BOOL)setValue:(id _Nullable)value forVariableWithName:(NSString * _Nonnull)variableName |
Declaration | |
---|---|
From | - (id)valueForVariableWithName:(NSString *)variableName |
To | - (id _Nonnull)valueForVariableWithName:(NSString * _Nonnull)variableName |
Modified -[AMWorkflow writeToURL:error:]
Declaration | |
---|---|
From | - (BOOL)writeToURL:(NSURL *)fileURL error:(NSError **)outError |
To | - (BOOL)writeToURL:(NSURL * _Nonnull)fileURL error:(NSError * _Nullable * _Nullable)outError |
AMWorkflowController.h
Modified AMWorkflowController.delegate
Declaration | |
---|---|
From | @property(assign) id delegate |
To | @property(assign, nullable) id delegate |
Modified -[AMWorkflowController pause:]
Declaration | |
---|---|
From | - (IBAction)pause:(id)sender |
To | - (IBAction)pause:(id _Nonnull)sender |
Modified -[AMWorkflowController reset:]
Declaration | |
---|---|
From | - (IBAction)reset:(id)sender |
To | - (IBAction)reset:(id _Nonnull)sender |
Modified -[AMWorkflowController run:]
Declaration | |
---|---|
From | - (IBAction)run:(id)sender |
To | - (IBAction)run:(id _Nonnull)sender |
Modified -[AMWorkflowController step:]
Declaration | |
---|---|
From | - (IBAction)step:(id)sender |
To | - (IBAction)step:(id _Nonnull)sender |
Modified -[AMWorkflowController stop:]
Declaration | |
---|---|
From | - (IBAction)stop:(id)sender |
To | - (IBAction)stop:(id _Nonnull)sender |
Modified AMWorkflowController.workflow
Declaration | |
---|---|
From | @property(strong) AMWorkflow *workflow |
To | @property(strong, nullable) AMWorkflow *workflow |
Modified AMWorkflowController.workflowView
Declaration | |
---|---|
From | @property(strong) AMWorkflowView *workflowView |
To | @property(strong, nullable) AMWorkflowView *workflowView |
Declaration | |
---|---|
From | - (void)workflowController:(AMWorkflowController *)controller didError:(NSError *)error |
To | - (void)workflowController:(AMWorkflowController * _Nonnull)controller didError:(NSError * _Nonnull)error |
Declaration | |
---|---|
From | - (void)workflowController:(AMWorkflowController *)controller didRunAction:(AMAction *)action |
To | - (void)workflowController:(AMWorkflowController * _Nonnull)controller didRunAction:(AMAction * _Nonnull)action |
Declaration | |
---|---|
From | - (void)workflowController:(AMWorkflowController *)controller willRunAction:(AMAction *)action |
To | - (void)workflowController:(AMWorkflowController * _Nonnull)controller willRunAction:(AMAction * _Nonnull)action |
Declaration | |
---|---|
From | - (void)workflowControllerDidRun:(AMWorkflowController *)controller |
To | - (void)workflowControllerDidRun:(AMWorkflowController * _Nonnull)controller |
Declaration | |
---|---|
From | - (void)workflowControllerDidStop:(AMWorkflowController *)controller |
To | - (void)workflowControllerDidStop:(AMWorkflowController * _Nonnull)controller |
Declaration | |
---|---|
From | - (void)workflowControllerWillRun:(AMWorkflowController *)controller |
To | - (void)workflowControllerWillRun:(AMWorkflowController * _Nonnull)controller |
Declaration | |
---|---|
From | - (void)workflowControllerWillStop:(AMWorkflowController *)controller |
To | - (void)workflowControllerWillStop:(AMWorkflowController * _Nonnull)controller |
AMWorkflowView.h
Modified AMWorkflowView.workflowController
Declaration | |
---|---|
From | @property(strong) AMWorkflowController *workflowController |
To | @property(strong, nullable) AMWorkflowController *workflowController |