-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ed93d2
commit e12eace
Showing
101 changed files
with
3,904 additions
and
557 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// | ||
// App.h | ||
// iphone-photopay | ||
// | ||
// Created by Ja on 11/2/11. | ||
// Copyright (c) 2011 [email protected]. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "PPMicroBlinkDefines.h" | ||
|
||
#ifdef __OBJC__ | ||
#import <UIKit/UIKit.h> | ||
#endif | ||
|
||
#define PP_IS_IPAD (([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad)) | ||
|
||
/* | ||
* System Versioning Preprocessor Macros | ||
*/ | ||
|
||
#define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame) | ||
#define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending) | ||
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) \ | ||
([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) | ||
#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending) | ||
#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) \ | ||
([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending) | ||
|
||
#define PP_NOTIFY(notificationKey, valueKey) \ | ||
{ \ | ||
NSDictionary *dict = [NSDictionary dictionaryWithObject:@(YES) forKey:valueKey]; \ | ||
[[NSNotificationCenter defaultCenter] postNotificationName:notificationKey object:nil userInfo:dict]; \ | ||
} | ||
|
||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPApp : NSObject | ||
|
||
@property (nonatomic) NSString *language; | ||
|
||
/** Bundle with resources used in framework */ | ||
@property (nonatomic) NSBundle *resourcesBundle; | ||
|
||
/** Obtain the shared instance */ | ||
+ (instancetype)instance; | ||
|
||
/** Designated initializer */ | ||
- (id)init; | ||
|
||
/** Sets the language used in PhotoPaySDK */ | ||
- (void)setLanguage:(NSString *)language; | ||
|
||
/** Sets the language to default (i.e. language specified in the user's device settings */ | ||
- (void)setDefaultLanguage; | ||
|
||
/** Pushes the UIApplication status bar style to a internally handled stack */ | ||
- (void)pushStatusBarStyle:(UIStatusBarStyle)statusBarStyle; | ||
|
||
/** Returns the status bar style to the last saved value */ | ||
- (void)popStatusBarStyle; | ||
|
||
/** Push the status bar hidden value */ | ||
- (void)pushStatusBarHidden:(BOOL)hidden; | ||
|
||
/** pops the status bar hidden value */ | ||
- (void)popStatusBarHidden; | ||
|
||
/** Sets the key that the help was shown to true */ | ||
- (void)setHelpShown:(BOOL)value; | ||
|
||
/** Returns true if the help was already shown */ | ||
- (BOOL)isHelpShown; | ||
|
||
/** | ||
* This method check existance of the default resources bundle Microblink.bundle, | ||
* and throws an exception if it's missing | ||
*/ | ||
+ (NSBundle *)verifyAndGetDefaultResourcesBundle; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
MicroBlink.framework/Headers/PPBarcodeOverlayViewController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// PPBarcodeOverlayViewController.h | ||
// BarcodeFramework | ||
// | ||
// Created by Jura on 22/12/13. | ||
// Copyright (c) 2015 MicroBlink Ltd. All rights reserved. | ||
// | ||
|
||
#import "PPBaseBarcodeOverlayViewController.h" | ||
|
||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPBarcodeOverlayViewController : PPBaseBarcodeOverlayViewController | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
// | ||
// PPBarcodeRecognizerResult.h | ||
// MicroBlinkDev | ||
// | ||
// Created by Jura Skrlec on 26/06/2017. | ||
// | ||
// | ||
|
||
#import "PPRecognizerResult.h" | ||
#import "PPBarcodeDetailedData.h" | ||
|
||
/** | ||
* Type of the barcode which BarDecoderRecognizer returnes | ||
*/ | ||
typedef NS_ENUM(NSUInteger, PPBarcodeType) { | ||
/** Code 39 */ | ||
PPBarcodeTypeAztec, | ||
/** Code 128 */ | ||
PPBarcodeTypeCode128, | ||
/** Code 39 */ | ||
PPBarcodeTypeCode39, | ||
/** Data Matrix */ | ||
PPBarcodeTypeDataMatrix, | ||
/** EAN 13 */ | ||
PPBarcodeTypeEAN13, | ||
/** EAN 8 */ | ||
PPBarcodeTypeEAN8, | ||
/** ITF */ | ||
PPBarcodeTypeITF, | ||
/** QR code */ | ||
PPBarcodeTypeQR, | ||
/** UPCA */ | ||
PPBarcodeTypeUPCA, | ||
/** UPCE */ | ||
PPBarcodeTypeUPCE, | ||
}; | ||
|
||
|
||
/** | ||
* Result of scanning with Barcode Recognizer | ||
* | ||
* Contains raw Barcode detailed data, barcode type, and methods for getting string representation of results. | ||
*/ | ||
PP_CLASS_AVAILABLE_IOS(6.0) | ||
@interface PPBarcodeRecognizerResult : PPRecognizerResult | ||
|
||
/** | ||
* Type of the barcode scanned | ||
* | ||
* @return Type of the barcode | ||
*/ | ||
- (PPBarcodeType)barcodeType; | ||
|
||
/** | ||
* Byte array with result of the scan | ||
*/ | ||
- (NSData *_Nullable)data; | ||
|
||
/** | ||
* Retrieves string content of the scanned data using guessed encoding. | ||
* | ||
* If you're 100% sure you know the exact encoding in the barcode, use stringUsingEncoding: method. | ||
* Otherwise stringUsingDefaultEncoding. | ||
* | ||
* This method uses `[NSString stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:` method for | ||
* guessing the encoding. | ||
* | ||
* @return created string, or nil if encoding couldn't be found. | ||
*/ | ||
- (NSString *_Nullable)stringUsingGuessedEncoding; | ||
|
||
/** | ||
* Retrieves string content of the scanned data using given encoding. | ||
* | ||
* @param encoding The encoding for the returned string. | ||
* | ||
* @return String created from data property, using given encoding | ||
*/ | ||
- (NSString *_Nullable)stringUsingEncoding:(NSStringEncoding)encoding; | ||
|
||
/** | ||
* Raw barcode detailed result | ||
*/ | ||
- (PPBarcodeDetailedData *_Nullable)rawData; | ||
|
||
/** | ||
* Method which gives string representation for a given PPBarcodeType enum value. | ||
* | ||
* @param type PPBarcodeType enum value | ||
* | ||
* @return String representation of a given PPBarcodeType enum value. | ||
*/ | ||
+ (NSString *_Nonnull)toTypeName:(PPBarcodeType)type; | ||
|
||
@end |
Oops, something went wrong.