MBStringResult
Objective-C
@interface MBStringResult : NSObject
Swift
class MBStringResult : NSObject
Class for all obtaining original string per alphabet type
-
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull value;
Swift
var value: String { get }
Return Value
the non-empty value, if such is present, with priority given to Latin alphabet.
-
Declaration
Objective-C
- (nonnull NSString *)valueForAlphabetType:(MBAlphabetType)alphabetType;
Swift
func value(for alphabetType: MBAlphabetType) -> String
Return Value
value of the specified alphabet type.
-
Declaration
Objective-C
@property (nonatomic, readonly) CGRect location;
Swift
var location: CGRect { get }
Return Value
the CGRect location, if result is detected, else CGRectNull. Priority given to Latin alphabet.
-
Declaration
Objective-C
- (CGRect)locationForAlphabetType:(MBAlphabetType)alphabetType;
Swift
func location(for alphabetType: MBAlphabetType) -> CGRect
Return Value
location of the specified alphabet type.
-
Declaration
Objective-C
@property (nonatomic, readonly) MBSide side;
Swift
var side: MBSide { get }
Return Value
the MBSide side, if result is detected, else MBSideNone. Priority given to Latin alphabet.
-
Declaration
Objective-C
- (MBSide)sideForAlphabetType:(MBAlphabetType)alphabetType;
Swift
func side(for alphabetType: MBAlphabetType) -> MBSide
Return Value
side of the specified alphabet type.