[ASImageNode] More refined naming and documentation for [ASImageNode shouldShowImageScalingOverlay]

This commit is contained in:
Hannah Troisi
2016-03-08 23:30:17 -08:00
parent 3fe44b4e23
commit 51eccb3d96
3 changed files with 16 additions and 19 deletions

View File

@@ -8,20 +8,19 @@
#import "AsyncDisplayKit+Debug.h"
#import "ASDisplayNode+Subclasses.h"
#import "ASTextNode.h"
static BOOL __enableImageSizeOverlay = NO;
static BOOL __shouldShowImageScalingOverlay = NO;
@implementation ASImageNode (Debug)
@implementation ASImageNode (Debugging)
+ (void)setImageDebugEnabled:(BOOL)enable;
+ (void)setShouldShowImageScalingOverlay:(BOOL)show;
{
__enableImageSizeOverlay = enable;
__shouldShowImageScalingOverlay = show;
}
+ (BOOL)shouldShowImageDebugOverlay
+ (BOOL)shouldShowImageScalingOverlay
{
return __enableImageSizeOverlay;
return __shouldShowImageScalingOverlay;
}
@end