GPXExtensionsElement
open class GPXExtensionsElement : GPXElement, Codable
A duplicated class of GPXRawElement
This class is a public class as it is representative of all child extension tag types.
It is also inherits GPXElement, and therefore, works like any other ‘native’ element types.
-
Tag name of extension element.
Declaration
Swift
public var name: String -
Text data content of the element.
Declaration
Swift
public var text: String? -
Attributes data of the element.
Declaration
Swift
public var attributes: [String : String] -
Children tags of this element.
Declaration
Swift
public var children: [GPXExtensionsElement] -
Easily get child tags via subscript.
Declaration
Swift
public subscript(name: String) -> GPXExtensionsElement { get } -
Initialize with a tagName.
Declaration
Swift
public init(name: String) -
Default initializer.
Declaration
Swift
required public init()
View on GitHub
GPXExtensionsElement Class Reference