Skip to content

๐Ÿ”ฅ ๐Ÿ”ฅ ๐Ÿ”ฅ A simple UI and powerful Mac OS application. It is a collection of tools commonly used in my development work. Such as JSON-Formatting tool, JSON-to-model tool, AppIcon generator, Network-Request tool...

License

Notifications You must be signed in to change notification settings

xiaoyouPrince/XYDevTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

66 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevTool logo

English | ็ฎ€ไฝ“ไธญๆ–‡

DevTool

A simple UI and powerful Mac OS application. It is a collection of tools commonly used in my development work. It is open source and hopes to help people in need. At present, its main functions are as follows

  • JSON formatting tool: used to quickly format network JSON data into formatted JSON for easy reading

  • JSON to model: read JSON data and generate swift model. It supports a variety of configuration options, especially for complex JSON parsing, which fully liberates both hands

  • Appicon generator: supports the generation of IOS / MacOS app icons, one click generation and export to the specified directory

  • Network request tool: a convenient network request tool, intended to replace postman and speed up the continuous adjustment of front and rear interfaces. Automatically record historical request records and support export / import.

  • ...

Functions & Features

JSONFormat

  • Format the JSON string returned by the interface into a format that is easy to read and understand
  • ...

JSON to Model

  • Automatically convert JSON files to swift class to reduce repetitive work and error probability
  • Automatically resolve nested types array and dictionary, and resolve the contents of nested types into new classes according to the actual situation
  • For the array type, the complete key value of the dict element is automatically parsed to effectively avoid the possible loss caused by the random writing / less writing of the array element key in the test JSON test data
  • Support custom class prefix
  • Support custom class, inherit base class and abide by protocol
  • It supports setting the value of the original JSON to the attribute annotation, which is convenient for viewing the code during subsequent maintenance
  • It supports the automatic generation of codingkeys to facilitate the subsequent direct use of the system codable protocol for model transformation
  • ...

Appicon generator

  • The user passes in the specified picture and generates IOS / MacOS appicon with one click. It is suitable for individual developers to quickly generate icons for personal projects (the icon of this project is generated from this, and this function is also generated because of the icon generated by this project)
  • ...

Network request tool

  • Simple network request tool, refer to postman, but it is more concise. There is no need to check the software availability online, and all records are safer locally
  • Support custom request name / input URL / request header / request body / you can send the request directly and see the original return result
  • Support historical request data saving / exporting / importing
  • Support the deletion and locking of requests (prevent the history from being deleted by mistake, and can be deleted after unlocking)
  • ...

Screenshots

jsonFormatter.png json2model.png appIcons.png netRequest.png

Install

  • Direct download Release Packages
  • Clone source code, execute build in Xcode, copy XYDevTool.app to Application folder

Others

Those functions are frequently used by me, so I wrote them in my App. If you have better suggestions, such as some more functions, please submit PR/Issues, thank you! If you like it, please click a star to encourage me๏ผ ๐Ÿ˜