diff options
| author | Joel Fischer <joeljfischer@gmail.com> | 2016-08-25 13:45:15 -0400 |
|---|---|---|
| committer | Joel Fischer <joeljfischer@gmail.com> | 2016-08-25 13:45:15 -0400 |
| commit | ad762812898c1849be83eb4dbefcba475dfbafe1 (patch) | |
| tree | db611ff63de94e99f3ef415d0bfea7de81d1367b /SmartDeviceLink/SDLDeleteFileOperation.m | |
| parent | 487f3ba67e272078787565977c9398ea71833532 (diff) | |
| download | sdl_ios-ad762812898c1849be83eb4dbefcba475dfbafe1.tar.gz | |
Alter a bunch of handlers for more consistent and descriptive language
Diffstat (limited to 'SmartDeviceLink/SDLDeleteFileOperation.m')
| -rw-r--r-- | SmartDeviceLink/SDLDeleteFileOperation.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLDeleteFileOperation.m b/SmartDeviceLink/SDLDeleteFileOperation.m index 3515525fc..6277f02d5 100644 --- a/SmartDeviceLink/SDLDeleteFileOperation.m +++ b/SmartDeviceLink/SDLDeleteFileOperation.m @@ -20,14 +20,14 @@ NS_ASSUME_NONNULL_BEGIN @property (copy, nonatomic) NSString *fileName; @property (weak, nonatomic) id<SDLConnectionManagerType> connectionManager; -@property (copy, nonatomic, nullable) SDLFileManagerDeleteCompletion completionHandler; +@property (copy, nonatomic, nullable) SDLFileManagerDeleteCompletionHandler completionHandler; @end @implementation SDLDeleteFileOperation -- (instancetype)initWithFileName:(NSString *)fileName connectionManager:(id<SDLConnectionManagerType>)connectionManager completionHandler:(nullable SDLFileManagerDeleteCompletion)completionHandler { +- (instancetype)initWithFileName:(NSString *)fileName connectionManager:(id<SDLConnectionManagerType>)connectionManager completionHandler:(nullable SDLFileManagerDeleteCompletionHandler)completionHandler { self = [super init]; if (!self) { return nil; @@ -51,7 +51,7 @@ NS_ASSUME_NONNULL_BEGIN typeof(self) weakself = self; [self.connectionManager sendManagerRequest:deleteFile - withCompletionHandler:^(__kindof SDLRPCRequest *request, __kindof SDLRPCResponse *response, NSError *error) { + withResponseHandler:^(__kindof SDLRPCRequest *request, __kindof SDLRPCResponse *response, NSError *error) { // Pull out the parameters SDLDeleteFileResponse *deleteFileResponse = (SDLDeleteFileResponse *)response; BOOL success = [deleteFileResponse.success boolValue]; |
