Class
LocalSource
@objc(FSLocalSource) public class LocalSource: NSObject, CellDescriptibleSource
Represents a type of local source to be used in the picker.
Relationships
Conforms To
NSObject
Initializers
init(description:image:provider:)
@objc public init(description: String, image: UIImage, provider: LocalProvider)
Initializer for a LocalSource
accepting a LocalProvider
.
Parameters
Name | Type | Description |
---|---|---|
description | String |
A |
image | UIImage |
An |
provider | LocalProvider |
A |
init(description:image:sourceProvider:)
public init(description: String, image: UIImage, sourceProvider: SourceProvider)
Initializer for a LocalSource
accepting a SourceProvider
.
Parameters
Name | Type | Description |
---|---|---|
description | String |
A |
image | UIImage |
An |
sourceProvider | SourceProvider |
A |
Properties
Methods
custom(description:image:provider:)
public static func custom(description: String, image: UIImage, provider: SourceProvider) -> LocalSource
Returns an user-provided local source that uses a custom SourceProvider
.