This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 555
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
Dave Goldman
committed
Dec 1, 2014
1 parent
57db9cc
commit b3c22ca
Showing
15 changed files
with
218 additions
and
66 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = 'CardIO' | ||
spec.version = '3.10.1' | ||
spec.version = '4.0.0' | ||
spec.license = { type: 'MIT', file: 'LICENSE.md' } | ||
spec.homepage = 'https://www.card.io' | ||
spec.authors = { 'CardIO' => '[email protected]' } | ||
spec.summary = 'Credit card scanning for mobile apps' | ||
spec.social_media_url = 'https://twitter.com/cardio' | ||
spec.source = { :git => 'https://github.com/card-io/card.io-iOS-SDK.git', :tag => "#{spec.version}" } | ||
spec.platform = :ios, '6.0' | ||
spec.ios.deployment_target = '6.0' | ||
spec.platform = :ios, '6.1' | ||
spec.ios.deployment_target = '6.1' | ||
spec.requires_arc = true | ||
spec.source_files = 'CardIO/*.h' | ||
spec.preserve_path = 'CardIO/*.a' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// CardIODetectionMode.h | ||
// Version 4.0.0 | ||
// | ||
// See the file "LICENSE.md" for the full license governing this code. | ||
// | ||
// | ||
|
||
#ifndef icc_CardIODetectionMode_h | ||
#define icc_CardIODetectionMode_h | ||
|
||
typedef NS_ENUM(NSInteger, CardIODetectionMode) { | ||
CardIODetectionModeCardImageAndNumber = 0, | ||
CardIODetectionModeCardImageOnly, | ||
CardIODetectionModeAutomatic | ||
}; | ||
|
||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// CardIOUtilities.h | ||
// Version 4.0.0 | ||
// | ||
// See the file "LICENSE.md" for the full license governing this code. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
@interface CardIOUtilities : NSObject | ||
|
||
/// Please send the output of this method with any technical support requests. | ||
/// @return Human-readable version of this library. | ||
+ (NSString *)libraryVersion; | ||
|
||
/// Determine whether this device supports camera-based card scanning, considering | ||
/// factors such as hardware support and OS version. | ||
/// | ||
/// card.io automatically provides manual entry of cards as a fallback, | ||
/// so it is not typically necessary for your app to check this. | ||
/// | ||
/// @return YES iff the user's device supports camera-based card scanning. | ||
+ (BOOL)canReadCardWithCamera; | ||
|
||
/// The preload method prepares card.io to launch faster. Calling preload is optional but suggested. | ||
/// On an iPhone 5S, for example, preloading makes card.io launch ~400ms faster. | ||
/// The best time to call preload is when displaying a view from which card.io might be launched; | ||
/// e.g., inside your view controller's viewWillAppear: method. | ||
/// preload works in the background; the call to preload returns immediately. | ||
+ (void)preload; | ||
|
||
/// Returns a doubly Gaussian-blurred screenshot, intended for screenshots when backgrounding. | ||
/// @return Blurred screenshot. | ||
+ (UIImageView *)blurredScreenImageView; | ||
|
||
@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
Binary file not shown.
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
Oops, something went wrong.