init(maximumPrice:currencyCode:)
Initializes the object with the specified maximum price information.
Declaration
init(maximumPrice: NSDecimalNumber, currencyCode: String)Parameters
- maximumPrice:
The maximum price value. This value is assigned to the Maximumprice property.
- currencyCode:
The ISO 4217 currency code to apply to the price information. You can get a list of possible currency codes using the Isocurrencycodes method of Nslocale. For example, the string “USD” corresponds to United States dollars.
Return Value
An initialized price range object or nil if the object could not be created.
Discussion
This method does not assign a value to the minimumPrice property.