NatLogo
public final class NatLogo : UIView
Note
This component is available in the following variants:- ✅ Base
With the following attribute status:
- Model:
- ✅
A
- ✅
B
- ✅
- Color:
- ✅
Neutral
- ✅
Primary
- ✅
Secondary
- ✅
Highlight
- ✅
Surface
- ✅
- Size:
- ✅
Medium
toVeryhuge
- ✅
NatLogo represents Design System’s logo
component.
The logo image changes according to the configured theme and it has different model, color and size options.
The default model is A
; the default size is veryHuge
; and the default color is neutral
.
Note
the size can only be changed at init()
Example of usage:
let logo = NatLogo(size: .medium)
logo.configure(color: .primary)
logo.configure(model: .modelB)
Requires
It’s necessary to configure the Design System with a theme or fatalError will be raised.
DesignSystem().configure(with: AvailableTheme)
-
Undocumented
Declaration
Swift
public init(size: Size? = .veryHuge)
-
Color is a enum that represents color values for NatLogo.
These are all color options:
- neutral (default)
- primary
- secondary
- highlight
- surface
Declaration
Swift
public enum Color
-
Model is a enum that represents model options for NatLogo image.
These are all model options:
- modelA (A)
- modelB (B)
Declaration
Swift
public enum Model
-
Undocumented
See moreDeclaration
Swift
public enum Language : String
-
Size is a enum that represents size values for NatLogo.
These are all size options:
- veryHuge (default)
- hugeXXX
- hugeXX
- hugeX
- huge
- largeXXX
- largeXX
- largeX
- large
- mediumX
- medium
Declaration
Swift
public enum Size