FWAttributedLabel


@interface FWAttributedLabel : UIView

FWAttributedLabel

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, weak, nullable) id<FWAttributedLabelDelegate> delegate
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIFont *font
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *textColor
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *highlightColor
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *linkColor
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *shadowColor
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CGSize shadowOffset
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CGFloat shadowBlur
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL underLineForLink
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL autoDetectLinks
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) NSInteger numberOfLines
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CTTextAlignment textAlignment
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CTLineBreakMode lineBreakMode
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CGFloat lineSpacing
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CGFloat paragraphSpacing
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *text
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSAttributedString *attributedText
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) CGFloat lineTruncatingSpacing
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) FWAttributedLabelAttachment *lineTruncatingAttachment
  • Undocumented

    Declaration

    Objective-C

    - (void)appendText:(NSString *)text;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendAttributedText:(NSAttributedString *)attributedText;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendImage:(UIImage *)image;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendImage:(UIImage *)image
                maxSize:(CGSize)maxSize;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendImage:(UIImage *)image
                maxSize:(CGSize)maxSize
                 margin:(UIEdgeInsets)margin;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendImage:(UIImage *)image
                maxSize:(CGSize)maxSize
                 margin:(UIEdgeInsets)margin
              alignment:(FWAttributedAlignment)alignment;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendView:(UIView *)view;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendView:(UIView *)view
                margin:(UIEdgeInsets)margin;
  • Undocumented

    Declaration

    Objective-C

    - (void)appendView:(UIView *)view
                margin:(UIEdgeInsets)margin
             alignment:(FWAttributedAlignment)alignment;
  • Undocumented

    Declaration

    Objective-C

    - (void)addCustomLink:(id)linkData
                 forRange:(NSRange)range;
  • Undocumented

    Declaration

    Objective-C

    - (void)addCustomLink:(id)linkData
                 forRange:(NSRange)range
                linkColor:(UIColor *)color;
  • Undocumented

    Declaration

    Objective-C

    - (CGSize)sizeThatFits:(CGSize)size;