Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergdort/xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
https://github.com/sergdort/xcodeequatablegenerator
extension swift-equatable xcode xcode-extension xcode-plugin
Last synced: 23 days ago
JSON representation
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
- Host: GitHub
- URL: https://github.com/sergdort/xcodeequatablegenerator
- Owner: sergdort
- Created: 2016-10-09T15:10:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-27T14:15:05.000Z (over 5 years ago)
- Last Synced: 2024-08-16T11:42:53.378Z (3 months ago)
- Topics: extension, swift-equatable, xcode, xcode-extension, xcode-plugin
- Language: Swift
- Homepage:
- Size: 669 KB
- Stars: 190
- Watchers: 6
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Depricated!
There is not need for it at the moment as Swift compiler can do that for us 🚀
# Swift Equatable Generator
Xcode 8 Source Code Extension will generate conformance to [Swift Equatable](https://developer.apple.com/reference/swift/equatable) protocol based on type and fields selection.
## Features:
- generates `Equatable` conformance for `struct` or `class`## Limitations:
- it's only available for Xcode 8.* and macOS Sierra## TODO:
- potential bug fixes
- add support for `enum`## Example:
![Demo](Resources/Equatable.gif)## Installation
1. Open Equitable.xcodeproj
2. Enable target signing for both the Application and the Source Code Extension using your own developer ID
3. Product > Archive
4. Right click archive > Show in Finder
5. Right click archive > Show Package Contents
6. Open Products, Applications
8. Equitable.app and exit.
9. Go to System Preferences -> Extensions -> Xcode Source Editor and enable the extension
10. The menu-item should now be available from Xcode's Editor menu.