RadarViewDataSource

public protocol RadarViewDataSource: class

Responsible for providing the views required by a RadarView, if this protocol is not implemented the default view is used

  • Asks for the view of a particular item

    Declaration

    Swift

    func radarView(radarView: RadarView, viewFor item: Item, preferredSize: CGSize) -> UIView

    Parameters

    radarView

    The radar view

    item

    The particular item

    preferredSize

    The preferred size to use

    Return Value

    The view of the item