We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c93c9 commit 0ecdfbaCopy full SHA for 0ecdfba
Classes/GPXRoot.swift
@@ -75,6 +75,16 @@ open class GPXRoot: GPXElement {
75
self.version = "1.1"
76
}
77
78
+ /// For internal use only
79
+ ///
80
+ /// Initializes the metadata using a dictionary, with each key being an attribute name.
81
82
+ /// - Remark:
83
+ /// This initializer is designed only for use when parsing GPX files, and shouldn't be used in other ways.
84
85
+ /// - Parameters:
86
+ /// - dictionary: a dictionary with a key of an attribute, followed by the value which is set as the GPX file is parsed.
87
88
internal init(dictionary: [String : String]) {
89
self.creator = dictionary["creator"]
90
self.version = dictionary["version"]
0 commit comments