Created
April 30, 2023 13:30
-
-
Save beyzaince/ef64172b45a2cf2266b106ddfb62e9c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final class SourceEditorCommand: NSObject, XCSourceEditorCommand { | |
| let stubGenerator = StubGenerator() | |
| func perform(with invocation: XCSourceEditorCommandInvocation, | |
| completionHandler: @escaping (Error?) -> Void ) -> Void { | |
| stubGenerator.genarateStub(with: invocation, completionHandler: completionHandler) | |
| completionHandler(nil) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment