RFSHintView

Objective-C

@interface RFSHintView : UIView

@property(readwrite, nonatomic, assign) RFSHintViewState state;
@property(readwrite, nonatomic, strong, nullable) NSString *text;

#pragma mark - Styling

@property(readwrite, nonatomic, assign) CGFloat cornerRadius UI_APPEARANCE_SELECTOR;

- (void)setTextColor:(nullable UIColor *)color forState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;
- (nullable UIColor *)textColorForState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

- (void)setBackgroundColor:(nullable UIColor *)color forState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;
- (nullable UIColor *)backgroundColorForState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

@end

Swift

class HintView : UIView

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(readwrite, nonatomic, assign) RFSHintViewState state

    Swift

    var state: HintViewState { get set }
  • Undocumented

    Declaration

    Objective-C

    @property(readwrite, nonatomic, strong, nullable) NSString *text

    Swift

    var text: String? { get set }

Styling

  • Undocumented

    Declaration

    Objective-C

    @property(readwrite, nonatomic, assign) CGFloat cornerRadius

    Swift

    var cornerRadius: CGFloat { get set }
  • Undocumented

    Declaration

    Objective-C

    - (void)setTextColor:(nullable UIColor *)color forState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

    Swift

    func setTextColor(_ color: UIColor?, for state: HintViewState)
  • Undocumented

    Declaration

    Objective-C

    - (nullable UIColor *)textColorForState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

    Swift

    func textColor(for state: HintViewState) -> UIColor?
  • Undocumented

    Declaration

    Objective-C

    - (void)setBackgroundColor:(nullable UIColor *)color forState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

    Swift

    func setBackgroundColor(_ color: UIColor?, for state: HintViewState)
  • Undocumented

    Declaration

    Objective-C

    - (nullable UIColor *)backgroundColorForState:(RFSHintViewState)state UI_APPEARANCE_SELECTOR;

    Swift

    func backgroundColor(for state: HintViewState) -> UIColor?