Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
NCVibrantHighContrastStyling - iPhone Development Wiki

NCVibrantHighContrastStyling

From iPhone Development Wiki
Revision as of 01:13, 23 December 2016 by Andrewwiik (talk | contribs) (→‎Source Code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

NCVibrantHighContrastStyling is a subclass of NCVibrantStyling and is used to apply vibrancy to UIView, UILabel, and UIImageView elements.

Source Code

@implementation NTXVibrantHighContrastStyling
- (CGFloat)alpha {
   return 1;
}
- (NSString *)blendMode {
   return nil;
}
- (UIColor *)color {
   return [UIColor blackColor];
}
- (long long)style {
   return 0;
}
@end