Loading...
Searching...
No Matches

Configuration for NCFloorSelectorView widget. Allows customization of styles and layout. More...

#include <com/navigine/idl/objc/widgets/NCFloorSelectorViewConfig.h>

Inherits NSObject.

Class Methods

(instancetype) + defaultConfig
 

Properties

UIColor * accentColor
 
UIColor * textColor
 
UIColor * buttonBackgroundColor
 
UIEdgeInsets insets
 

Detailed Description

Configuration for NCFloorSelectorView widget. Allows customization of styles and layout.

Swift code snippet:

let floorConfig = NCFloorSelectorViewConfig.defaultConfig()
floorConfig.accentColor = UIColor(red: 48/255, green: 170/255, blue: 217/255, alpha: 1) // 0xFF30AAD9
floorConfig.textColor = UIColor(red: 21/255, green: 45/255, blue: 71/255, alpha: 1) // 0xFF152D47
floorConfig.buttonBackgroundColor = UIColor(red: 250/255, green: 250/255, blue: 250/255, alpha: 242/255) // 0xF2FAFAFA
floorConfig.insets = UIEdgeInsets(top: 145, left: 16, bottom: 0, right: 0)

Objective C code snippet:

NCFloorSelectorViewConfig *floorConfig = [NCFloorSelectorViewConfig defaultConfig];
floorConfig.accentColor = [UIColor colorWithRed:48/255.0 green:170/255.0 blue:217/255.0 alpha:1]; // 0xFF30AAD9
floorConfig.textColor = [UIColor colorWithRed:21/255.0 green:45/255.0 blue:71/255.0 alpha:1]; // 0xFF152D47
floorConfig.buttonBackgroundColor = [UIColor colorWithRed:250/255.0 green:250/255.0 blue:250/255.0 alpha:242/255.0]; // 0xF2FAFAFA
floorConfig.insets = UIEdgeInsetsMake(145, 16, 0, 0);

Definition at line 23 of file NCFloorSelectorViewConfig.h.

Method Documentation

◆ defaultConfig

+ (instancetype) defaultConfig

Definition at line 9 of file NCFloorSelectorViewConfig.m.

Property Documentation

◆ accentColor

- (UIColor*) accentColor
readwritenonatomicstrong

Definition at line 25 of file NCFloorSelectorViewConfig.h.

◆ buttonBackgroundColor

- (UIColor*) buttonBackgroundColor
readwritenonatomicstrong

Definition at line 27 of file NCFloorSelectorViewConfig.h.

◆ insets

- (UIEdgeInsets) insets
readwritenonatomicassign

UIEdgeInsetsZero = use defaults

Definition at line 28 of file NCFloorSelectorViewConfig.h.

◆ textColor

- (UIColor*) textColor
readwritenonatomicstrong

Definition at line 26 of file NCFloorSelectorViewConfig.h.


The documentation for this class was generated from the following files: