CLUViewRecordableProperties

@protocol CLUViewRecordableProperties <NSObject>

CLUViewRecordableProperties protocol describe common interface for UIView’s (and all subclasses) properties parsing into dictionary which will be used in JSON encoding to the specific file.

Warning

Needs to be implemented in all custom UIView related categories with properties parsing methods (see UIView (CLUViewRecordableAdditions), UILabel (CLUViewRecordableAdditions), UIImageView (CLUViewRecordableAdditions), UITextField (CLUViewRecordableAdditions) for exmaples)
  • Get NSMutableDictionary object with all properties and subviews of current UIView (or any subclass) object

    Declaration

    Objective-C

    - (NSMutableDictionary *)clue_viewPropertiesDictionary;

    Swift

    func clue_viewPropertiesDictionary() -> NSMutableDictionary!

    Return Value

    NSMutableDictionary object with all properties and subviews