MLKMoneyEntity
@interface MLKMoneyEntity : NSObject
从文本中提取的货币实体。
-
检测到的注释的货币部分。未应用格式设置,因此将返回初始字符串的子集。
声明
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull unnormalizedCurrency;
-
检测到的注解的整数部分。这是写在小数分隔符左侧的整数。
声明
Objective-C
@property (nonatomic, readonly) NSInteger integerPart;
-
检测到的注释的小数部分。这是写在小数分隔符右侧的整数。
声明
Objective-C
@property (nonatomic, readonly) NSInteger fractionalPart;
-
不可用。
声明
Objective-C
- (nonnull instancetype)init;