Description
A swift model generator like the Objective-C JSONAccelerator. Formats and generates models for the given JSON and also breaks them into files making it easy to manage and share between several models.
The models that are generated depend on JSON object mapping libraries, currently the model can be generated to depend on any of the below mentioned mapping libraries:
SwiftyJSONAccelerator alternatives and similar libraries
Based on the "Utility" category.
Alternatively, view SwiftyJSONAccelerator alternatives based on common mentions on social networks and blogs.
-
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity. -
SwiftGen-Storyboard
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! -
Dollar
A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript -
swift-protobuf
Plugin and runtime library for using protobuf with Swift -
ExSwift
a set of Swift extensions for standard types and classes. -
Periphery
A tool to identify unused code in Swift projects. -
DifferenceKit
💻 A fast and flexible O(n) difference algorithm framework for Swift collection. -
EZSwiftExtensions
:smirk: How Swift standard types and classes were supposed to work. -
Result
Swift type modelling the success/failure of arbitrary operations. -
LifetimeTracker
Find retain cycles / memory leaks sooner. -
DeepDiff
🦀Amazingly incredible extraordinary lightning fast diffing in Swift -
Device
Light weight tool for detecting the current device and screen size written in swift. -
SwiftLinkPreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images. -
WhatsNew
Showcase new features after an app update similar to Pages, Numbers and Keynote. -
AwesomeCache
Delightful on-disk cache (written in Swift) -
Codextended
Extensions giving Swift's Codable API type inference super powers 🦸♂️🦹♀️ -
Popsicle
Delightful, extensible Swift value interpolation framework. -
protobuf-swift
Google ProtocolBuffers for Apple Swift -
Sugar
:coffee: Something sweet that goes great with your Cocoa -
Playbook
📘A library for isolated developing UI components and automatically taking snapshots of them. -
ReadabilityKit
Preview extractor for news, articles and full-texts in Swift -
PDFGenerator
A simple generator of PDF written in Swift. -
ObjectiveKit
Swift-friendly API for a set of powerful Objective C runtime functions. -
Compass
:earth_africa: Compass helps you setup a central navigation system for your application -
LlamaKit
Collection of must-have functional Swift tools -
Delegated
👷♀️ Closure-based delegation without memory leaks -
Bow
🏹 Bow is a cross-platform library for Typed Functional Programming in Swift -
Solar
A Swift micro library for generating Sunrise and Sunset times. -
SwiftRandom
A tiny generator of random data for swift -
Pythonic.swift
Pythonic tool-belt for Swift – a Swift implementation of selected parts of Python standard library. -
SwiftyUtils
All the reusable code that we need in each project -
Rugby
🏈 Cache CocoaPods for faster rebuild and indexing Xcode project -
BetterSafariView
A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI. -
SwiftPlantUML
A command-line tool and Swift Package for generating class diagrams powered by PlantUML -
AppVersionMonitor
Monitor iOS app version easily.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SwiftyJSONAccelerator or a related project?
README
SwiftyJSONAccelerator - MacOS app Codeable
Model file Generator For Swift 5
Version v2.2
- Generate initializer function for classes
- Application Download: Download the .app (v2.2.0)
Version v2.1
- Tests are back - major parts of the code is covered.
- Multiple file model generator is working again.
Version v2.0 (Swift 5)
- Generates Swift 5
Codeable
version along withCodingKeys
. - Allows support to switch between
Optional
and non-optional variations. - Temporarily support for CLI and tests have been removed.
- UI now supports Dark mode!
Installing & Building
- Building:
pod install
You will also need to install SwiftFormat
with brew install swiftformat
and SwiftLint
with brew install swiftlint
.
- Application Only: Download the .app (v2.2.0)
Features
A Swift model generator like the Objective-C JSONAccelerator. Formats and generates models for the given JSON and also breaks them into files making it easy to manage and share between several models.
- The models that are generated depend Swift's inbuilt
Codeable
feature making encoding and decoding objects a thing of the past. - Allows to opt for either optional or non-optional variables.
- Allows an array of a certain object type with different properties to be merged into a single model with all properties.
- Click
Load folder with JSON files + Config
to generate all possible models for given folder with JSON files, note this needs a.config.json
as this uses the CLI logic internally.
TODO
- CLI tool needs to be recreated
- Tests needed to be added again
- Sparkle integration to deploy newer versions
- Deployment using homebrew
- Add support for Codextended.
Older Swift Versions
The older version of the project generating older swift code. Please keep in mind it is no longer supported.
- Version v1.4.0 (Swift 3) Download (v1.5.0)
- Version v0.0.6 (Swift 2) Download (v0.0.6)
Contributions and Requests
Any suggestions regarding code quality of the app, generated code's quality, Swift related improvements and pull requests are all very welcome. Please make sure you submit the pull request to the next release branch and not the master branch.
License
[MIT License](LICENSE) / Karthikeya Udupa
*Note that all licence references and agreements mentioned in the SwiftyJSONAccelerator README section above
are relevant to that project's source code only.