- Added support for osx, watchos and tvos
- Added
Runtime.getClass(_:) - Added a
unknown(String)case toObjCTypeEncoding - Added
NSObject.getProperty<T>(_:)to get a property's value ObjCTypeEncodinghow has astruct(String)caseObjCPropertyDescriptioncontains a lot more information about a property:typeEncoding: ObjCTypeEncodingtype: NSObject.TypeisCopy: BoolisRetain: BoolisNonatomic: BoolcustomGetter: String?customSetter: String?isDynamic: BoolisWeak: BoolisConst: BoolisEligibleForGarbageCollection: BoololdStyleTypeEncoding: String?
NSObject.perform(_:, _:)now returns a wrapper so that the user can decide whether he (or she) wants to take the retained or unretained value
- Added
NSObject.removeAssociatedObject: Remove a single associated object from an object - Added
NSObject.removeAllAssociatedObjects: Remove all associated objects from an object
- Added
NSObject.perform: Perform ObjC selectors w/ some additional type safety
- Added some documentation
- Added
Runtime.allClasses - Added
Runtime.classExists - Added
Runtime.createClass - Added
Runtime.createProtocolandRuntime.getProtocol - Added
NSObject.addMethod - Added
NSObject.classMethodsandNSObject.instanceMethods - Added
NSObject.properties - Added the
ObjCTypeEncodingenum
- Initial release