YMALabelAppearance Class Reference

Inherits from NSObject
Conforms to NSCopying
NSMutableCopying
Declared in YMANativeAssetsAppearance.h

Overview

A class with fixed settings for the standard text appearance: font name, size, and color. If you want to edit the standard appearance settings, use the YMAMutableLabelAppearance class.

  1. Properties
    1. font
    2. textColor
  2. Methods
    1. + appearanceWithFont:textColor:

Properties

font

Font settings: name and size.

@property (nonatomic, strong, readonly) UIFont *font

textColor

Text color.

@property (nonatomic, strong, readonly) UIColor *textColor

Methods

+ appearanceWithFont:textColor:

Creates an object of the YMALabelAppearance class with the text settings.

+ (instancetype)appearanceWithFont:(UIFont *)font
                         textColor:(UIColor *)textColor

Parameters

font

Font settings: name and size.

textColor

Text color.

Return Value

The configured text appearance (the specified font and color).


Generated by appledoc 2.2.1 (build 1334).