JSonift is an Xcode source editor extension that provides a seamless experience for developers when working with JSON data. With JSonift, developers can copy JSON data to their clipboard and quickly convert it into a model that can be easily used in their code.
This extension is designed to simplify the process of creating models from JSON data by reducing the time and effort required to manually create the necessary code. With JSonift, developers can quickly generate models that match the structure of their JSON data with just a few clicks.
Convert JSON data to a model: With JSonift, developers can quickly convert the JSON data they've copied to the clipboard into a model that can be easily used in their code. This can save developers time and reduce errors.
Copy the JSON to clipboard.SourceEditor.mov
- Open the project in Xcode.
- Select the Jsonift Editor extension target from the project navigator.
- Choose a generic device from the device selection dropdown in the Xcode toolbar.
- Select Product > Archive from the Xcode menu.
- Once the archive is complete, the Organizer window will appear.
- Select the archive that was just created and click the Distribute App button.
- Choose Developer ID and click "Next".
- Choose Export and click Next.
- Choose a location to save the exported .appex file and click Export.
- The exported .appex file can now be shared with other users or uploaded to the App Store.
- Double-click the .appex file to install the extension. This will launch Xcode and prompt you to enable the extension.
- Enable the extension: To enable the extension, open Xcode and go to Xcode > Editor > Extensions > Jsonift > Enable Jsonift. Once enabled, the extension will be available in the Xcode editor.
- Copy JSON data to clipboard: Select the JSON data that you want to convert into a model and copy it to the clipboard.
- Generate model class: Go to Xcode > Editor > Jsonift > Construct Model. The extension will parse the JSON data and generate a corresponding model class, which you can then use in your code.