Open Source Swift Library Providing Easy To Use Reflection Functions

Late last year I mentioned a nice Swift based wrapper for CloudKit making it easier to work with your in-app database, handle incoming notifications and communicate with CloudKit called EVCloudKitDao from Edwin Vermeer.

Here’s an open source library submitted by Edwin that provides a number of handy reflection functions for Swift with a nice simple syntax called EVReflection.

The main features of EVReflection as stated in the readme include:

  • Parsing objects based on NSObject to a dictionary.
  • Parsing a dictionary back to an object.
  • Creating a class from a string value and get the string value for a class.
  • Support NSCoding methods encodeWithCoder and decodeObjectWithCoder
  • Supporting Printable, Hashable and Equatable while using all properties. (Support for Set in Swift 1.2)

You can find EVReflection on Github here.

A nice reflection library for Swift.

Original article: Open Source Swift Library Providing Easy To Use Reflection Functions

©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *