RFSUIConfiguration

Objective-C

@interface RFSUIConfiguration : NSObject

RFS_EMPTY_INIT_UNAVAILABLE

- (instancetype)initWithBuilder:(RFSUIConfigurationBuilder *)builder NS_DESIGNATED_INITIALIZER;

+ (instancetype)defaultConfiguration;
+ (instancetype)configurationWithBuilderBlock:(void (^)(RFSUIConfigurationBuilder *))builderBlock;

- (UIColor *)colorForItem:(RFSCustomizationColor)item;
- (UIImage *)imageForItem:(RFSCustomizationImage)item;
- (UIFont *)fontForItem:(RFSCustomizationFont)item;

@end

Swift

class UIConfiguration : NSObject

Undocumented

  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithBuilder:(RFSUIConfigurationBuilder *)builder NS_DESIGNATED_INITIALIZER;

    Swift

    init(builder: UIConfigurationBuilder)
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)defaultConfiguration;

    Swift

    class func `default`() -> Self
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)configurationWithBuilderBlock:(void (^)(RFSUIConfigurationBuilder *))builderBlock;

    Swift

    convenience init(builderBlock: @escaping (UIConfigurationBuilder) -> Void)
  • Undocumented

    Declaration

    Objective-C

    - (UIColor *)colorForItem:(RFSCustomizationColor)item;

    Swift

    func color(forItem item: CustomizationColor) -> UIColor
  • Undocumented

    Declaration

    Objective-C

    - (UIImage *)imageForItem:(RFSCustomizationImage)item;

    Swift

    func image(forItem item: CustomizationImage) -> UIImage
  • Undocumented

    Declaration

    Objective-C

    - (UIFont *)fontForItem:(RFSCustomizationFont)item;

    Swift

    func font(forItem item: CustomizationFont) -> UIFont