MBINativeResult

@protocol MBINativeResult

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

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

@end

Undocumented

  • Returns the native object containing the result. For example, for MBIDateResult, 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 MBIDateResult, this method will return original string from which date was parsed (same as MBIDateResult’s originalDateString property}.

    Declaration

    Objective-C

    - (NSString *_Nullable)stringResult;

    Swift

    func stringResult() -> String?