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 Mar 18, 2024
1 parent 062f831 commit 25db1c0
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 25db1c0

Please sign in to comment.