Skip to content

Commit

Permalink
Rebuild library with Swift 4.1 (XCode Version 9.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
0505gonzalez committed Apr 3, 2018
1 parent cb53a32 commit 0ccab95
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions Xendit.framework/Headers/Xendit-Swift.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 4.0.2 effective-3.2.2 (swiftlang-900.0.69.2 clang-900.0.38)
// Generated by Apple Swift version 4.1 effective-3.3 (swiftlang-902.0.48 clang-902.0.37.1)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand All @@ -15,15 +15,6 @@
# define __has_warning(x) 0
#endif

#if __has_attribute(external_source_symbol)
# define SWIFT_STRINGIFY(str) #str
# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol))))
# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop")
#else
# define SWIFT_MODULE_NAMESPACE_PUSH(module_name)
# define SWIFT_MODULE_NAMESPACE_POP
#endif

#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
Expand All @@ -38,7 +29,7 @@
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
# include <uchar.h>
# elif !defined(__cplusplus) || __cplusplus < 201103L
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
Expand Down Expand Up @@ -184,7 +175,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"

SWIFT_MODULE_NAMESPACE_PUSH("Xendit")
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Xendit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif

@class NSNumber;

SWIFT_CLASS_NAMED("AuthenticationData")
Expand Down Expand Up @@ -235,6 +232,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable pub
+ (BOOL)isCardNumberValidWithCardNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isExpiryValidWithCardExpirationMonth:(NSString * _Nonnull)cardExpirationMonth cardExpirationYear:(NSString * _Nonnull)cardExpirationYear SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isCvnValidWithCreditCardCVN:(NSString * _Nonnull)creditCardCVN SWIFT_WARN_UNUSED_RESULT;
+ (BOOL)isCvnValidForCardTypeWithCreditCardCVN:(NSString * _Nonnull)creditCardCVN cardNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

Expand All @@ -258,6 +256,7 @@ SWIFT_CLASS_NAMED("XenditCCToken")
@property (nonatomic, copy) NSString * _Null_unspecified status;
@property (nonatomic, copy) NSString * _Null_unspecified authenticationId;
@property (nonatomic, copy) NSString * _Nullable authenticationURL;
@property (nonatomic, copy) NSString * _Nullable maskedCardNumber;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

Expand All @@ -273,5 +272,7 @@ SWIFT_CLASS_NAMED("XenditError")



SWIFT_MODULE_NAMESPACE_POP
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
Binary file modified Xendit.framework/Info.plist
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/i386.swiftmodule
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftmodule
Binary file not shown.
Binary file modified Xendit.framework/Xendit
Binary file not shown.
2 changes: 1 addition & 1 deletion Xendit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Xendit"
s.version = "1.2.0"
s.version = "1.2.1"
s.summary = "Xendit makes it easy to collect credit card data securely without it having to touch your server"
s.homepage = "https://www.xendit.co"
s.license = "MIT"
Expand Down

0 comments on commit 0ccab95

Please sign in to comment.