Extensions on
UIImage
Initializers
init?(renderingType:)
convenience init?(renderingType: DSIconRenderingType)
Initializes an image of the icon represented by the given renderingType.
Parameters
| Name | Type | Description |
|---|---|---|
| renderingType | DSIconRenderingType |
The renderingType of the icon you'd like an image of |
init?(renderingType:)
convenience init?(renderingType: DSIllustrationRenderingType)
Initializes an image of the illustration represented by the given renderingType.
Parameters
| Name | Type | Description |
|---|---|---|
| renderingType | DSIllustrationRenderingType |
The renderingType of the illustration you'd like an image of |