MBNativeResult

@protocol MBNativeResult

/**
 * Returns the native object containing the result. For example, for MBDateResult, this method
 * will return NSDate object.
 */
- (NSObject *_Nullable)nativeResult;

/**
 * Returns the string version of the result. For example, for MBDateResult, this method
 * will return original string from which date was parsed (same as MBDateResult's originalDateString property}.
 */
- (NSString *_Nullable)stringResult;

@end

Undocumented

  • Returns the native object containing the result. For example, for MBDateResult, this method will return NSDate object.

    Declaration

    Objective-C

    - (NSObject *_Nullable)nativeResult;

    Swift

    func nativeResult() -> NSObject?
  • Returns the string version of the result. For example, for MBDateResult, this method will return original string from which date was parsed (same as MBDateResult’s originalDateString property}.

    Declaration

    Objective-C

    - (NSString *_Nullable)stringResult;

    Swift

    func stringResult() -> String?