LinkItem

public struct LinkItem

An Output Link Item.

  • Create a LinkItem.

    Declaration

    Swift

    public init(id: String?, title: String, href: URL)

    Parameters

    id

    the id for this link

    title

    The title for the link

    href

    The URL for the link

  • Create a LinkItem from attributes.

    Declaration

    Swift

    public init?(attributes: AnyObject)

    Parameters

    attributes

    the attributes (id, title, href)