You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
554 B

  1. //
  2. // FLEXObjectRef.h
  3. // FLEX
  4. //
  5. // Created by Tanner Bennett on 7/24/18.
  6. // Copyright (c) 2018 Flipboard. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface FLEXObjectRef : NSObject
  10. + (instancetype)referencing:(id)object;
  11. + (instancetype)referencing:(id)object ivar:(NSString *)ivarName;
  12. + (NSArray<FLEXObjectRef *> *)referencingAll:(NSArray *)objects;
  13. /// For example, "NSString 0x1d4085d0" or "NSLayoutConstraint _object"
  14. @property (nonatomic, readonly) NSString *reference;
  15. @property (nonatomic, readonly) id object;
  16. @end