Skip to content

Commit

Permalink
Fixing delegate conformance
Browse files Browse the repository at this point in the history
Patcher window controller is a second level delegate - but the signature changed on the completed handler.
  • Loading branch information
colincornaby committed Jun 17, 2024
1 parent 666df02 commit 5d111b9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,17 @@ - (void)patcher:(PLSPatcher*)patcher
[NSString stringWithFormat:@"%@/%@", bytesString, totalBytesString];
}

- (void)patcherCompleted:(nonnull PLSPatcher*)patcher
- (void)patcherCompletedWithError:(nonnull PLSPatcher*)patcher error:(nonnull NSError*)error
{
// intercepted by the application
}

- (void)patcherCompletedWithError:(nonnull PLSPatcher*)patcher error:(nonnull NSError*)error
- (void)patcherCompleted:(nonnull PLSPatcher *)patcher didSelfPatch:(BOOL)selfPatched
{
// intercepted by the application
}


- (void)observeValueForKeyPath:(NSString*)keyPath
ofObject:(id)object
change:(NSDictionary*)change
Expand Down

0 comments on commit 5d111b9

Please sign in to comment.