String
public extension String
                  A SAP Icon extension to String.
- 
                    
                    
Get a SAP Icon icon string with the given icon name.
Declaration
Swift
static func fromIcon(_ name: SAPIcon) -> StringParameters
nameThe preferred icon name.
Return Value
A string that will appear as icon with SAP Icon.
 - 
                    
                    
Get a SAP Icon icon string with the given CSS icon code.
Declaration
Swift
static func fromIcon(code: String) -> String?Parameters
codeThe preferred icon name.
Return Value
A string that will appear as icon with SAP Icon.