From 8c8369608aad41b5fbb829ac18be0d7060f73a8e Mon Sep 17 00:00:00 2001 From: Jason Jobe Date: Sun, 15 May 2022 23:10:46 -0400 Subject: [PATCH] gh-pages --- Makefile | 12 +++++++----- docs/assets.json | 1 + docs/data/documentation/anymeasure.json | 2 +- .../data/documentation/anymeasure/*(_:_:)-5zkud.json | 2 +- docs/data/documentation/anymeasure/+(_:_:).json | 2 +- docs/data/documentation/anymeasure/-(_:_:).json | 2 +- docs/data/documentation/anymeasure/anymeasure.json | 2 +- .../anymeasure/anymeasure/description.json | 2 +- .../documentation/anymeasure/anymeasure/init().json | 2 +- docs/data/documentation/anymeasure/currency.json | 2 +- .../documentation/anymeasure/currencyconverter.json | 2 +- .../currencyconverter/baseunitvalue(fromvalue:).json | 2 +- .../anymeasure/currencyconverter/exchange_rates.json | 2 +- .../anymeasure/currencyconverter/init(_:).json | 2 +- .../anymeasure/currencyconverter/init(coder:).json | 2 +- .../currencyconverter/value(frombaseunitvalue:).json | 2 +- docs/data/documentation/anymeasure/distance.json | 2 +- docs/data/documentation/anymeasure/ratio.json | 2 +- .../documentation/anymeasure/ratio/adding(_:).json | 2 +- .../anymeasure/ratio/callasfunction(to:per:).json | 2 +- .../anymeasure/ratio/converted(to:per:).json | 2 +- .../customstringconvertible-implementations.json | 2 +- .../documentation/anymeasure/ratio/description.json | 2 +- .../documentation/anymeasure/ratio/divided(by:).json | 2 +- .../anymeasure/ratio/init(_:_:per:).json | 2 +- .../documentation/anymeasure/ratio/init(_:per:).json | 2 +- .../anymeasure/ratio/init(value:unit:per:).json | 2 +- .../anymeasure/ratio/multiplied(by:)-3ou9i.json | 2 +- .../anymeasure/ratio/numeratorunit.json | 2 +- .../anymeasure/ratio/subtracting(_:).json | 2 +- docs/data/documentation/anymeasure/ratio/symbol.json | 2 +- docs/data/documentation/anymeasure/ratio/value.json | 2 +- docs/data/documentation/anymeasure/ratios.json | 2 +- docs/data/documentation/anymeasure/speed.json | 2 +- docs/data/documentation/anymeasure/unitcurrency.json | 2 +- .../anymeasure/unitcurrency/baseunit().json | 2 +- .../anymeasure/unitcurrency/currencycode.json | 2 +- .../documentation/anymeasure/unitcurrency/eur.json | 2 +- .../anymeasure/unitcurrency/init(country:).json | 2 +- .../anymeasure/unitcurrency/init(from:).json | 2 +- .../unitcurrency/init(symbol:converter:).json | 2 +- .../unitcurrency/instantiateconverter.json | 2 +- .../documentation/anymeasure/unitcurrency/usd.json | 2 +- docs/diagnostics.json | 1 + docs/indexing-records.json | 1 + docs/linkable-entities.json | 1 + 46 files changed, 52 insertions(+), 46 deletions(-) create mode 100644 docs/assets.json create mode 100644 docs/diagnostics.json create mode 100644 docs/indexing-records.json create mode 100644 docs/linkable-entities.json diff --git a/Makefile b/Makefile index b1147f0..5e98d1c 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,11 @@ all: alt: swift package --allow-writing-to-directory ./docs \ - generate-documentation --target $(TARGET) \ - --disable-indexing \ - --transform-for-static-hosting \ - --hosting-base-path $(TARGET) \ - --output-path ./docs + generate-documentation --target $(TARGET) \ + --emit-digest \ + --disable-indexing \ + --transform-for-static-hosting \ + --hosting-base-path $(TARGET) \ + --output-path ./docs + diff --git a/docs/assets.json b/docs/assets.json new file mode 100644 index 0000000..a236523 --- /dev/null +++ b/docs/assets.json @@ -0,0 +1 @@ +{"images":[{"alt":"Tape Measures","type":"image","identifier":"tape_measures.png","variants":[{"url":"\/images\/tape_measures.png","traits":["1x","light"]}]},{"alt":"Drafting Tools","type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg","variants":[{"url":"\/images\/fleur-dQf7RZhMOJU-unsplash.jpg","traits":["1x","light"]}]}],"downloads":[],"videos":[]} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure.json b/docs/data/documentation/anymeasure.json index 57ac1ce..d2d6558 100644 --- a/docs/data/documentation/anymeasure.json +++ b/docs/data/documentation/anymeasure.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Simplifying-Measurement-in-Swift","level":2,"type":"heading","text":"Simplifying Measurement in Swift"},{"anchor":"A-quick-and-easy-implementation","level":2,"type":"heading","text":"A quick and easy implementation"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------"}]},{"type":"paragraph","inlineContent":[{"overridingTitleInlineContent":[{"type":"text","text":"Jason Jobe"}],"isActive":true,"type":"reference","identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","overridingTitle":"Jason Jobe"}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------"}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"tape_measures.png"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Image by "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/@wwarby"},{"type":"text","text":" from "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"I have always liked the idea of using explicit "},{"type":"codeVoice","code":"Measurement"},{"type":"text","text":" values (magnitude and unit) but I have generally found them cumbersome in actual code."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"There are a few solutions out there but I found them somehow unsatisfactory."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"So, after some research and reflection, I hit on the following as a desirable syntax that nicely supports autocomplete in Xcode from the available units for any typed "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":["let m: Mass = 123(.kilograms) \/\/ => 123.0 kg","let m2: Mass = 123(.kilograms) + 17(.stones) \/\/ => 230.95493 kg","m2.converted(to: .pounds) \/\/ 509.1688786398349 lb"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"And with a little thought and experimentation, I was able to implement this quite succinctly:"}]},{"type":"codeListing","syntax":"swift","code":["public typealias Mass = Measurement","","public extension Double { ","func callAsFunction (_ units: U) -> Measurement {","Measurement(value: self, unit: units)","}","}","","public extension Int {","func callAsFunction (_ units: U) -> Measurement {","Measurement(value: Double(self), unit: units)","}","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Add one small extension for an implicitly unitized zero value:"}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Example","let z: Mass = .zero","","\/\/ Using","public extension Measurement where UnitType: Dimension {","static var zero: Measurement {","Measurement(value: 0, unit: UnitType.baseUnit())","}","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"By using generics in the "},{"type":"codeVoice","code":"Double"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Int"},{"type":"text","text":" extensions, we can easily include any other "},{"type":"codeVoice","code":"Measurement"},{"type":"text","text":" "},{"type":"codeVoice","code":"Units"},{"type":"text","text":" with no additional tedious boilerplate code to write."}]},{"type":"codeListing","syntax":"swift","code":["public typealias Duration = Measurement","public typealias Angle = Measurement","public typealias Length = Measurement","public typealias Speed = Measurement"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you find you want or need any additional units for a particular "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"they are easy enough to add as extension:"}]},{"type":"codeListing","syntax":"swift","code":["\/\/ As an example","extension UnitDuration {","","static let SecondsPerDay: Double = 86_400","","static let days = UnitDuration(symbol: \"days\", ","converter: UnitConverterLinear(coefficient: SecondsPerDay))","","static let weeks = UnitDuration(symbol: \"weeks\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 7))","","static let months = UnitDuration(symbol: \"months\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 30))","","static let years = UnitDuration(symbol: \"years\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 365))","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If this is useful take a look "},{"type":"reference","isActive":true,"identifier":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479"},{"type":"text","text":" for the complete code along with some other useful additions."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you are interested in learning more about Units and Measurements and how to create your own custom ones I recommend the following."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586"}]}]}]},{"anchor":"Overview","level":2,"type":"heading","text":"Overview"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"AnyMeasure","title":"AnyMeasure","symbolKind":"module","role":"collection","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Articles","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios"],"generated":true},{"title":"Classes","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]},{"title":"Structures","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]},{"title":"Operators","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)"]},{"title":"Type Aliases","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity"]}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/Mass":{"role":"symbol","title":"Mass","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Mass"}],"abstract":[{"type":"text","text":"Units of measure for mass (aka “weight”)"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Mass"}],"url":"\/documentation\/anymeasure\/mass"},"doc://AnyMeasure/documentation/AnyMeasure/-(_:_:)":{"role":"symbol","title":"-(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/-(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"https://gist.github.com/wildthink/4b63ab16250f17d04b85309b5338b479":{"title":"here","titleInlineContent":[{"type":"text","text":"here"}],"type":"link","identifier":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479","url":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479"},"doc://AnyMeasure/documentation/AnyMeasure/+(_:_:)":{"role":"symbol","title":"+(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/+(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Speed":{"role":"symbol","title":"Speed","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Speed"}],"url":"\/documentation\/anymeasure\/speed"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5696l":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5696l"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5zkud":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5zkud"},"doc://AnyMeasure/documentation/AnyMeasure/Length":{"role":"symbol","title":"Length","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Length"}],"abstract":[{"type":"text","text":"Units of measure for length"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Length"}],"url":"\/documentation\/anymeasure\/length"},"doc://AnyMeasure/documentation/AnyMeasure/Distance":{"role":"symbol","title":"Distance","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Distance"}],"url":"\/documentation\/anymeasure\/distance"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"tape_measures.png":{"alt":"Tape Measures","type":"image","identifier":"tape_measures.png","variants":[{"url":"\/images\/tape_measures.png","traits":["1x","light"]}]},"https://developer.apple.com/documentation/foundation/units_and_measurement":{"title":"Apple: Units and Measurement","titleInlineContent":[{"type":"text","text":"Apple: Units and Measurement"}],"type":"link","identifier":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement","url":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement"},"doc://AnyMeasure/documentation/AnyMeasure/Velocity":{"role":"symbol","title":"Velocity","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Velocity"}],"abstract":[{"type":"text","text":"Units of measure of velocity (aka Speed) as length\/duration"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Velocity"}],"url":"\/documentation\/anymeasure\/velocity"},"https://betterprogramming.pub/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------":{"title":"Aug 1, 2021·2 min read","titleInlineContent":[{"type":"text","text":"Aug 1, 2021·2 min read"}],"type":"link","identifier":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------","url":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------"},"doc://AnyMeasure/documentation/AnyMeasure/Duration":{"role":"symbol","title":"Duration","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Duration"}],"abstract":[{"type":"text","text":"Units of measure for time duration"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Duration"}],"url":"\/documentation\/anymeasure\/duration"},"doc://AnyMeasure/documentation/AnyMeasure/Currency":{"role":"symbol","title":"Currency","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Currency"}],"url":"\/documentation\/anymeasure\/currency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"https://medium.com/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------":{"title":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","titleInlineContent":[{"type":"image","identifier":"https:\/\/miro.medium.com\/fit\/c\/56\/56\/2*ycjDjALDtNHY1IEcShRjKw.jpeg"}],"type":"link","identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","url":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-1vcal":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-1vcal"},"https://unsplash.com/photos/WahfNoqbYnM":{"title":"unsplash","titleInlineContent":[{"type":"text","text":"unsplash"}],"type":"link","identifier":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM","url":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM"},"doc://AnyMeasure/documentation/AnyMeasure//(_:_:)":{"role":"symbol","title":"\/(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"\/"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/\/(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratios":{"role":"article","title":"Measurements in Swift: Enhanced & Simplified Again","abstract":[{"type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratios"},"doc://AnyMeasure/documentation/AnyMeasure/Angle":{"role":"symbol","title":"Angle","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Angle"}],"abstract":[{"type":"text","text":"Units of measure for planar angle and rotation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Angle"}],"url":"\/documentation\/anymeasure\/angle"},"https://unsplash.com/@wwarby":{"title":"William Warby","titleInlineContent":[{"type":"text","text":"William Warby"}],"type":"link","identifier":"https:\/\/unsplash.com\/@wwarby","url":"https:\/\/unsplash.com\/@wwarby"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"https://betterprogramming.pub/unit-and-measurement-in-swift-7c6be4a25586":{"title":"Unit and Measurement in Swift","titleInlineContent":[{"type":"text","text":"Unit and Measurement in Swift"}],"type":"link","identifier":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586","url":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"Simplifying-Measurement-in-Swift","level":2,"type":"heading","text":"Simplifying Measurement in Swift"},{"anchor":"A-quick-and-easy-implementation","level":2,"type":"heading","text":"A quick and easy implementation"},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------"}]},{"type":"paragraph","inlineContent":[{"overridingTitleInlineContent":[{"type":"text","text":"Jason Jobe"}],"isActive":true,"type":"reference","identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","overridingTitle":"Jason Jobe"}]},{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------"}]},{"type":"paragraph","inlineContent":[{"type":"image","identifier":"tape_measures.png"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Image by "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/@wwarby"},{"type":"text","text":" from "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"I have always liked the idea of using explicit "},{"type":"codeVoice","code":"Measurement"},{"type":"text","text":" values (magnitude and unit) but I have generally found them cumbersome in actual code."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"There are a few solutions out there but I found them somehow unsatisfactory."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"So, after some research and reflection, I hit on the following as a desirable syntax that nicely supports autocomplete in Xcode from the available units for any typed "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}]},{"type":"codeListing","syntax":"swift","code":["let m: Mass = 123(.kilograms) \/\/ => 123.0 kg","let m2: Mass = 123(.kilograms) + 17(.stones) \/\/ => 230.95493 kg","m2.converted(to: .pounds) \/\/ 509.1688786398349 lb"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"And with a little thought and experimentation, I was able to implement this quite succinctly:"}]},{"type":"codeListing","syntax":"swift","code":["public typealias Mass = Measurement","","public extension Double { ","func callAsFunction (_ units: U) -> Measurement {","Measurement(value: self, unit: units)","}","}","","public extension Int {","func callAsFunction (_ units: U) -> Measurement {","Measurement(value: Double(self), unit: units)","}","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Add one small extension for an implicitly unitized zero value:"}]},{"type":"codeListing","syntax":"swift","code":["\/\/ Example","let z: Mass = .zero","","\/\/ Using","public extension Measurement where UnitType: Dimension {","static var zero: Measurement {","Measurement(value: 0, unit: UnitType.baseUnit())","}","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"By using generics in the "},{"type":"codeVoice","code":"Double"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Int"},{"type":"text","text":" extensions, we can easily include any other "},{"type":"codeVoice","code":"Measurement"},{"type":"text","text":" "},{"type":"codeVoice","code":"Units"},{"type":"text","text":" with no additional tedious boilerplate code to write."}]},{"type":"codeListing","syntax":"swift","code":["public typealias Duration = Measurement","public typealias Angle = Measurement","public typealias Length = Measurement","public typealias Speed = Measurement"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you find you want or need any additional units for a particular "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"they are easy enough to add as extension:"}]},{"type":"codeListing","syntax":"swift","code":["\/\/ As an example","extension UnitDuration {","","static let SecondsPerDay: Double = 86_400","","static let days = UnitDuration(symbol: \"days\", ","converter: UnitConverterLinear(coefficient: SecondsPerDay))","","static let weeks = UnitDuration(symbol: \"weeks\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 7))","","static let months = UnitDuration(symbol: \"months\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 30))","","static let years = UnitDuration(symbol: \"years\",","converter: UnitConverterLinear(coefficient: SecondsPerDay * 365))","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If this is useful take a look "},{"type":"reference","isActive":true,"identifier":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479"},{"type":"text","text":" for the complete code along with some other useful additions."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you are interested in learning more about Units and Measurements and how to create your own custom ones I recommend the following."}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"reference","isActive":true,"identifier":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586"}]}]}]},{"anchor":"Overview","level":2,"type":"heading","text":"Overview"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"AnyMeasure","title":"AnyMeasure","symbolKind":"module","role":"collection","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Articles","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios"],"generated":true},{"title":"Classes","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]},{"title":"Structures","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]},{"title":"Operators","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)"]},{"title":"Type Aliases","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity"]}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/+(_:_:)":{"role":"symbol","title":"+(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/+(_:_:)"},"tape_measures.png":{"alt":"Tape Measures","type":"image","identifier":"tape_measures.png","variants":[{"url":"\/images\/tape_measures.png","traits":["1x","light"]}]},"doc://AnyMeasure/documentation/AnyMeasure/-(_:_:)":{"role":"symbol","title":"-(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/-(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Speed":{"role":"symbol","title":"Speed","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Speed"}],"url":"\/documentation\/anymeasure\/speed"},"doc://AnyMeasure/documentation/AnyMeasure//(_:_:)":{"role":"symbol","title":"\/(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"\/"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/\/(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Angle":{"role":"symbol","title":"Angle","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Angle"}],"abstract":[{"type":"text","text":"Units of measure for planar angle and rotation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Angle"}],"url":"\/documentation\/anymeasure\/angle"},"https://unsplash.com/photos/WahfNoqbYnM":{"title":"unsplash","titleInlineContent":[{"type":"text","text":"unsplash"}],"type":"link","identifier":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM","url":"https:\/\/unsplash.com\/photos\/WahfNoqbYnM"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Velocity":{"role":"symbol","title":"Velocity","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Velocity"}],"abstract":[{"type":"text","text":"Units of measure of velocity (aka Speed) as length\/duration"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Velocity"}],"url":"\/documentation\/anymeasure\/velocity"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5zkud":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5zkud"},"https://gist.github.com/wildthink/4b63ab16250f17d04b85309b5338b479":{"title":"here","titleInlineContent":[{"type":"text","text":"here"}],"type":"link","identifier":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479","url":"https:\/\/gist.github.com\/wildthink\/4b63ab16250f17d04b85309b5338b479"},"https://betterprogramming.pub/unit-and-measurement-in-swift-7c6be4a25586":{"title":"Unit and Measurement in Swift","titleInlineContent":[{"type":"text","text":"Unit and Measurement in Swift"}],"type":"link","identifier":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586","url":"https:\/\/betterprogramming.pub\/unit-and-measurement-in-swift-7c6be4a25586"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-1vcal":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-1vcal"},"doc://AnyMeasure/documentation/AnyMeasure/Distance":{"role":"symbol","title":"Distance","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Distance"}],"url":"\/documentation\/anymeasure\/distance"},"doc://AnyMeasure/documentation/AnyMeasure/Ratios":{"role":"article","title":"Measurements in Swift: Enhanced & Simplified Again","abstract":[{"type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratios"},"https://unsplash.com/@wwarby":{"title":"William Warby","titleInlineContent":[{"type":"text","text":"William Warby"}],"type":"link","identifier":"https:\/\/unsplash.com\/@wwarby","url":"https:\/\/unsplash.com\/@wwarby"},"doc://AnyMeasure/documentation/AnyMeasure/Duration":{"role":"symbol","title":"Duration","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Duration"}],"abstract":[{"type":"text","text":"Units of measure for time duration"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Duration"}],"url":"\/documentation\/anymeasure\/duration"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/Currency":{"role":"symbol","title":"Currency","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Currency"}],"url":"\/documentation\/anymeasure\/currency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"https://betterprogramming.pub/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------":{"title":"Aug 1, 2021·2 min read","titleInlineContent":[{"type":"text","text":"Aug 1, 2021·2 min read"}],"type":"link","identifier":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------","url":"https:\/\/betterprogramming.pub\/measurement-in-swift-simplified-30207fd8282c?source=post_page-----30207fd8282c-----------------------------------"},"doc://AnyMeasure/documentation/AnyMeasure/Length":{"role":"symbol","title":"Length","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Length"}],"abstract":[{"type":"text","text":"Units of measure for length"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Length"}],"url":"\/documentation\/anymeasure\/length"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"https://medium.com/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------":{"title":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","titleInlineContent":[{"type":"image","identifier":"https:\/\/miro.medium.com\/fit\/c\/56\/56\/2*ycjDjALDtNHY1IEcShRjKw.jpeg"}],"type":"link","identifier":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------","url":"https:\/\/medium.com\/@jasonj_2009?source=post_page-----30207fd8282c-----------------------------------"},"https://developer.apple.com/documentation/foundation/units_and_measurement":{"title":"Apple: Units and Measurement","titleInlineContent":[{"type":"text","text":"Apple: Units and Measurement"}],"type":"link","identifier":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement","url":"https:\/\/developer.apple.com\/documentation\/foundation\/units_and_measurement"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5696l":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5696l"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Mass":{"role":"symbol","title":"Mass","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Mass"}],"abstract":[{"type":"text","text":"Units of measure for mass (aka “weight”)"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Mass"}],"url":"\/documentation\/anymeasure\/mass"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/*(_:_:)-5zkud.json b/docs/data/documentation/anymeasure/*(_:_:)-5zkud.json index f22fb4a..30ac6ca 100644 --- a/docs/data/documentation/anymeasure/*(_:_:)-5zkud.json +++ b/docs/data/documentation/anymeasure/*(_:_:)-5zkud.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/*(_:_:)-5zkud"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"title":"*(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1moiy10Foundation11MeasurementVyxGAA5RatioVyxq_G_AEyq_GtSo11NSDimensionCRbzALRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5zkud":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5zkud"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/*(_:_:)-5zkud"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"title":"*(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1moiy10Foundation11MeasurementVyxGAA5RatioVyxq_G_AEyq_GtSo11NSDimensionCRbzALRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/*(_:_:)-5zkud":{"role":"symbol","title":"*(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/*(_:_:)-5zkud"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/+(_:_:).json b/docs/data/documentation/anymeasure/+(_:_:).json index 73e4b28..4bdfc8e 100644 --- a/docs/data/documentation/anymeasure/+(_:_:).json +++ b/docs/data/documentation/anymeasure/+(_:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/+(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"+(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1poiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/+(_:_:)":{"role":"symbol","title":"+(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/+(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/+(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"+(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1poiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/+(_:_:)":{"role":"symbol","title":"+(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/+(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/-(_:_:).json b/docs/data/documentation/anymeasure/-(_:_:).json index cfcf537..ae07606 100644 --- a/docs/data/documentation/anymeasure/-(_:_:).json +++ b/docs/data/documentation/anymeasure/-(_:_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/-(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"-(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1soiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/-(_:_:)":{"role":"symbol","title":"-(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/-(_:_:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"internalParam","text":"lhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"internalParam","text":"rhs"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Dimension","preciseIdentifier":"c:objc(cs)NSDimension"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/-(_:_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"-(_:_:)","roleHeading":"Operator","role":"symbol","symbolKind":"op","externalID":"s:10AnyMeasure1soiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/-(_:_:)":{"role":"symbol","title":"-(_:_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/-(_:_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/anymeasure.json b/docs/data/documentation/anymeasure/anymeasure.json index e99f271..d16f037 100644 --- a/docs/data/documentation/anymeasure/anymeasure.json +++ b/docs/data/documentation/anymeasure/anymeasure.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"title":"AnyMeasure","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:10AnyMeasureAAV","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description"]}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/init()"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/description"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"title":"AnyMeasure","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:10AnyMeasureAAV","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description"]}],"references":{"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/init()"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/description"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/anymeasure/description.json b/docs/data/documentation/anymeasure/anymeasure/description.json index de1a3ec..2977c4b 100644 --- a/docs/data/documentation/anymeasure/anymeasure/description.json +++ b/docs/data/documentation/anymeasure/anymeasure/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"description","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasureAAV11descriptionSSvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/description"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"description","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasureAAV11descriptionSSvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/description":{"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/description"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/anymeasure/init().json b/docs/data/documentation/anymeasure/anymeasure/init().json index 4b7e29a..0919ee8 100644 --- a/docs/data/documentation/anymeasure/anymeasure/init().json +++ b/docs/data/documentation/anymeasure/anymeasure/init().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"title":"init()","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasureAAVABycfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/init()"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/anymeasure\/init()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"title":"init()","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasureAAVABycfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure/init()":{"role":"symbol","title":"init()","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"()"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/anymeasure\/init()"},"doc://AnyMeasure/documentation/AnyMeasure/AnyMeasure":{"role":"symbol","title":"AnyMeasure","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"AnyMeasure"}],"url":"\/documentation\/anymeasure\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currency.json b/docs/data/documentation/anymeasure/currency.json index 58e1c7f..f7e5040 100644 --- a/docs/data/documentation/anymeasure/currency.json +++ b/docs/data/documentation/anymeasure/currency.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currency"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"title":"Currency","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure8Currencya","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Currency"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/Currency":{"role":"symbol","title":"Currency","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Currency"}],"url":"\/documentation\/anymeasure\/currency"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currency"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"title":"Currency","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure8Currencya","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Currency"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Currency":{"role":"symbol","title":"Currency","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Currency"}],"url":"\/documentation\/anymeasure\/currency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter.json b/docs/data/documentation/anymeasure/currencyconverter.json index 532198c..2f1856f 100644 --- a/docs/data/documentation/anymeasure/currencyconverter.json +++ b/docs/data/documentation/anymeasure/currencyconverter.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Exchange Rates provided by:"},{"type":"text","text":" "},{"type":"text","text":"https:\/\/www.exchangerate-api.com"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"https:\/\/openexchangerates.org\/api\/latest.json?app_id=ec347ebded80471986884a250272d7d7"},{"type":"text","text":" "},{"type":"text","text":"disclaimer: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"license: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"timestamp: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"base: “USD”,"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"IMPORTANT NOTICE:"},{"type":"text","text":" "},{"type":"text","text":"If you are a business user, please note that in particular, we will not be liable for:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of profits, sales, business, or revenue;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"business interruption;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of anticipated savings;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of business opportunity, goodwill or reputation; or"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"any indirect or consequential loss or damage."}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you are a consumer user, please note that we only provide this Echange Rate data"},{"type":"text","text":" "},{"type":"text","text":"for private use. You agree not to use this data for any commercial or business"},{"type":"text","text":" "},{"type":"text","text":"purposes, and we have no liability to you for any loss of profit, loss of business,"},{"type":"text","text":" "},{"type":"text","text":"business interruption, or loss of business opportunity."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":[],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/AnyMeasure\/objc(pl)NSCoding","doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding","doc:\/\/AnyMeasure\/objc(pl)NSObject","doc:\/\/AnyMeasure\/s7CVarArgP","doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP","doc:\/\/AnyMeasure\/s23CustomStringConvertibleP","doc:\/\/AnyMeasure\/SQ","doc:\/\/AnyMeasure\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"title":"CurrencyConverter","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates"]}],"references":{"doc://AnyMeasure/objc(pl)NSObject":{"type":"unresolvable","title":"ObjectiveC.NSObjectProtocol","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSObject"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(coder:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/AnyMeasure\/SH"},"doc://AnyMeasure/s28CustomDebugStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomDebugStringConvertible","identifier":"doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/exchange_rates":{"role":"symbol","title":"exchange_rates","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/exchange_rates"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/value(fromBaseUnitValue:)":{"role":"symbol","title":"value(fromBaseUnitValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"},"doc://AnyMeasure/s7CVarArgP":{"type":"unresolvable","title":"Swift.CVarArg","identifier":"doc:\/\/AnyMeasure\/s7CVarArgP"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/objc(pl)NSSecureCoding":{"type":"unresolvable","title":"Foundation.NSSecureCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding"},"doc://AnyMeasure/objc(pl)NSCoding":{"type":"unresolvable","title":"Foundation.NSCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCoding"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/symbol"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/baseUnitValue(fromValue:)":{"role":"symbol","title":"baseUnitValue(fromValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"},"doc://AnyMeasure/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/AnyMeasure\/SQ"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(_:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Exchange Rates provided by:"},{"type":"text","text":" "},{"type":"text","text":"https:\/\/www.exchangerate-api.com"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"https:\/\/openexchangerates.org\/api\/latest.json?app_id=ec347ebded80471986884a250272d7d7"},{"type":"text","text":" "},{"type":"text","text":"disclaimer: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"license: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"timestamp: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"base: “USD”,"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"IMPORTANT NOTICE:"},{"type":"text","text":" "},{"type":"text","text":"If you are a business user, please note that in particular, we will not be liable for:"}]},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of profits, sales, business, or revenue;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"business interruption;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of anticipated savings;"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"loss of business opportunity, goodwill or reputation; or"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"any indirect or consequential loss or damage."}]}]}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you are a consumer user, please note that we only provide this Echange Rate data"},{"type":"text","text":" "},{"type":"text","text":"for private use. You agree not to use this data for any commercial or business"},{"type":"text","text":" "},{"type":"text","text":"purposes, and we have no liability to you for any loss of profit, loss of business,"},{"type":"text","text":" "},{"type":"text","text":"business interruption, or loss of business opportunity."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":[],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/AnyMeasure\/objc(pl)NSCoding","doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding","doc:\/\/AnyMeasure\/objc(pl)NSObject","doc:\/\/AnyMeasure\/s7CVarArgP","doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP","doc:\/\/AnyMeasure\/s23CustomStringConvertibleP","doc:\/\/AnyMeasure\/SQ","doc:\/\/AnyMeasure\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"title":"CurrencyConverter","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates"]}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/symbol"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/exchange_rates":{"role":"symbol","title":"exchange_rates","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/exchange_rates"},"doc://AnyMeasure/objc(pl)NSCoding":{"type":"unresolvable","title":"Foundation.NSCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCoding"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/baseUnitValue(fromValue:)":{"role":"symbol","title":"baseUnitValue(fromValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/value(fromBaseUnitValue:)":{"role":"symbol","title":"value(fromBaseUnitValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"},"doc://AnyMeasure/objc(pl)NSObject":{"type":"unresolvable","title":"ObjectiveC.NSObjectProtocol","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSObject"},"doc://AnyMeasure/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/AnyMeasure\/SQ"},"doc://AnyMeasure/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/AnyMeasure\/SH"},"doc://AnyMeasure/s7CVarArgP":{"type":"unresolvable","title":"Swift.CVarArg","identifier":"doc:\/\/AnyMeasure\/s7CVarArgP"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(coder:)"},"doc://AnyMeasure/s28CustomDebugStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomDebugStringConvertible","identifier":"doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/objc(pl)NSSecureCoding":{"type":"unresolvable","title":"Foundation.NSSecureCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter/baseunitvalue(fromvalue:).json b/docs/data/documentation/anymeasure/currencyconverter/baseunitvalue(fromvalue:).json index a6f3a8c..cdc5cdb 100644 --- a/docs/data/documentation/anymeasure/currencyconverter/baseunitvalue(fromvalue:).json +++ b/docs/data/documentation/anymeasure/currencyconverter/baseunitvalue(fromvalue:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"baseUnitValue(fromValue:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)baseUnitValueFromValue:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/baseUnitValue(fromValue:)":{"role":"symbol","title":"baseUnitValue(fromValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"baseUnitValue(fromValue:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)baseUnitValueFromValue:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/baseUnitValue(fromValue:)":{"role":"symbol","title":"baseUnitValue(fromValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter/exchange_rates.json b/docs/data/documentation/anymeasure/currencyconverter/exchange_rates.json index 7f34419..39c7d6e 100644 --- a/docs/data/documentation/anymeasure/currencyconverter/exchange_rates.json +++ b/docs/data/documentation/anymeasure/currencyconverter/exchange_rates.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/exchange_rates"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"kind":"symbol","metadata":{"role":"symbol","title":"exchange_rates","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"symbolKind":"property","externalID":"s:10AnyMeasure17CurrencyConverterC14exchange_ratesSDySSSdGvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/exchange_rates":{"role":"symbol","title":"exchange_rates","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/exchange_rates"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/exchange_rates"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"kind":"symbol","metadata":{"role":"symbol","title":"exchange_rates","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"symbolKind":"property","externalID":"s:10AnyMeasure17CurrencyConverterC14exchange_ratesSDySSSdGvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/exchange_rates":{"role":"symbol","title":"exchange_rates","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/exchange_rates"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter/init(_:).json b/docs/data/documentation/anymeasure/currencyconverter/init(_:).json index 77d3a82..3b049e3 100644 --- a/docs/data/documentation/anymeasure/currencyconverter/init(_:).json +++ b/docs/data/documentation/anymeasure/currencyconverter/init(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure17CurrencyConverterCyACSScfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(_:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/init(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(_:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure17CurrencyConverterCyACSScfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(_:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter/init(coder:).json b/docs/data/documentation/anymeasure/currencyconverter/init(coder:).json index 730e507..167f98f 100644 --- a/docs/data/documentation/anymeasure/currencyconverter/init(coder:).json +++ b/docs/data/documentation/anymeasure/currencyconverter/init(coder:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"required"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/init(coder:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"title":"init(coder:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)initWithCoder:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(coder:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"required"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/init(coder:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"title":"init(coder:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)initWithCoder:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/init(coder:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/currencyconverter/value(frombaseunitvalue:).json b/docs/data/documentation/anymeasure/currencyconverter/value(frombaseunitvalue:).json index 0cf7c3b..f51236c 100644 --- a/docs/data/documentation/anymeasure/currencyconverter/value(frombaseunitvalue:).json +++ b/docs/data/documentation/anymeasure/currencyconverter/value(frombaseunitvalue:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":" "},{"kind":"internalParam","text":"baseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value(fromBaseUnitValue:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)valueFromBaseUnitValue:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/value(fromBaseUnitValue:)":{"role":"symbol","title":"value(fromBaseUnitValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":" "},{"kind":"internalParam","text":"baseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value(fromBaseUnitValue:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)valueFromBaseUnitValue:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter/value(fromBaseUnitValue:)":{"role":"symbol","title":"value(fromBaseUnitValue:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/distance.json b/docs/data/documentation/anymeasure/distance.json index d190e23..105bdce 100644 --- a/docs/data/documentation/anymeasure/distance.json +++ b/docs/data/documentation/anymeasure/distance.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"UnitLength","preciseIdentifier":"c:objc(cs)NSUnitLength"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/distance"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"title":"Distance","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure8Distancea","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Distance"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Distance":{"role":"symbol","title":"Distance","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Distance"}],"url":"\/documentation\/anymeasure\/distance"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"UnitLength","preciseIdentifier":"c:objc(cs)NSUnitLength"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/distance"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"title":"Distance","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure8Distancea","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Distance"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Distance":{"role":"symbol","title":"Distance","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Distance"}],"url":"\/documentation\/anymeasure\/distance"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio.json b/docs/data/documentation/anymeasure/ratio.json index d34263a..75e2d87 100644 --- a/docs/data/documentation/anymeasure/ratio.json +++ b/docs/data/documentation/anymeasure/ratio.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Numerator"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"Denominator"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Unit","preciseIdentifier":"c:objc(cs)NSUnit"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Unit","preciseIdentifier":"c:objc(cs)NSUnit"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"For example, volume over time multiplied by time yields volume:"}]},{"type":"codeListing","syntax":"swift","code":["let flowRate = Ratio(value: 84760,","unit: .cubicFeet,","per: .seconds)","let oneDay = Measurement(value: 24, unit: .hours)","","(flowRate * oneDay).converted(to: .megaliters) \/\/ 207371ML"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"A ratio of two related quantities,"},{"type":"text","text":" "},{"type":"text","text":"expressed in terms of an amount of numerator unit per single denominator unit."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"title":"Ratio","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:10AnyMeasure5RatioV","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Ratio"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations"],"generated":true}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:per:)":{"role":"symbol","title":"init(_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/callAsFunction(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/adding(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/adding(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:_:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-1wixy":{"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of the ratio multiplied by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-1wixy"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(value:unit:per:)":{"role":"symbol","title":"init(value:unit:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/converted(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/converted(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/denominatorUnit":{"role":"symbol","title":"denominatorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"}],"abstract":[{"type":"text","text":"The denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/denominatorunit"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-3ou9i":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/numeratorUnit":{"role":"symbol","title":"numeratorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"abstract":[{"type":"text","text":"The numerator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/numeratorunit"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/value"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/subtracting(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/subtracting(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/divided(by:)":{"role":"symbol","title":"divided(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/divided(by:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The ratio symbol."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/symbol"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"Numerator"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"Denominator"},{"kind":"text","text":"> "},{"kind":"keyword","text":"where"},{"kind":"text","text":" "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Unit","preciseIdentifier":"c:objc(cs)NSUnit"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Unit","preciseIdentifier":"c:objc(cs)NSUnit"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"For example, volume over time multiplied by time yields volume:"}]},{"type":"codeListing","syntax":"swift","code":["let flowRate = Ratio(value: 84760,","unit: .cubicFeet,","per: .seconds)","let oneDay = Measurement(value: 24, unit: .hours)","","(flowRate * oneDay).converted(to: .megaliters) \/\/ 207371ML"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"A ratio of two related quantities,"},{"type":"text","text":" "},{"type":"text","text":"expressed in terms of an amount of numerator unit per single denominator unit."}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":["doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"title":"Ratio","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:10AnyMeasure5RatioV","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Ratio"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations"],"generated":true}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The ratio symbol."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/symbol"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/value"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:per:)":{"role":"symbol","title":"init(_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/subtracting(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/subtracting(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-3ou9i":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/adding(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/adding(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(value:unit:per:)":{"role":"symbol","title":"init(value:unit:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/callAsFunction(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:_:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/denominatorUnit":{"role":"symbol","title":"denominatorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"}],"abstract":[{"type":"text","text":"The denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/denominatorunit"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/numeratorUnit":{"role":"symbol","title":"numeratorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"abstract":[{"type":"text","text":"The numerator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/numeratorunit"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/converted(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/converted(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/divided(by:)":{"role":"symbol","title":"divided(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/divided(by:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-1wixy":{"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of the ratio multiplied by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-1wixy"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/adding(_:).json b/docs/data/documentation/anymeasure/ratio/adding(_:).json index 2288a50..a2b7536 100644 --- a/docs/data/documentation/anymeasure/ratio/adding(_:).json +++ b/docs/data/documentation/anymeasure/ratio/adding(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"ratio"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"ratio: The ratio to add to this ratio."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/adding(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE6addingyACyxq_GAGF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/adding(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/adding(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"ratio"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"ratio: The ratio to add to this ratio."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/adding(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE6addingyACyxq_GAGF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/adding(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"adding(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/adding(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/callasfunction(to:per:).json b/docs/data/documentation/anymeasure/ratio/callasfunction(to:per:).json index f4cc24d..cf58299 100644 --- a/docs/data/documentation/anymeasure/ratio/callasfunction(to:per:).json +++ b/docs/data/documentation/anymeasure/ratio/callasfunction(to:per:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE14callAsFunction2to3perACyxq_Gx_q_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/callAsFunction(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE14callAsFunction2to3perACyxq_Gx_q_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/callAsFunction(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"callAsFunction(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/converted(to:per:).json b/docs/data/documentation/anymeasure/ratio/converted(to:per:).json index 3e5e3f2..38a2829 100644 --- a/docs/data/documentation/anymeasure/ratio/converted(to:per:).json +++ b/docs/data/documentation/anymeasure/ratio/converted(to:per:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/converted(to:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE9converted2to3perACyxq_Gx_q_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/converted(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/converted(to:per:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/converted(to:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE9converted2to3perACyxq_Gx_q_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/converted(to:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"converted(to:per:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/converted(to:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/customstringconvertible-implementations.json b/docs/data/documentation/anymeasure/ratio/customstringconvertible-implementations.json index 910f515..d29796d 100644 --- a/docs/data/documentation/anymeasure/ratio/customstringconvertible-implementations.json +++ b/docs/data/documentation/anymeasure/ratio/customstringconvertible-implementations.json @@ -1 +1 @@ -{"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"AnyMeasure"}],"role":"collectionGroup","title":"CustomStringConvertible Implementations"},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description"],"generated":true}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/description":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/description"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"article","metadata":{"modules":[{"name":"AnyMeasure"}],"role":"collectionGroup","title":"CustomStringConvertible Implementations"},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description"],"generated":true}],"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/description":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/description"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/description.json b/docs/data/documentation/anymeasure/ratio/description.json index 5e278fc..92192d7 100644 --- a/docs/data/documentation/anymeasure/ratio/description.json +++ b/docs/data/documentation/anymeasure/ratio/description.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"property","externalID":"s:10AnyMeasure5RatioV11descriptionSSvp","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/description":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/description"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/description"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"CustomStringConvertible.description"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"symbolKind":"property","externalID":"s:10AnyMeasure5RatioV11descriptionSSvp","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/CustomStringConvertible-Implementations":{"role":"collectionGroup","title":"CustomStringConvertible Implementations","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","kind":"article","type":"topic","url":"\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/description":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"description","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/description"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/divided(by:).json b/docs/data/documentation/anymeasure/ratio/divided(by:).json index 03410a9..bf5663f 100644 --- a/docs/data/documentation/anymeasure/ratio/divided(by:).json +++ b/docs/data/documentation/anymeasure/ratio/divided(by:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":" "},{"kind":"internalParam","text":"scalar"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"by: The value to divide the ratio by."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/divided(by:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"divided(by:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:10AnyMeasure5RatioV7divided2byACyxq_GSd_tF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/divided(by:)":{"role":"symbol","title":"divided(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/divided(by:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":" "},{"kind":"internalParam","text":"scalar"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"by: The value to divide the ratio by."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/divided(by:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"divided(by:)","roleHeading":"Instance Method","role":"symbol","symbolKind":"method","externalID":"s:10AnyMeasure5RatioV7divided2byACyxq_GSd_tF","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/divided(by:)":{"role":"symbol","title":"divided(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/divided(by:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/init(_:_:per:).json b/docs/data/documentation/anymeasure/ratio/init(_:_:per:).json index 6f00fd3..723b6de 100644 --- a/docs/data/documentation/anymeasure/ratio/init(_:_:per:).json +++ b/docs/data/documentation/anymeasure/ratio/init(_:_:per:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(_:_:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:10AnyMeasure5RatioV__3perACyxq_GSd_xq_tcfc","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:_:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(_:_:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","roleHeading":"Initializer","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"symbolKind":"init","externalID":"s:10AnyMeasure5RatioV__3perACyxq_GSd_xq_tcfc","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:_:per:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"init(_:_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/init(_:per:).json b/docs/data/documentation/anymeasure/ratio/init(_:per:).json index 6b5e178..a73dd8a 100644 --- a/docs/data/documentation/anymeasure/ratio/init(_:per:).json +++ b/docs/data/documentation/anymeasure/ratio/init(_:per:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"numerator: The numerator measurement."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"denominator: The denominator measurement."}]}]}]},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The value of "},{"type":"codeVoice","code":"denominator"},{"type":"text","text":" must be greater than 0."}]}],"type":"aside","name":"Precondition"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(_:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"title":"init(_:per:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure5RatioV_3perACyxq_G10Foundation11MeasurementVyxG_AHyq_Gtcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:per:)":{"role":"symbol","title":"init(_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:per:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numerator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominator"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"numerator: The numerator measurement."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"denominator: The denominator measurement."}]}]}]},{"style":"note","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The value of "},{"type":"codeVoice","code":"denominator"},{"type":"text","text":" must be greater than 0."}]}],"type":"aside","name":"Precondition"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(_:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"title":"init(_:per:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure5RatioV_3perACyxq_G10Foundation11MeasurementVyxG_AHyq_Gtcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(_:per:)":{"role":"symbol","title":"init(_:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(_:per:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/init(value:unit:per:).json b/docs/data/documentation/anymeasure/ratio/init(value:unit:per:).json index 6790587..0e4f8a6 100644 --- a/docs/data/documentation/anymeasure/ratio/init(value:unit:per:).json +++ b/docs/data/documentation/anymeasure/ratio/init(value:unit:per:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"value: The value of the numerator unit per single denominator unit."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"unit: The numerator unit."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"per: The denominator unit."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"title":"init(value:unit:per:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure5RatioV5value4unit3perACyxq_GSd_xq_tcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(value:unit:per:)":{"role":"symbol","title":"init(value:unit:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":" "},{"kind":"internalParam","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":" "},{"kind":"internalParam","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"value: The value of the numerator unit per single denominator unit."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"unit: The numerator unit."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"per: The denominator unit."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"title":"init(value:unit:per:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure5RatioV5value4unit3perACyxq_GSd_xq_tcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/init(value:unit:per:)":{"role":"symbol","title":"init(value:unit:per:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/init(value:unit:per:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/multiplied(by:)-3ou9i.json b/docs/data/documentation/anymeasure/ratio/multiplied(by:)-3ou9i.json index 4f1b488..c019f8f 100644 --- a/docs/data/documentation/anymeasure/ratio/multiplied(by:)-3ou9i.json +++ b/docs/data/documentation/anymeasure/ratio/multiplied(by:)-3ou9i.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":" "},{"kind":"internalParam","text":"measurement"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"by: The measurement to multiply this ratio by."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE10multiplied2by10Foundation11MeasurementVyxGAJyq_G_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-3ou9i":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":" "},{"kind":"internalParam","text":"measurement"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"by: The measurement to multiply this ratio by."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE10multiplied2by10Foundation11MeasurementVyxGAJyq_G_tF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/multiplied(by:)-3ou9i":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"multiplied(by:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/numeratorunit.json b/docs/data/documentation/anymeasure/ratio/numeratorunit.json index cb93f02..290a77a 100644 --- a/docs/data/documentation/anymeasure/ratio/numeratorunit.json +++ b/docs/data/documentation/anymeasure/ratio/numeratorunit.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/numeratorunit"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The numerator unit."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"title":"numeratorUnit","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV13numeratorUnitxvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/numeratorUnit":{"role":"symbol","title":"numeratorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"abstract":[{"type":"text","text":"The numerator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/numeratorunit"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/numeratorunit"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The numerator unit."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"title":"numeratorUnit","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV13numeratorUnitxvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/numeratorUnit":{"role":"symbol","title":"numeratorUnit","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"abstract":[{"type":"text","text":"The numerator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/numeratorunit"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/subtracting(_:).json b/docs/data/documentation/anymeasure/ratio/subtracting(_:).json index 0b4d6e2..b5ae4b3 100644 --- a/docs/data/documentation/anymeasure/ratio/subtracting(_:).json +++ b/docs/data/documentation/anymeasure/ratio/subtracting(_:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"ratio"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"ratio: The ratio to add to this ratio."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/subtracting(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE11subtractingyACyxq_GAGF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/subtracting(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/subtracting(_:)"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"ratio"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV","text":"Ratio"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]},{"kind":"content","content":[{"anchor":"discussion","level":2,"type":"heading","text":"Discussion"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"ratio: The ratio to add to this ratio."}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/subtracting(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"kind":"symbol","metadata":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE11subtractingyACyxq_GAGF","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/subtracting(_:)":{"conformance":{"constraints":[{"type":"codeVoice","code":"Numerator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":" and "},{"type":"codeVoice","code":"Denominator"},{"type":"text","text":" inherits "},{"type":"codeVoice","code":"Dimension"},{"type":"text","text":"."}],"availabilityPrefix":[{"type":"text","text":"Available when"}],"conformancePrefix":[{"type":"text","text":"Conforms when"}]},"role":"symbol","title":"subtracting(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/subtracting(_:)"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/symbol.json b/docs/data/documentation/anymeasure/ratio/symbol.json index ae0b5c2..be8ffa3 100644 --- a/docs/data/documentation/anymeasure/ratio/symbol.json +++ b/docs/data/documentation/anymeasure/ratio/symbol.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/symbol"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The ratio symbol."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"symbol","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV6symbolSSvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The ratio symbol."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/symbol"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/symbol"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The ratio symbol."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"symbol","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV6symbolSSvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/symbol":{"role":"symbol","title":"symbol","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"The ratio symbol."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/symbol"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratio/value.json b/docs/data/documentation/anymeasure/ratio/value.json index 353212c..7672fe9 100644 --- a/docs/data/documentation/anymeasure/ratio/value.json +++ b/docs/data/documentation/anymeasure/ratio/value.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/value"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV5valueSdvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Ratio/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/value"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratio\/value"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure5RatioV5valueSdvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio":{"role":"symbol","title":"Ratio","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Ratio"}],"url":"\/documentation\/anymeasure\/ratio"},"doc://AnyMeasure/documentation/AnyMeasure/Ratio/value":{"role":"symbol","title":"value","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/ratio\/value"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/ratios.json b/docs/data/documentation/anymeasure/ratios.json index 4f0de1a..9d82abc 100644 --- a/docs/data/documentation/anymeasure/ratios.json +++ b/docs/data/documentation/anymeasure/ratios.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Photo by "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"},{"type":"text","text":" on "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Why can’t I just do this? With Xcode autocomplete helping us along?"}]},{"type":"codeListing","syntax":"swift","code":["let v: Velocity = 55(.kilometers, per: .hours)","print(v * 2 * 2(.hours)) \/\/ -> 220 km"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Turns out you can! Just add this "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/wildthink\/anymeasure"},{"type":"text","text":" to your project and start coding."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want a bit of the backstory and a few more details then read on."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you haven’t yet read "},{"type":"reference","isActive":true,"identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c"},{"type":"text","text":" , it’s only 2 minutes and, as an earlier work, sets the stage for improvements and updates that follow herein."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Apparently, I have a character flaw that makes it difficult to be satisfied with less than an elegant solution. One that not only enables me to write clearly and succinctly but also scales from a specific to a more general solution."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Given the ease of supporting simple Measurements (as previously explained) I really wanted to extend this pattern to Compound Unit Measurements or at least to the more common "},{"type":"codeVoice","code":"Ratio"},{"type":"text","text":". Every time I started in on creating a collection of new Unit combinations I became dissatisfied with the repetitiveness in creating new ones. It wasn’t really a lot of code but enough to clutter the call site and aggravate me enough to search for a solution. So after more thought and more than a bit of aggravated wrangling with generics, I worked it out; it turns out you can, with the smallest additions do this. Of course, no sooner than I worked out my own solution, I found "},{"type":"codeVoice","code":"Rate.swift"},{"type":"text","text":" at a cleaner one. So I used it, with only some small extensions following the pattern I used for the standard "},{"type":"codeVoice","code":"Measurements"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The trick is to create a generic struct using the standard Measurement "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":". Add in methods for "},{"type":"codeVoice","code":"addition"},{"type":"text","text":", "},{"type":"codeVoice","code":"subtraction"},{"type":"text","text":", and "},{"type":"codeVoice","code":"multiplication"},{"type":"text","text":" along with the appropriately overloaded operators and you are off to the races."}]},{"type":"codeListing","syntax":"swift","code":["public struct Ratio","where Numerator: Unit, Denominator: Unit {"," \/\/\/ The value of the numerator unit per single denominator unit."," public var value: Double"," "," \/\/\/ The numerator unit."," public var numeratorUnit: Numerator"," "," \/\/\/ The denominator unit."," public var denominatorUnit: Denominator"," "," \/\/\/ The ratio symbol."," public var symbol: String {"," return \"\\(self.numeratorUnit.symbol)\/\\(self.denominatorUnit.symbol)\""," }","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"And along with "},{"type":"codeVoice","code":"typealias"},{"type":"text","text":" and the judicious, if not clever, use of "},{"type":"codeVoice","code":"callAsFunction"},{"type":"text","text":" to enable the "},{"type":"codeVoice","code":"2(.hours)"},{"type":"text","text":" syntax we get to use all of the "},{"type":"codeVoice","code":"Foundation"},{"type":"text","text":" Measurement Units out-of-the-box."}]},{"type":"codeListing","syntax":"swift","code":["typealias Velocity = Measurement>","","public extension BinaryFloatingPoint {"," func callAsFunction ("," _ numerator: N, per denominator: D)"," -> Ratio {"," Ratio(value: Double(self), unit: numerator, per: denominator)"," }","}","..."]},{"type":"paragraph","inlineContent":[{"type":"text","text":"There really isn’t much more than that. It’s pretty much an rinse-and-repeat for a few more data types. Refer to the GitHub project for the full source and a package you can include in your projects."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"I have learned a lot from the many, many contributors out there. To them, I say “Thank you”."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For you, the reader, I look forward to your feedback and may you continue to be curious and engaged."}]},{"anchor":"Credits-&-Resources","level":4,"type":"heading","text":"Credits & Resources"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The full package is available at "},{"overridingTitleInlineContent":[{"type":"text","text":"AnyMeasure.git"}],"isActive":true,"type":"reference","identifier":"https:\/\/github.com\/wildthink\/anymeasure","overridingTitle":"AnyMeasure.git"},{"type":"text","text":"."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"overridingTitleInlineContent":[{"type":"text","text":"Measurement in Swift: Simplified"}],"isActive":true,"type":"reference","identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c","overridingTitle":"Measurement in Swift: Simplified"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Thanks to "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/Flight-School\/Rate"}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratios"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","interfaceLanguage":"swift"},"abstract":[{"type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg"}],"kind":"article","metadata":{"roleHeading":"Article","title":"Measurements in Swift: Enhanced & Simplified Again","role":"article","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"https://github.com/Flight-School/Rate":{"title":"Flight School Rate.swift","titleInlineContent":[{"type":"text","text":"Flight School Rate.swift"}],"type":"link","identifier":"https:\/\/github.com\/Flight-School\/Rate","url":"https:\/\/github.com\/Flight-School\/Rate"},"https://github.com/wildthink/anymeasure":{"title":"Package","titleInlineContent":[{"type":"text","text":"Package"}],"type":"link","identifier":"https:\/\/github.com\/wildthink\/anymeasure","url":"https:\/\/github.com\/wildthink\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"https://medium.com/@jasonj_2009/measurement-in-swift-simplified-30207fd8282c":{"title":"Measurement in Swift: Simplified","titleInlineContent":[{"type":"text","text":"Measurement in Swift: Simplified"}],"type":"link","identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c","url":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c"},"https://unsplash.com/s/photos/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText":{"title":"Unsplash","titleInlineContent":[{"type":"text","text":"Unsplash"}],"type":"link","identifier":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText","url":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"},"fleur-dQf7RZhMOJU-unsplash.jpg":{"alt":"Drafting Tools","type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg","variants":[{"url":"\/images\/fleur-dQf7RZhMOJU-unsplash.jpg","traits":["1x","light"]}]},"https://unsplash.com/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText":{"title":"Fleur","titleInlineContent":[{"type":"text","text":"Fleur"}],"type":"link","identifier":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText","url":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"content","content":[{"anchor":"overview","level":2,"type":"heading","text":"Overview"},{"type":"paragraph","inlineContent":[{"type":"text","text":"Photo by "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"},{"type":"text","text":" on "},{"type":"reference","isActive":true,"identifier":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Why can’t I just do this? With Xcode autocomplete helping us along?"}]},{"type":"codeListing","syntax":"swift","code":["let v: Velocity = 55(.kilometers, per: .hours)","print(v * 2 * 2(.hours)) \/\/ -> 220 km"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Turns out you can! Just add this "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/wildthink\/anymeasure"},{"type":"text","text":" to your project and start coding."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you want a bit of the backstory and a few more details then read on."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"If you haven’t yet read "},{"type":"reference","isActive":true,"identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c"},{"type":"text","text":" , it’s only 2 minutes and, as an earlier work, sets the stage for improvements and updates that follow herein."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Apparently, I have a character flaw that makes it difficult to be satisfied with less than an elegant solution. One that not only enables me to write clearly and succinctly but also scales from a specific to a more general solution."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"Given the ease of supporting simple Measurements (as previously explained) I really wanted to extend this pattern to Compound Unit Measurements or at least to the more common "},{"type":"codeVoice","code":"Ratio"},{"type":"text","text":". Every time I started in on creating a collection of new Unit combinations I became dissatisfied with the repetitiveness in creating new ones. It wasn’t really a lot of code but enough to clutter the call site and aggravate me enough to search for a solution. So after more thought and more than a bit of aggravated wrangling with generics, I worked it out; it turns out you can, with the smallest additions do this. Of course, no sooner than I worked out my own solution, I found "},{"type":"codeVoice","code":"Rate.swift"},{"type":"text","text":" at a cleaner one. So I used it, with only some small extensions following the pattern I used for the standard "},{"type":"codeVoice","code":"Measurements"},{"type":"text","text":"."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"The trick is to create a generic struct using the standard Measurement "},{"type":"codeVoice","code":"Unit"},{"type":"text","text":". Add in methods for "},{"type":"codeVoice","code":"addition"},{"type":"text","text":", "},{"type":"codeVoice","code":"subtraction"},{"type":"text","text":", and "},{"type":"codeVoice","code":"multiplication"},{"type":"text","text":" along with the appropriately overloaded operators and you are off to the races."}]},{"type":"codeListing","syntax":"swift","code":["public struct Ratio","where Numerator: Unit, Denominator: Unit {"," \/\/\/ The value of the numerator unit per single denominator unit."," public var value: Double"," "," \/\/\/ The numerator unit."," public var numeratorUnit: Numerator"," "," \/\/\/ The denominator unit."," public var denominatorUnit: Denominator"," "," \/\/\/ The ratio symbol."," public var symbol: String {"," return \"\\(self.numeratorUnit.symbol)\/\\(self.denominatorUnit.symbol)\""," }","}"]},{"type":"paragraph","inlineContent":[{"type":"text","text":"And along with "},{"type":"codeVoice","code":"typealias"},{"type":"text","text":" and the judicious, if not clever, use of "},{"type":"codeVoice","code":"callAsFunction"},{"type":"text","text":" to enable the "},{"type":"codeVoice","code":"2(.hours)"},{"type":"text","text":" syntax we get to use all of the "},{"type":"codeVoice","code":"Foundation"},{"type":"text","text":" Measurement Units out-of-the-box."}]},{"type":"codeListing","syntax":"swift","code":["typealias Velocity = Measurement>","","public extension BinaryFloatingPoint {"," func callAsFunction ("," _ numerator: N, per denominator: D)"," -> Ratio {"," Ratio(value: Double(self), unit: numerator, per: denominator)"," }","}","..."]},{"type":"paragraph","inlineContent":[{"type":"text","text":"There really isn’t much more than that. It’s pretty much an rinse-and-repeat for a few more data types. Refer to the GitHub project for the full source and a package you can include in your projects."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"I have learned a lot from the many, many contributors out there. To them, I say “Thank you”."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"For you, the reader, I look forward to your feedback and may you continue to be curious and engaged."}]},{"anchor":"Credits-&-Resources","level":4,"type":"heading","text":"Credits & Resources"},{"type":"unorderedList","items":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The full package is available at "},{"overridingTitleInlineContent":[{"type":"text","text":"AnyMeasure.git"}],"isActive":true,"type":"reference","identifier":"https:\/\/github.com\/wildthink\/anymeasure","overridingTitle":"AnyMeasure.git"},{"type":"text","text":"."}]}]},{"content":[{"type":"paragraph","inlineContent":[{"overridingTitleInlineContent":[{"type":"text","text":"Measurement in Swift: Simplified"}],"isActive":true,"type":"reference","identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c","overridingTitle":"Measurement in Swift: Simplified"}]}]},{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Thanks to "},{"type":"reference","isActive":true,"identifier":"https:\/\/github.com\/Flight-School\/Rate"}]}]}]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/ratios"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","interfaceLanguage":"swift"},"abstract":[{"type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg"}],"kind":"article","metadata":{"roleHeading":"Article","title":"Measurements in Swift: Enhanced & Simplified Again","role":"article","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"fleur-dQf7RZhMOJU-unsplash.jpg":{"alt":"Drafting Tools","type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg","variants":[{"url":"\/images\/fleur-dQf7RZhMOJU-unsplash.jpg","traits":["1x","light"]}]},"https://github.com/wildthink/anymeasure":{"title":"Package","titleInlineContent":[{"type":"text","text":"Package"}],"type":"link","identifier":"https:\/\/github.com\/wildthink\/anymeasure","url":"https:\/\/github.com\/wildthink\/anymeasure"},"https://github.com/Flight-School/Rate":{"title":"Flight School Rate.swift","titleInlineContent":[{"type":"text","text":"Flight School Rate.swift"}],"type":"link","identifier":"https:\/\/github.com\/Flight-School\/Rate","url":"https:\/\/github.com\/Flight-School\/Rate"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"https://unsplash.com/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText":{"title":"Fleur","titleInlineContent":[{"type":"text","text":"Fleur"}],"type":"link","identifier":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText","url":"https:\/\/unsplash.com\/@yer_a_wizard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"},"https://unsplash.com/s/photos/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText":{"title":"Unsplash","titleInlineContent":[{"type":"text","text":"Unsplash"}],"type":"link","identifier":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText","url":"https:\/\/unsplash.com\/s\/photos\/measures?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"},"https://medium.com/@jasonj_2009/measurement-in-swift-simplified-30207fd8282c":{"title":"Measurement in Swift: Simplified","titleInlineContent":[{"type":"text","text":"Measurement in Swift: Simplified"}],"type":"link","identifier":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c","url":"https:\/\/medium.com\/@jasonj_2009\/measurement-in-swift-simplified-30207fd8282c"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/speed.json b/docs/data/documentation/anymeasure/speed.json index 9bd1c0f..5f4ca7b 100644 --- a/docs/data/documentation/anymeasure/speed.json +++ b/docs/data/documentation/anymeasure/speed.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"UnitSpeed","preciseIdentifier":"c:objc(cs)NSUnitSpeed"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/speed"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"title":"Speed","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure5Speeda","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Speed"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/Speed":{"role":"symbol","title":"Speed","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Speed"}],"url":"\/documentation\/anymeasure\/speed"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"},{"kind":"text","text":" = "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"UnitSpeed","preciseIdentifier":"c:objc(cs)NSUnitSpeed"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/speed"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"title":"Speed","roleHeading":"Type Alias","role":"symbol","symbolKind":"typealias","externalID":"s:10AnyMeasure5Speeda","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"Speed"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/Speed":{"role":"symbol","title":"Speed","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Speed"}],"url":"\/documentation\/anymeasure\/speed"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency.json b/docs/data/documentation/anymeasure/unitcurrency.json index 9e8892a..10e8105 100644 --- a/docs/data/documentation/anymeasure/unitcurrency.json +++ b/docs/data/documentation/anymeasure/unitcurrency.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"final"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":[],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/AnyMeasure\/objc(pl)NSCoding","doc:\/\/AnyMeasure\/objc(pl)NSCopying","doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding","doc:\/\/AnyMeasure\/objc(pl)NSObject","doc:\/\/AnyMeasure\/s7CVarArgP","doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP","doc:\/\/AnyMeasure\/s23CustomStringConvertibleP","doc:\/\/AnyMeasure\/Se","doc:\/\/AnyMeasure\/SE","doc:\/\/AnyMeasure\/SQ","doc:\/\/AnyMeasure\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"title":"UnitCurrency","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter"]},{"title":"Type Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()"]}],"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(coder:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(country:)":{"role":"symbol","title":"init(country:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(country:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/currencyCode":{"role":"symbol","title":"currencyCode","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/currencycode"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/objc(pl)NSCopying":{"type":"unresolvable","title":"Foundation.NSCopying","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCopying"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:)":{"role":"symbol","title":"init(symbol:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/baseUnit()":{"role":"symbol","title":"baseUnit()","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/baseunit()"},"doc://AnyMeasure/objc(pl)NSObject":{"type":"unresolvable","title":"ObjectiveC.NSObjectProtocol","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSObject"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/USD":{"role":"symbol","title":"USD","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/usd"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:converter:)":{"role":"symbol","title":"init(symbol:converter:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"},"doc://AnyMeasure/objc(pl)NSCoding":{"type":"unresolvable","title":"Foundation.NSCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCoding"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/AnyMeasure\/SQ"},"doc://AnyMeasure/s7CVarArgP":{"type":"unresolvable","title":"Swift.CVarArg","identifier":"doc:\/\/AnyMeasure\/s7CVarArgP"},"doc://AnyMeasure/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/AnyMeasure\/Se"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/Local":{"role":"symbol","title":"Local","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"Local"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/local"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(from:)"},"doc://AnyMeasure/s28CustomDebugStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomDebugStringConvertible","identifier":"doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/EUR":{"role":"symbol","title":"EUR","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/eur"},"doc://AnyMeasure/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/AnyMeasure\/SH"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/instantiateConverter":{"role":"symbol","title":"instantiateConverter","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"},"doc://AnyMeasure/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/AnyMeasure\/SE"},"doc://AnyMeasure/objc(pl)NSSecureCoding":{"type":"unresolvable","title":"Foundation.NSSecureCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"final"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency"],"traits":[{"interfaceLanguage":"swift"}]}],"relationshipsSections":[{"identifiers":[],"kind":"relationships","title":"Inherits From","type":"inheritsFrom"},{"identifiers":["doc:\/\/AnyMeasure\/objc(pl)NSCoding","doc:\/\/AnyMeasure\/objc(pl)NSCopying","doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding","doc:\/\/AnyMeasure\/objc(pl)NSObject","doc:\/\/AnyMeasure\/s7CVarArgP","doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP","doc:\/\/AnyMeasure\/s23CustomStringConvertibleP","doc:\/\/AnyMeasure\/Se","doc:\/\/AnyMeasure\/SE","doc:\/\/AnyMeasure\/SQ","doc:\/\/AnyMeasure\/SH"],"kind":"relationships","title":"Conforms To","type":"conformsTo"}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"title":"UnitCurrency","roleHeading":"Class","role":"symbol","symbolKind":"class","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency","modules":[{"name":"AnyMeasure"}],"navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter"]},{"title":"Type Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()"]}],"references":{"doc://AnyMeasure/objc(pl)NSObject":{"type":"unresolvable","title":"ObjectiveC.NSObjectProtocol","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSObject"},"doc://AnyMeasure/objc(pl)NSCopying":{"type":"unresolvable","title":"Foundation.NSCopying","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCopying"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/USD":{"role":"symbol","title":"USD","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/usd"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/Local":{"role":"symbol","title":"Local","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"Local"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/local"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/instantiateConverter":{"role":"symbol","title":"instantiateConverter","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(country:)":{"role":"symbol","title":"init(country:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(country:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/baseUnit()":{"role":"symbol","title":"baseUnit()","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/baseunit()"},"doc://AnyMeasure/objc(pl)NSSecureCoding":{"type":"unresolvable","title":"Foundation.NSSecureCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSSecureCoding"},"doc://AnyMeasure/SH":{"type":"unresolvable","title":"Swift.Hashable","identifier":"doc:\/\/AnyMeasure\/SH"},"doc://AnyMeasure/SQ":{"type":"unresolvable","title":"Swift.Equatable","identifier":"doc:\/\/AnyMeasure\/SQ"},"doc://AnyMeasure/s28CustomDebugStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomDebugStringConvertible","identifier":"doc:\/\/AnyMeasure\/s28CustomDebugStringConvertibleP"},"doc://AnyMeasure/s23CustomStringConvertibleP":{"type":"unresolvable","title":"Swift.CustomStringConvertible","identifier":"doc:\/\/AnyMeasure\/s23CustomStringConvertibleP"},"doc://AnyMeasure/Se":{"type":"unresolvable","title":"Swift.Decodable","identifier":"doc:\/\/AnyMeasure\/Se"},"doc://AnyMeasure/s7CVarArgP":{"type":"unresolvable","title":"Swift.CVarArg","identifier":"doc:\/\/AnyMeasure\/s7CVarArgP"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:)":{"role":"symbol","title":"init(symbol:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(coder:)":{"role":"symbol","title":"init(coder:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(coder:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(from:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/currencyCode":{"role":"symbol","title":"currencyCode","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/currencycode"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:converter:)":{"role":"symbol","title":"init(symbol:converter:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"},"doc://AnyMeasure/SE":{"type":"unresolvable","title":"Swift.Encodable","identifier":"doc:\/\/AnyMeasure\/SE"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/EUR":{"role":"symbol","title":"EUR","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/eur"},"doc://AnyMeasure/objc(pl)NSCoding":{"type":"unresolvable","title":"Foundation.NSCoding","identifier":"doc:\/\/AnyMeasure\/objc(pl)NSCoding"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/baseunit().json b/docs/data/documentation/anymeasure/unitcurrency/baseunit().json index bf014c5..1fca14e 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/baseunit().json +++ b/docs/data/documentation/anymeasure/unitcurrency/baseunit().json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/baseunit()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"baseUnit()","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency(cm)baseUnit","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/baseUnit()":{"role":"symbol","title":"baseUnit()","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/baseunit()"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/baseunit()"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"baseUnit()","roleHeading":"Type Method","role":"symbol","symbolKind":"method","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency(cm)baseUnit","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/baseUnit()":{"role":"symbol","title":"baseUnit()","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/baseunit()"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/currencycode.json b/docs/data/documentation/anymeasure/unitcurrency/currencycode.json index a764be0..5ef9e5c 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/currencycode.json +++ b/docs/data/documentation/anymeasure/unitcurrency/currencycode.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/currencycode"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"currencyCode","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC12currencyCodeSSSgvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/currencyCode":{"role":"symbol","title":"currencyCode","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/currencycode"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"? { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/currencycode"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"currencyCode","roleHeading":"Instance Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC12currencyCodeSSSgvp","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/currencyCode":{"role":"symbol","title":"currencyCode","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/currencycode"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/eur.json b/docs/data/documentation/anymeasure/unitcurrency/eur.json index 669ad71..b747ec8 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/eur.json +++ b/docs/data/documentation/anymeasure/unitcurrency/eur.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/eur"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"EUR","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC3EURACvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/EUR":{"role":"symbol","title":"EUR","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/eur"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/eur"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"EUR","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC3EURACvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/EUR":{"role":"symbol","title":"EUR","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/eur"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/init(country:).json b/docs/data/documentation/anymeasure/unitcurrency/init(country:).json index e8c6cda..065917c 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/init(country:).json +++ b/docs/data/documentation/anymeasure/unitcurrency/init(country:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(country:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(country:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure12UnitCurrencyC7countryACSS_tcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(country:)":{"role":"symbol","title":"init(country:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(country:)"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(country:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(country:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure12UnitCurrencyC7countryACSS_tcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(country:)":{"role":"symbol","title":"init(country:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(country:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/init(from:).json b/docs/data/documentation/anymeasure/unitcurrency/init(from:).json index df5bf8c..eb99522 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/init(from:).json +++ b/docs/data/documentation/anymeasure/unitcurrency/init(from:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"required"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure12UnitCurrencyC4fromACs7Decoder_p_tKcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(from:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"required"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":" "},{"kind":"internalParam","text":"decoder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(from:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"Decodable.init(from:)"},{"type":"text","text":"."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"s:10AnyMeasure12UnitCurrencyC4fromACs7Decoder_p_tKcfc","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(from:)":{"role":"symbol","title":"init(from:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(from:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/init(symbol:converter:).json b/docs/data/documentation/anymeasure/unitcurrency/init(symbol:converter:).json index 7811eb6..6d59aea 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/init(symbol:converter:).json +++ b/docs/data/documentation/anymeasure/unitcurrency/init(symbol:converter:).json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"title":"init(symbol:converter:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency(im)initWithSymbol:converter:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:converter:)":{"role":"symbol","title":"init(symbol:converter:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"override"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"title":"init(symbol:converter:)","roleHeading":"Initializer","role":"symbol","symbolKind":"init","externalID":"c:@M@AnyMeasure@objc(cs)UnitCurrency(im)initWithSymbol:converter:","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/init(symbol:converter:)":{"role":"symbol","title":"init(symbol:converter:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/instantiateconverter.json b/docs/data/documentation/anymeasure/unitcurrency/instantiateconverter.json index b95a538..53277d4 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/instantiateconverter.json +++ b/docs/data/documentation/anymeasure/unitcurrency/instantiateconverter.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter","text":"CurrencyConverter"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"title":"instantiateConverter","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC20instantiateConverteryAA0dF0CSScvpZ","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/instantiateConverter":{"role":"symbol","title":"instantiateConverter","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter","text":"CurrencyConverter"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"title":"instantiateConverter","roleHeading":"Type Property","role":"symbol","symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC20instantiateConverteryAA0dF0CSScvpZ","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/instantiateConverter":{"role":"symbol","title":"instantiateConverter","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/instantiateconverter"},"doc://AnyMeasure/documentation/AnyMeasure/CurrencyConverter":{"role":"symbol","title":"CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"CurrencyConverter"}],"url":"\/documentation\/anymeasure\/currencyconverter"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file diff --git a/docs/data/documentation/anymeasure/unitcurrency/usd.json b/docs/data/documentation/anymeasure/unitcurrency/usd.json index 54c1f87..fc5aa9f 100644 --- a/docs/data/documentation/anymeasure/unitcurrency/usd.json +++ b/docs/data/documentation/anymeasure/unitcurrency/usd.json @@ -1 +1 @@ -{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/usd"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"USD","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC3USDACvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/USD":{"role":"symbol","title":"USD","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/usd"},"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"}}} \ No newline at end of file +{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency","text":"UnitCurrency"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/anymeasure\/unitcurrency\/usd"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"No overview available."}],"kind":"symbol","metadata":{"role":"symbol","title":"USD","roleHeading":"Type Property","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"symbolKind":"property","externalID":"s:10AnyMeasure12UnitCurrencyC3USDACvpZ","extendedModule":"AnyMeasure","modules":[{"name":"AnyMeasure"}]},"hierarchy":{"paths":[["doc:\/\/AnyMeasure\/documentation\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]]},"references":{"doc://AnyMeasure/documentation/AnyMeasure":{"role":"collection","title":"AnyMeasure","abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency":{"role":"symbol","title":"UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"UnitCurrency"}],"url":"\/documentation\/anymeasure\/unitcurrency"},"doc://AnyMeasure/documentation/AnyMeasure/UnitCurrency/USD":{"role":"symbol","title":"USD","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"abstract":[],"identifier":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","kind":"symbol","type":"topic","url":"\/documentation\/anymeasure\/unitcurrency\/usd"}}} \ No newline at end of file diff --git a/docs/diagnostics.json b/docs/diagnostics.json new file mode 100644 index 0000000..a08aa51 --- /dev/null +++ b/docs/diagnostics.json @@ -0,0 +1 @@ +[{"summary":"Image in document abstract will not be displayed","explanation":"Abstracts should only contain (formatted) text. To resolve this issue, place links and images elsewhere in the document, or remove them.","source":"Ratios.md","severity":2,"notes":[],"start":{"line":4,"column":1}}] \ No newline at end of file diff --git a/docs/indexing-records.json b/docs/indexing-records.json new file mode 100644 index 0000000..1ea508e --- /dev/null +++ b/docs/indexing-records.json @@ -0,0 +1 @@ +[{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"symbol","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"-(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(_:_:per:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"instantiateConverter","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"*(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"value(fromBaseUnitValue:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"baseUnitValue(fromValue:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Returns the product of the ratio multiplied by the specified value. Discussion by: The value to multiply the ratio by.","kind":"symbol","title":"multiplied(by:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","interfaceLanguage":"swift"}},"summary":"Returns the product of the ratio multiplied by the specified value."},{"rawIndexableTextContent":"Units of measure for planar angle and rotation. ","kind":"symbol","title":"Angle","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","interfaceLanguage":"swift"}},"summary":"Units of measure for planar angle and rotation."},{"rawIndexableTextContent":"The value of the numerator unit per single denominator unit. ","kind":"symbol","title":"value","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","interfaceLanguage":"swift"}},"summary":"The value of the numerator unit per single denominator unit."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"About Exchange Rates The provided exchange rates are NOT current and only intended for test and experimentation. ","kind":"symbol","title":"Currency","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","interfaceLanguage":"swift"}},"summary":"About Exchange Rates The provided exchange rates are NOT current and only intended for test and experimentation."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"EUR","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Units of measure of velocity (aka Speed) as length\/duration ","kind":"symbol","title":"Velocity","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity","interfaceLanguage":"swift"}},"summary":"Units of measure of velocity (aka Speed) as length\/duration"},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"currencyCode","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"\/(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Inherited from CustomStringConvertible.description. ","kind":"symbol","title":"description","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","interfaceLanguage":"swift"}},"summary":"Inherited from CustomStringConvertible.description."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(coder:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"USD","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Returns the quotient of the ratio divided by the specified value. Discussion by: The value to divide the ratio by.","kind":"symbol","title":"divided(by:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","interfaceLanguage":"swift"}},"summary":"Returns the quotient of the ratio divided by the specified value."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"*(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Units of measure for time duration ","kind":"symbol","title":"Duration","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","interfaceLanguage":"swift"}},"summary":"Units of measure for time duration"},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"+(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. Simplifying Measurement in Swift A quick and easy implementation Jason Jobe Aug 1, 2021·2 min read Image by William Warby from unsplash. I have always liked the idea of using explicit Measurement values (magnitude and unit) but I have generally found them cumbersome in actual code. There are a few solutions out there but I found them somehow unsatisfactory. So, after some research and reflection, I hit on the following as a desirable syntax that nicely supports autocomplete in Xcode from the available units for any typed Dimension. And with a little thought and experimentation, I was able to implement this quite succinctly: Add one small extension for an implicitly unitized zero value: By using generics in the Double and Int extensions, we can easily include any other Measurement Units with no additional tedious boilerplate code to write. If you find you want or need any additional units for a particular Dimensionthey are easy enough to add as extension: If this is useful take a look here for the complete code along with some other useful additions. If you are interested in learning more about Units and Measurements and how to create your own custom ones I recommend the following. Apple: Units and Measurement Unit and Measurement in Swift Overview","kind":"symbol","title":"AnyMeasure","headings":["Simplifying Measurement in Swift","A quick and easy implementation","Overview"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":" Overview Photo by Fleur on Unsplash Why can’t I just do this? With Xcode autocomplete helping us along? Turns out you can! Just add this Package to your project and start coding. If you want a bit of the backstory and a few more details then read on. If you haven’t yet read Measurement in Swift: Simplified , it’s only 2 minutes and, as an earlier work, sets the stage for improvements and updates that follow herein. Apparently, I have a character flaw that makes it difficult to be satisfied with less than an elegant solution. One that not only enables me to write clearly and succinctly but also scales from a specific to a more general solution. Given the ease of supporting simple Measurements (as previously explained) I really wanted to extend this pattern to Compound Unit Measurements or at least to the more common Ratio. Every time I started in on creating a collection of new Unit combinations I became dissatisfied with the repetitiveness in creating new ones. It wasn’t really a lot of code but enough to clutter the call site and aggravate me enough to search for a solution. So after more thought and more than a bit of aggravated wrangling with generics, I worked it out; it turns out you can, with the smallest additions do this. Of course, no sooner than I worked out my own solution, I found Rate.swift at a cleaner one. So I used it, with only some small extensions following the pattern I used for the standard Measurements. The trick is to create a generic struct using the standard Measurement Unit. Add in methods for addition, subtraction, and multiplication along with the appropriately overloaded operators and you are off to the races. And along with typealias and the judicious, if not clever, use of callAsFunction to enable the 2(.hours) syntax we get to use all of the Foundation Measurement Units out-of-the-box. There really isn’t much more than that. It’s pretty much an rinse-and-repeat for a few more data types. Refer to the GitHub project for the full source and a package you can include in your projects. I have learned a lot from the many, many contributors out there. To them, I say “Thank you”. For you, the reader, I look forward to your feedback and may you continue to be curious and engaged. Credits & Resources The full package is available at AnyMeasure.git. Measurement in Swift: Simplified Thanks to Flight School Rate.swift","kind":"article","title":"Measurements in Swift: Enhanced & Simplified Again","headings":["Overview","Credits & Resources"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","interfaceLanguage":"swift"}},"summary":""},{"rawIndexableTextContent":"Creates a new ratio from a value, and specified numerator and denominator units. Discussion value: The value of the numerator unit per single denominator unit. unit: The numerator unit. per: The denominator unit.","kind":"symbol","title":"init(value:unit:per:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","interfaceLanguage":"swift"}},"summary":"Creates a new ratio from a value, and specified numerator and denominator units."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"UnitCurrency","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(symbol:converter:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"The denominator unit. ","kind":"symbol","title":"denominatorUnit","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","interfaceLanguage":"swift"}},"summary":"The denominator unit."},{"rawIndexableTextContent":"About Exchange Rates The provided exchange rates are NOT current and only intended for test and experimentation. Overview Exchange Rates provided by: https:\/\/www.exchangerate-api.com https:\/\/openexchangerates.org\/api\/latest.json?app_id=ec347ebded80471986884a250272d7d7 disclaimer: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”, license: “https:\/\/openexchangerates.org\/license”, timestamp: 1517828400, base: “USD”, IMPORTANT NOTICE: If you are a business user, please note that in particular, we will not be liable for: loss of profits, sales, business, or revenue; business interruption; loss of anticipated savings; loss of business opportunity, goodwill or reputation; or any indirect or consequential loss or damage. If you are a consumer user, please note that we only provide this Echange Rate data for private use. You agree not to use this data for any commercial or business purposes, and we have no liability to you for any loss of profit, loss of business, business interruption, or loss of business opportunity.","kind":"symbol","title":"CurrencyConverter","headings":["Overview"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","interfaceLanguage":"swift"}},"summary":"About Exchange Rates The provided exchange rates are NOT current and only intended for test and experimentation."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(country:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Creates a new ratio from specified numerator and denominator measurements. Discussion numerator: The numerator measurement. denominator: The denominator measurement. The value of denominator must be greater than 0.","kind":"symbol","title":"init(_:per:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","interfaceLanguage":"swift"}},"summary":"Creates a new ratio from specified numerator and denominator measurements."},{"rawIndexableTextContent":"{ “disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”, “license”: “https:\/\/openexchangerates.org\/license”, “timestamp”: 1517828400, “base”: “USD”, ","kind":"symbol","title":"exchange_rates","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","interfaceLanguage":"swift"}},"summary":"{ “disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”, “license”: “https:\/\/openexchangerates.org\/license”, “timestamp”: 1517828400, “base”: “USD”,"},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"converted(to:per:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(coder:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Inherited from CustomStringConvertible.description. ","kind":"symbol","title":"description","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","interfaceLanguage":"swift"}},"summary":"Inherited from CustomStringConvertible.description."},{"rawIndexableTextContent":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type. Overview For example, volume over time multiplied by time yields volume: A ratio of two related quantities, expressed in terms of an amount of numerator unit per single denominator unit.","kind":"symbol","title":"Ratio","headings":["Overview"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","interfaceLanguage":"swift"}},"summary":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."},{"rawIndexableTextContent":"Units of measure for length ","kind":"symbol","title":"Length","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","interfaceLanguage":"swift"}},"summary":"Units of measure for length"},{"rawIndexableTextContent":"Returns the sum of this ratio and the specified ratio. Discussion ratio: The ratio to add to this ratio.","kind":"symbol","title":"adding(_:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","interfaceLanguage":"swift"}},"summary":"Returns the sum of this ratio and the specified ratio."},{"rawIndexableTextContent":"The numerator unit. ","kind":"symbol","title":"numeratorUnit","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","interfaceLanguage":"swift"}},"summary":"The numerator unit."},{"rawIndexableTextContent":"No overview available.","kind":"article","title":"CustomStringConvertible Implementations","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init(symbol:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"callAsFunction(to:per:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Units of measure for mass (aka “weight”) ","kind":"symbol","title":"Mass","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","interfaceLanguage":"swift"}},"summary":"Units of measure for mass (aka “weight”)"},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"AnyMeasure","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Units of measure for length - convenience alias ","kind":"symbol","title":"Distance","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","interfaceLanguage":"swift"}},"summary":"Units of measure for length - convenience alias"},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"init()","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"Local","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"The ratio symbol. ","kind":"symbol","title":"symbol","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","interfaceLanguage":"swift"}},"summary":"The ratio symbol."},{"rawIndexableTextContent":"Units of measure using Apple’s UnitSpeed ","kind":"symbol","title":"Speed","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","interfaceLanguage":"swift"}},"summary":"Units of measure using Apple’s UnitSpeed"},{"rawIndexableTextContent":"Inherited from Decodable.init(from:). ","kind":"symbol","title":"init(from:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","interfaceLanguage":"swift"}},"summary":"Inherited from Decodable.init(from:)."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"baseUnit()","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","interfaceLanguage":"swift"}},"summary":"No overview available."},{"rawIndexableTextContent":"Returns the product of this ratio multiplied by the specified measurement. Discussion by: The measurement to multiply this ratio by.","kind":"symbol","title":"multiplied(by:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","interfaceLanguage":"swift"}},"summary":"Returns the product of this ratio multiplied by the specified measurement."},{"rawIndexableTextContent":"Returns the difference between this ratio and the specified ratio. Discussion ratio: The ratio to add to this ratio.","kind":"symbol","title":"subtracting(_:)","headings":["Discussion"],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","interfaceLanguage":"swift"}},"summary":"Returns the difference between this ratio and the specified ratio."},{"rawIndexableTextContent":"No overview available. ","kind":"symbol","title":"*(_:_:)","headings":[],"location":{"type":"topLevelPage","reference":{"url":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","interfaceLanguage":"swift"}},"summary":"No overview available."}] \ No newline at end of file diff --git a/docs/linkable-entities.json b/docs/linkable-entities.json new file mode 100644 index 0000000..39a773c --- /dev/null +++ b/docs/linkable-entities.json @@ -0,0 +1 @@ +[{"usr":"s:10AnyMeasure17CurrencyConverterC6symbolSSvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"symbol","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/currencyconverter\/symbol","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure1soiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"-"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"-(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/-(_:_:)","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV__3perACyxq_GSd_xq_tcfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"title":"init(_:_:per:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/ratio\/init(_:_:per:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure12UnitCurrencyC20instantiateConverteryAA0dF0CSScvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"instantiateConverter"},{"kind":"text","text":": ("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CurrencyConverter","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)CurrencyConverter"}],"title":"instantiateConverter","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/instantiateconverter","kind":"org.swift.docc.kind.typeProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure1moiyAA5RatioVyxq_GAE_SdtSo11NSDimensionCRbzAGRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"*(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/*(_:_:)-5696l","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)valueFromBaseUnitValue:","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromBaseUnitValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value(fromBaseUnitValue:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/currencyconverter\/value(frombaseunitvalue:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)baseUnitValueFromValue:","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnitValue"},{"kind":"text","text":"("},{"kind":"externalParam","text":"fromValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"baseUnitValue(fromValue:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/currencyconverter\/baseunitvalue(fromvalue:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV10multiplied2byACyxq_GSd_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"multiplied(by:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","language":"swift","abstract":[{"type":"text","text":"Returns the product of the ratio multiplied by the specified value."}],"path":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-1wixy","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5Anglea","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Angle"}],"title":"Angle","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","language":"swift","abstract":[{"type":"text","text":"Units of measure for planar angle and rotation."}],"path":"\/documentation\/anymeasure\/angle","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioV5valueSdvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"}],"title":"value","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value","language":"swift","abstract":[{"type":"text","text":"The value of the numerator unit per single denominator unit."}],"path":"\/documentation\/anymeasure\/ratio\/value","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure17CurrencyConverterCyACSScfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/currencyconverter\/init(_:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure8Currencya","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Currency"}],"title":"Currency","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","language":"swift","abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"path":"\/documentation\/anymeasure\/currency","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure12UnitCurrencyC3EURACvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"EUR"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"EUR","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/eur","kind":"org.swift.docc.kind.typeProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure8Velocitya","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Velocity"}],"title":"Velocity","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity","language":"swift","abstract":[{"type":"text","text":"Units of measure of velocity (aka Speed) as length\/duration"}],"path":"\/documentation\/anymeasure\/velocity","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure12UnitCurrencyC12currencyCodeSSSgvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"currencyCode"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":"?"}],"title":"currencyCode","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/currencycode","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure1doiyAA5RatioVyxq_GAE_SdtSo11NSDimensionCRbzAGRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"\/"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"\/(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/\/(_:_:)","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV11descriptionSSvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"description","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/ratio\/description","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)CurrencyConverter(im)initWithCoder:","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"title":"init(coder:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/currencyconverter\/init(coder:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure12UnitCurrencyC3USDACvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"USD"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"USD","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/usd","kind":"org.swift.docc.kind.typeProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV7divided2byACyxq_GSd_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"divided"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"divided(by:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","language":"swift","abstract":[{"type":"text","text":"Returns the quotient of the ratio divided by the specified value."}],"path":"\/documentation\/anymeasure\/ratio\/divided(by:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure1moiy10Foundation11MeasurementVyxGAEyq_G_AA5RatioVyxq_GtSo11NSDimensionCRbzALRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"title":"*(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/*(_:_:)-1vcal","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure8Durationa","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Duration"}],"title":"Duration","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","language":"swift","abstract":[{"type":"text","text":"Units of measure for time duration"}],"path":"\/documentation\/anymeasure\/duration","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure1poiyAA5RatioVyxq_GAE_AEtSo11NSDimensionCRbzAGRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"+"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">"}],"title":"+(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/+(_:_:)","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]},{"usr":"AnyMeasure","title":"AnyMeasure","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure","language":"swift","taskGroups":[{"title":"Articles","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios"]},{"title":"Classes","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency"]},{"title":"Structures","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio"]},{"title":"Operators","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-1vcal","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5696l","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/+(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/-(_:_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/\/(_:_:)"]},{"title":"Type Aliases","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Angle","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Currency","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Duration","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Velocity"]}],"path":"\/documentation\/anymeasure","kind":"org.swift.docc.kind.module","availableLanguages":["swift"]},{"title":"Measurements in Swift: Enhanced & Simplified Again","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratios","language":"swift","abstract":[{"type":"image","identifier":"fleur-dQf7RZhMOJU-unsplash.jpg"}],"path":"\/documentation\/anymeasure\/ratios","kind":"org.swift.docc.kind.article","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioV5value4unit3perACyxq_GSd_xq_tcfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"value"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":", "},{"kind":"externalParam","text":"unit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":")"}],"title":"init(value:unit:per:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)","language":"swift","abstract":[{"type":"text","text":"Creates a new ratio from a value,"},{"type":"text","text":" "},{"type":"text","text":"and specified numerator and denominator units."}],"path":"\/documentation\/anymeasure\/ratio\/init(value:unit:per:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"],"taskGroups":[]},{"usr":"c:@M@AnyMeasure@objc(cs)UnitCurrency","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UnitCurrency"}],"title":"UnitCurrency","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency","language":"swift","taskGroups":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/currencyCode"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/EUR","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/USD","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/instantiateConverter"]},{"title":"Type Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()"]}],"path":"\/documentation\/anymeasure\/unitcurrency","kind":"org.swift.docc.kind.class","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)UnitCurrency(im)initWithSymbol:converter:","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":", "},{"kind":"externalParam","text":"converter"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitConverter","preciseIdentifier":"c:objc(cs)NSUnitConverter"},{"kind":"text","text":")"}],"title":"init(symbol:converter:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:converter:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:converter:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV15denominatorUnitq_vp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"denominatorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"}],"title":"denominatorUnit","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","language":"swift","abstract":[{"type":"text","text":"The denominator unit."}],"path":"\/documentation\/anymeasure\/ratio\/denominatorunit","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"],"taskGroups":[]},{"usr":"c:@M@AnyMeasure@objc(cs)CurrencyConverter","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CurrencyConverter"}],"title":"CurrencyConverter","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter","language":"swift","abstract":[{"type":"text","text":"About Exchange Rates"},{"type":"text","text":" "},{"type":"text","text":"The provided exchange rates are NOT current and only intended for test and experimentation."}],"path":"\/documentation\/anymeasure\/currencyconverter","kind":"org.swift.docc.kind.class","availableLanguages":["swift"],"taskGroups":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/init(coder:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/symbol"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/baseUnitValue(fromValue:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/value(fromBaseUnitValue:)"]},{"title":"Type Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates"]}]},{"usr":"s:10AnyMeasure12UnitCurrencyC7countryACSS_tcfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"country"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(country:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(country:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/init(country:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV_3perACyxq_G10Foundation11MeasurementVyxG_AHyq_Gtcfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">, "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">)"}],"title":"init(_:per:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","language":"swift","abstract":[{"type":"text","text":"Creates a new ratio from specified numerator and denominator measurements."}],"path":"\/documentation\/anymeasure\/ratio\/init(_:per:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure17CurrencyConverterC14exchange_ratesSDySSSdGvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"let"},{"kind":"text","text":" "},{"kind":"identifier","text":"exchange_rates"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"Double","preciseIdentifier":"s:Sd"},{"kind":"text","text":"]"}],"title":"exchange_rates","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/CurrencyConverter\/exchange_rates","language":"swift","abstract":[{"type":"text","text":"{"},{"type":"text","text":" "},{"type":"text","text":"“disclaimer”: “Usage subject to terms: https:\/\/openexchangerates.org\/terms”,"},{"type":"text","text":" "},{"type":"text","text":"“license”: “https:\/\/openexchangerates.org\/license”,"},{"type":"text","text":" "},{"type":"text","text":"“timestamp”: 1517828400,"},{"type":"text","text":" "},{"type":"text","text":"“base”: “USD”,"}],"path":"\/documentation\/anymeasure\/currencyconverter\/exchange_rates","kind":"org.swift.docc.kind.typeProperty","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE9converted2to3perACyxq_Gx_q_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"converted"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"converted(to:per:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/ratio\/converted(to:per:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)UnitCurrency(im)initWithCoder:","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"?("},{"kind":"externalParam","text":"coder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSCoder","preciseIdentifier":"c:objc(cs)NSCoder"},{"kind":"text","text":")"}],"title":"init(coder:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(coder:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/init(coder:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasureAAV11descriptionSSvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"description"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"description","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/anymeasure\/description","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Ratio"}],"title":"Ratio","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio","language":"swift","abstract":[{"type":"text","text":"The Ratio structure allows you to express the ratio between two units in a type-safe manner. Multiplying a measurement with one unit type by a ratio whose denominator is that same unit type causes those types to cancel out, resulting in a measurement with the numerator type."}],"path":"\/documentation\/anymeasure\/ratio","kind":"org.swift.docc.kind.structure","availableLanguages":["swift"],"taskGroups":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(_:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/init(value:unit:per:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/denominatorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/value"]},{"title":"Instance Methods","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/converted(to:per:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/divided(by:)","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-1wixy","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations"]}]},{"usr":"s:10AnyMeasure6Lengtha","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Length"}],"title":"Length","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Length","language":"swift","abstract":[{"type":"text","text":"Units of measure for length"}],"path":"\/documentation\/anymeasure\/length","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE6addingyACyxq_GAGF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"adding"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"adding(_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/adding(_:)","language":"swift","abstract":[{"type":"text","text":"Returns the sum of this ratio and the specified ratio."}],"path":"\/documentation\/anymeasure\/ratio\/adding(_:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioV13numeratorUnitxvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"numeratorUnit"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"}],"title":"numeratorUnit","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/numeratorUnit","language":"swift","abstract":[{"type":"text","text":"The numerator unit."}],"path":"\/documentation\/anymeasure\/ratio\/numeratorunit","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"],"taskGroups":[]},{"title":"CustomStringConvertible Implementations","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/CustomStringConvertible-Implementations","language":"swift","taskGroups":[{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/description"]}],"path":"\/documentation\/anymeasure\/ratio\/customstringconvertible-implementations","kind":"org.swift.docc.kind.collectionGroup","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)UnitCurrency(im)initWithSymbol:","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":")"}],"title":"init(symbol:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(symbol:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/init(symbol:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE14callAsFunction2to3perACyxq_Gx_q_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"callAsFunction"},{"kind":"text","text":"("},{"kind":"externalParam","text":"to"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"externalParam","text":"per"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"callAsFunction(to:per:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/callAsFunction(to:per:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/ratio\/callasfunction(to:per:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure4Massa","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Mass"}],"title":"Mass","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Mass","language":"swift","abstract":[{"type":"text","text":"Units of measure for mass (aka “weight”)"}],"path":"\/documentation\/anymeasure\/mass","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasureAAV","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"AnyMeasure"}],"title":"AnyMeasure","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure","language":"swift","taskGroups":[{"title":"Initializers","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()"]},{"title":"Instance Properties","identifiers":["doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/description"]}],"path":"\/documentation\/anymeasure\/anymeasure","kind":"org.swift.docc.kind.structure","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure8Distancea","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Distance"}],"title":"Distance","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Distance","language":"swift","abstract":[{"type":"text","text":"Units of measure for length - convenience alias"}],"path":"\/documentation\/anymeasure\/distance","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasureAAVABycfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"()"}],"title":"init()","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/AnyMeasure\/init()","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/anymeasure\/init()","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure12UnitCurrencyC5LocalACvpZ","fragments":[{"kind":"keyword","text":"static"},{"kind":"text","text":" "},{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"Local"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"Local","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/Local","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/local","kind":"org.swift.docc.kind.typeProperty","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioV6symbolSSvp","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"symbol"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"title":"symbol","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/symbol","language":"swift","abstract":[{"type":"text","text":"The ratio symbol."}],"path":"\/documentation\/anymeasure\/ratio\/symbol","kind":"org.swift.docc.kind.instanceProperty","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5Speeda","fragments":[{"kind":"keyword","text":"typealias"},{"kind":"text","text":" "},{"kind":"identifier","text":"Speed"}],"title":"Speed","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Speed","language":"swift","abstract":[{"type":"text","text":"Units of measure using Apple’s UnitSpeed"}],"path":"\/documentation\/anymeasure\/speed","kind":"org.swift.docc.kind.typeAlias","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure12UnitCurrencyC4fromACs7Decoder_p_tKcfc","fragments":[{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"kind":"externalParam","text":"from"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Decoder","preciseIdentifier":"s:s7DecoderP"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"}],"title":"init(from:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/init(from:)","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/init(from:)","kind":"org.swift.docc.kind.initializer","availableLanguages":["swift"]},{"usr":"c:@M@AnyMeasure@objc(cs)UnitCurrency(cm)baseUnit","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"baseUnit"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UnitCurrency","preciseIdentifier":"c:@M@AnyMeasure@objc(cs)UnitCurrency"}],"title":"baseUnit()","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/UnitCurrency\/baseUnit()","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/unitcurrency\/baseunit()","kind":"org.swift.docc.kind.typeMethod","availableLanguages":["swift"]},{"usr":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE10multiplied2by10Foundation11MeasurementVyxGAJyq_G_tF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"multiplied"},{"kind":"text","text":"("},{"kind":"externalParam","text":"by"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":">"}],"title":"multiplied(by:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/multiplied(by:)-3ou9i","language":"swift","abstract":[{"type":"text","text":"Returns the product of this ratio multiplied by the specified measurement."}],"path":"\/documentation\/anymeasure\/ratio\/multiplied(by:)-3ou9i","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure5RatioVAASo11NSDimensionCRbzAERb_rlE11subtractingyACyxq_GAGF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"subtracting"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Numerator"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"Denominator"},{"kind":"text","text":">"}],"title":"subtracting(_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/Ratio\/subtracting(_:)","language":"swift","abstract":[{"type":"text","text":"Returns the difference between this ratio and the specified ratio."}],"path":"\/documentation\/anymeasure\/ratio\/subtracting(_:)","kind":"org.swift.docc.kind.instanceMethod","availableLanguages":["swift"],"taskGroups":[]},{"usr":"s:10AnyMeasure1moiy10Foundation11MeasurementVyxGAA5RatioVyxq_G_AEyq_GtSo11NSDimensionCRbzALRb_r0_lF","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"*"},{"kind":"text","text":" "},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":", "},{"kind":"genericParameter","text":"U"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"Ratio","preciseIdentifier":"s:10AnyMeasure5RatioV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">, "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"U"},{"kind":"text","text":">) -> "},{"kind":"typeIdentifier","text":"Measurement","preciseIdentifier":"s:10Foundation11MeasurementV"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"title":"*(_:_:)","referenceURL":"doc:\/\/AnyMeasure\/documentation\/AnyMeasure\/*(_:_:)-5zkud","language":"swift","taskGroups":[],"path":"\/documentation\/anymeasure\/*(_:_:)-5zkud","kind":"org.swift.docc.kind.operator","availableLanguages":["swift"]}] \ No newline at end of file