中文English



@interface NSObject (LookinConfig)
        
@end

@implementation NSObject (LookinConfig)

+ (BOOL)lookin_shouldCaptureImageOfView:(UIView *)view {
    if (....) {
        // Lookin will not show image of the view
        return NO;
    } else {
        return YES;
    }
}

+ (BOOL)lookin_shouldCaptureImageOfLayer:(CALayer *)layer {
    if (...) {
        // Lookin will not show image of the layer
        return NO;
    } else {
        return YES;
    }
}
			


- (BOOL)lookin_shouldCaptureImage {
    return NO;
}
    

label.textColor = [UIColor colorWithRed:0.38 green:0.85 blue:0.22 alpha:1];

#define TitleColor [UIColor colorWithRed:0.38 green:0.85 blue:0.22 alpha:1]
label.textColor = TitleColor;

@interface NSObject (LookinConfig)
        
@end
		
@implementation NSObject (LookinConfig)
		
+ (NSDictionary *)lookin_colorAlias {
    return @{
	    @"TitleColor": [UIColor colorWithRed:0.38 green:0.85 blue:0.22 alpha:1],
	    @"MyWhite": [UIColor colorWithRed:1 green:1 blue:1 alpha:1],
	    @"MyBlack": [UIColor colorWithRed:0 green:0 blue:0 alpha:1]
	};
}



@interface NSObject (LookinConfig)
        
@end
				
@implementation NSObject (LookinConfig)
				
+ (NSArray *)lookin_collapsedClassList {
    return @[@"UIButton"];
}