StoryPriceFormatter
@objc(StoryPriceFormatter)
public protocol StoryPriceFormatter
This class defines the structure of StorylyPriceConverter
-
This function format price and currency symbol
@param price Represents the numerical value of the price @param currency Represents the currency symbol
Declaration
Swift
@objc(format::) func format(price: NSNumber?, currency: String) -> String?