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)
Constructor of YRTViewProvider

init!(uiView view: UIView!)
Constructor of YRTViewProvider

func snapshot()
Takes a snapshot of the given view

Properties

var cacheable: Bool { get }
True if view provider is cacheable

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.


Предыдущая
Следующая