Not yet on the App Store; details may change before release · Requires macOS 14.0 or later
SwiftyModel 1.6.0 brings a new icon and a cleaner editor, remembers every setting, and fixes several model generation issues.
New
A new layered app icon that follows the light, dark, clear and tinted Mac appearances.
Hide the settings column with the sidebar button in the toolbar, or choose View > Hide Settings (⌃⌘S).
The JSON and Swift editors each have a title bar, with Paste and Format JSON above the JSON, and Copy and Share above the Swift result.
Every generation option, the layout and whether the settings column is hidden are restored the next time you open SwiftyModel.
Improvements and fixes
Code is shown in a monospaced font, the Swift result no longer wraps, and in Dark Mode the editors use the system text background.
When two JSON keys turn into the same property name, the second one is numbered instead of overwriting the first.
Values are no longer lost when the JSON starts with an array, or when objects are nested more than 10 levels deep.
Invalid JSON now shows what is wrong and the line and column where it happens. The previous result stays visible, but it cannot be copied or shared until the JSON is valid again.
The Swift result keeps your reading position when you change an option, edit the JSON or show and hide the settings column.
After you close the last window, clicking SwiftyModel in the Dock opens a new one.