Vasilis

try of exposing swift to client app

......@@ -18,8 +18,11 @@
- (void) setToStage;
- (void) setLang:(NSString*) lang;
- (UIViewController *) openCoupons:(UIView*) parentView;
- (UIViewController *) openCoupon:(UIView*) parentView;
- (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon;
- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon;
- (UIViewController *) openGifts:(UIView*) parentView;
- (UIViewController *) openAllGifts:(UIView*) parentView;
- (UIViewController *) openOldCoupons:(UIView*) parentView;
- (UIViewController *) openWallet:(UIView*) parentView;
- (UIViewController *) openMoreForYou:(UIView*) parentView;
- (UIViewController *) openCampaign:(UIView*) parentView campaign:(NSString*) campaign;
......
// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
// Generated by Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
#ifndef WARPLYSDKFRAMEWORKIOS_SWIFT_H
#define WARPLYSDKFRAMEWORKIOS_SWIFT_H
#pragma clang diagnostic push
......@@ -184,10 +184,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
@import ObjectiveC;
#endif
......@@ -207,9 +215,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
@class UIView;
@class NSString;
@class UIViewController;
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21AllGiftsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface AllGiftsViewInterface : NSObject
+ (UIViewController * _Nonnull)allGiftsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@class NSString;
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CampaignViewInterface : NSObject
+ (UIViewController * _Nonnull)campaignViewController:(UIView * _Nullable)parentView :(NSString * _Nullable)campaign SWIFT_WARN_UNUSED_RESULT;
......@@ -217,9 +232,16 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS21CampaignViewInterface") SWIFT_AVAILABI
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS26CouponBarcodeViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CouponBarcodeViewInterface : NSObject
+ (UIViewController * _Nonnull)couponBarcodeViewController:(UIView * _Nullable)parentView :(NSDictionary<NSString *, id> * _Nonnull)coupon SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19CouponViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface CouponViewInterface : NSObject
+ (UIViewController * _Nonnull)couponViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
+ (UIViewController * _Nonnull)couponViewController:(UIView * _Nullable)parentView :(NSDictionary<NSString *, id> * _Nonnull)coupon SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
......@@ -245,6 +267,13 @@ SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23MoreForYouViewInterface") SWIFT_AVAILA
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS23OldCouponsViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface OldCouponsViewInterface : NSObject
+ (UIViewController * _Nonnull)oldCouponsViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
SWIFT_CLASS("_TtC21WarplySDKFrameworkIOS19WalletViewInterface") SWIFT_AVAILABILITY(ios,introduced=13.0.0)
@interface WalletViewInterface : NSObject
+ (UIViewController * _Nonnull)walletViewController:(UIView * _Nullable)parentView SWIFT_WARN_UNUSED_RESULT;
......
......@@ -6,19 +6,15 @@
<dict>
<key>Assets.car</key>
<data>
/ozRXUeH5f7rK8V7YqRkg9tofZ8=
</data>
<key>Coupons.nib</key>
<data>
U1ckDGrJNDxW08P7htkWHJqRgWQ=
rhhP5ctoIwX1XBAEn09i99u40VM=
</data>
<key>Headers/MyApi.h</key>
<data>
Ih/NyJXeSN/A2bEzkdwD1a9f9YE=
qvU9RK9zkiyp5ZguFf4EP9hrlQY=
</data>
<key>Headers/WarplySDKFrameworkIOS-Swift.h</key>
<data>
kMf48Zhh1K3sIIsuYGLb9iSfvqI=
aEEPm8524J0QBhgj6t6YQFyJaGE=
</data>
<key>Headers/WarplySDKFrameworkIOS.h</key>
<data>
......@@ -26,31 +22,19 @@
</data>
<key>Info.plist</key>
<data>
Z5Iptg21CUicJnZefwBkOkIYAWk=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key>
<data>
G8EHL5AQxDz1LtDc4lGS38nFSMY=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
<data>
G8EHL5AQxDz1LtDc4lGS38nFSMY=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
DH+WJWLYtHZ/xyb7q1Cc9tqm2ls=
aCEMSKVNv1YmddCEhXL+qubnMuc=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
<data>
l8e7lz5VJ55C2Vbf3oAkocJOn4c=
6cWHbGMrHkGBZ3JIjvx0PWlc7Jk=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
DH+WJWLYtHZ/xyb7q1Cc9tqm2ls=
hR3lcksG2JOZHfVCguV2FhBu13o=
</data>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftmodule</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data>
l8e7lz5VJ55C2Vbf3oAkocJOn4c=
CvLiFIiivc0aSr4vZujtebQTqp8=
</data>
<key>Modules/module.modulemap</key>
<data>
......@@ -103,28 +87,21 @@
<dict>
<key>hash2</key>
<data>
BUCD1FuzGHHbGTvkjD/cGpAb1UR/SRxslDgUCTWLeug=
</data>
</dict>
<key>Coupons.nib</key>
<dict>
<key>hash2</key>
<data>
mM03M76vk3gs0o89PfobwLZanZilelkwSEDNE2pEzcY=
xVSzJAYILk6qIZqjzs1x9ERlz9p+AS+sZuR/XYLVDy0=
</data>
</dict>
<key>Headers/MyApi.h</key>
<dict>
<key>hash2</key>
<data>
hdN5KzzXrtLvcyOHg134rNHE8x34XtMbUcY2mzDQpu4=
3OiqPvgDi+08xpvVD36ol7pd5LKhvFXC3VVkeS6syG4=
</data>
</dict>
<key>Headers/WarplySDKFrameworkIOS-Swift.h</key>
<dict>
<key>hash2</key>
<data>
x3esIbCN+RVwkzXNKlYy8Lt6rIP8LiKhby+jOtRQOZY=
z3w4u1htB+uvK/hO3xalkU7SDg+g0OTS+e6Wd8uQc1k=
</data>
</dict>
<key>Headers/WarplySDKFrameworkIOS.h</key>
......@@ -134,46 +111,25 @@
vzJVcnjXgi6I7JknI81AWPBmBkpWBqV47pSppt4U80Q=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/arm64.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
y4wipeUhLVSpthuJGZVf6etKiQkIcQk1SwkuWFW2nX0=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftdoc</key>
<dict>
<key>hash2</key>
<data>
mZE/2nBoABT5qbBx/4hgUK4MuSph0p64ImRGmwNCCDI=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64-apple-ios.swiftmodule</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
<dict>
<key>hash2</key>
<data>
zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
hwA4MDaD3f8GihwVecTmRyamzTdhJRdPv3X+ZzLUztk=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftdoc</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash2</key>
<data>
mZE/2nBoABT5qbBx/4hgUK4MuSph0p64ImRGmwNCCDI=
jnC1OVZEG6Pp889GytD5WfuZ9wu+rm0StwCe1r19mtU=
</data>
</dict>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/arm64.swiftmodule</key>
<key>Modules/WarplySDKFrameworkIOS.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
zzXJ2tO7lSUmCAKfWXLA98aYnIR3NdhGDCD7GD+eRoQ=
3lRbVyD5P1mfFw44ku6U46uZelEzV+rpj/1PyIKCGBk=
</data>
</dict>
<key>Modules/module.modulemap</key>
......
Pod::Spec.new do |spec|
spec.name = "WarplySDKFrameworkIOS"
spec.version = "0.0.1"
spec.version = "0.0.2"
spec.summary = "A framework used for several functionalities."
spec.description = "This is the Warply framework used for react native or swift apps for analytics, push notifications and the functionality of the app."
spec.homepage = "https://git.warp.ly/open-source/warply_sdk_framework.git"
spec.license = {
:type => 'MIT',
:file => 'WarplySDKFrameworkIOS/LICENSE.txt'
}
:type => 'MIT'
}
spec.author = { "billy" => "skourasbl@gmail.com" }
spec.platform = :ios, "13.0"
spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.0.1" }
spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "0.0.2" }
spec.public_header_files = "WarplySDKFrameworkIOS.framework/Headers/*.h"
# spec.source_files = 'WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets', "WarplySDKFrameworkIOS/*.png", "WarplySDKFrameworkIOS/*.xcassets", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets","WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/**/*.{h,m}", "WarplySDKFrameworkIOS/*.swift", "*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", 'WarplySDKFrameworkIOS/UIResources/*.png', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/UIResources/*.png'
spec.exclude_files = "Classes/Exclude"
spec.source_files = "WarplySDKFrameworkIOS.framework/Headers/*.h"
spec.vendored_frameworks = "WarplySDKFrameworkIOS.framework"
# spec.resource_bundles = {
# 'Resources' => ['WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets']
# }
# spec.preserve_paths = 'WarplySDKFrameworkIOS/myApi.h'
# spec.vendored_libraries = 'WarplySDKFrameworkIOS/myApi.h'
# spec.ios.deployment_target = '13.0'
# spec.frameworks = 'UIKit', 'Foundation'
# spec.requires_arc = true
# spec.subspec 'WarplySDKFrameworkIOS' do |mylib|
# mylib.source_files = 'WarplySDKFrameworkIOS/*.xcassets', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets', "WarplySDKFrameworkIOS/*.png", "WarplySDKFrameworkIOS/*.xcassets", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xcassets","WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.xib", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/*.{h,m}", "WarplySDKFrameworkIOS/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/*.{h,m}", "WarplySDKFrameworkIOS/**/**/**/*.{h,m}", "WarplySDKFrameworkIOS/*.swift", "*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", "WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/*.swift", 'WarplySDKFrameworkIOS/UIResources/*.png', 'WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/UIResources/*.png'
# mylib.vendored_frameworks = 'WarplySDKFrameworkIOS/Frameworks/WarplySDKFrameworkIOS.framework'
# end
end
......