YRTViewProvider
class YRTViewProvider : NSObject |
This class can be used to associate any custom view with PlacemarkMapObject. Snapshot of provided view is taken in constructor and updated any time snapshot method is called by user.
Summary
Instance methods
init!(uiView view: UIView!, cacheable: Bool) |
init!(uiView view: UIView!) |
func snapshot() |
Properties
var cacheable: Bool { get } |
Instance methods
init(uiView:cacheable:)
init!(uiView view: UIView!, cacheable: Bool) |
Constructor of YRTViewProvider. Attention: This blocks the UI via executing snapshot function.
init(uiView:)
init!(uiView view: UIView!) |
Constructor of YRTViewProvider. Cacheable flag will have YES value by default. Attention: This blocks the UI via executing snapshot function.
snapshot()
func snapshot() |
Takes a snapshot of the given view. Attention: This blocks the UI.
Properties
cacheable
var cacheable: Bool { get } |
True if view provider is cacheable. False otherwise.