YMKDataSource
class YMKDataSource : NSObject |
Undocumented
Summary
Instance methods
func invalidate(withVersion version: String) |
Properties
var id: String { get } |
var isValid: Bool { get } |
Instance methods
invalidate(withVersion:)
func invalidate(withVersion version: String) |
Invalidates data source and reloads all tiles. Must not be called if DataSource does not support versioning: LayerOptions.versionSupport = false;
This method may be called on any thread. Its implementation must be thread-safe.
Properties
id
var id: String { get } |
Stores id of data source.
isValid
var isValid: Bool { get } |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.