dypme / json2swift

Xcode Extension: Json to Swift Model Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Json2Swift

MIT License GitHub Release Xcode MacOS

Json2Swift is Xcode Extension used for generate Swift model with format Codable or SwiftyJSON from JSON format

Installation

Clone this repo and build Your own or Download app from release

Enable Xcode Extension

  1. Open System Preference
  2. Select Extensions
  3. Select Xcode Source Editor
  4. Tick on Json2Swift extension
  5. Restart Xcode

How to Use

Using app

Using Extension

  • Xcode Editor Menu > Json2Swift > Select generate type You want

Setup shortcut extension

  1. Open Xcode > Preferences...
  2. Go to menu Key Bindings
  3. Search/ filter 'Json2Swift'
  4. Create Your shortcut

Screenshot

Json2Swift

Json2Swift

Json2Swift

About

Xcode Extension: Json to Swift Model Generator

License:MIT License


Languages

Language:Swift 100.0%