Skip to content

Commit

Permalink
image
Browse files Browse the repository at this point in the history
  • Loading branch information
hhfa committed Jan 29, 2018
1 parent 52d15c6 commit 8ae8558
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JSONAI/SourceEditorCommand.swift
Expand Up @@ -19,7 +19,7 @@ class SourceEditorCommand: NSObject, XCSourceEditorCommand {
// match clipped text
let match = xTextMatcher.match(selection: range, invocation: invocation, options: .selected)

let endLineIndex = range.end.line
let endLineIndex = range.end.line + 2
let jsonstr = match.text

let baseClass = invocation.commandIdentifier
Expand Down
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -2,5 +2,11 @@
SwiftAI, write Swift code smart. SwiftAI can generate Model class from JSON now. More features will be add.

#App

![Usage](image/SwiftAIApp.png)
#Xcode extension
![Usage](image/SwiftAIXcodeExtension.png)
![Usage](image/SwiftAIXCodeExtension.gif)
![Usage](SwiftAIXCodeExtensionClipBoard.gif)



Binary file added image/SwiftAIApp.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/SwiftAIXCodeExtension.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/SwiftAIXCodeExtensionClipBoard.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/SwiftAIXcodeExtension.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8ae8558

Please sign in to comment.