Created
October 6, 2017 12:50
-
-
Save eastari/4a1286ffb49fd952389502ecd80442e6 to your computer and use it in GitHub Desktop.
Part Xcamelize 2
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
class SourceEditorCommand: NSObject, XCSourceEditorCommand { | |
func perform(with invocation: XCSourceEditorCommandInvocation, completionHandler: @escaping (Error?) -> Swift.Void ) { | |
... | |
} | |
func handle(range: XCSourceTextRange, inBuffer buffer: XCSourceTextBuffer) -> () { | |
... | |
} | |
func getTextFromBuffer(inRange textRange: XCSourceTextRange, inBuffer buffer: XCSourceTextBuffer) -> String { | |
... | |
} | |
func replace(position: XCSourceTextPosition, length: Int, with newElements: String, inBuffer buffer: XCSourceTextBuffer) { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment