Showing
10 changed files
with
52 additions
and
5 deletions
1 | +{ | ||
2 | + "images" : [ | ||
3 | + { | ||
4 | + "filename" : "ic_back.png", | ||
5 | + "idiom" : "universal", | ||
6 | + "scale" : "1x" | ||
7 | + }, | ||
8 | + { | ||
9 | + "filename" : "ic_back-2.png", | ||
10 | + "idiom" : "universal", | ||
11 | + "scale" : "2x" | ||
12 | + }, | ||
13 | + { | ||
14 | + "filename" : "ic_back-1.png", | ||
15 | + "idiom" : "universal", | ||
16 | + "scale" : "3x" | ||
17 | + } | ||
18 | + ], | ||
19 | + "info" : { | ||
20 | + "author" : "xcode", | ||
21 | + "version" : 1 | ||
22 | + } | ||
23 | +} |
470 Bytes
470 Bytes
470 Bytes
... | @@ -8,6 +8,7 @@ | ... | @@ -8,6 +8,7 @@ |
8 | 8 | ||
9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
10 | 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; }; | 10 | 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; }; |
11 | + E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; | ||
11 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; | 12 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; |
12 | E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; | 13 | E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; |
13 | E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; }; | 14 | E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; }; |
... | @@ -128,6 +129,7 @@ | ... | @@ -128,6 +129,7 @@ |
128 | /* Begin PBXFileReference section */ | 129 | /* Begin PBXFileReference section */ |
129 | 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 130 | 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
130 | B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WarplySDKFrameworkIOS.release.xcconfig"; path = "Target Support Files/Pods-WarplySDKFrameworkIOS/Pods-WarplySDKFrameworkIOS.release.xcconfig"; sourceTree = "<group>"; }; | 131 | B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WarplySDKFrameworkIOS.release.xcconfig"; path = "Target Support Files/Pods-WarplySDKFrameworkIOS/Pods-WarplySDKFrameworkIOS.release.xcconfig"; sourceTree = "<group>"; }; |
132 | + E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; | ||
131 | E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 133 | E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
132 | E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; }; | 134 | E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; }; |
133 | E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = WarplySDKFrameworkIOS.docc; sourceTree = "<group>"; }; | 135 | E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = WarplySDKFrameworkIOS.docc; sourceTree = "<group>"; }; |
... | @@ -306,6 +308,7 @@ | ... | @@ -306,6 +308,7 @@ |
306 | E6D8DE7727A942910006A3A9 /* Warply */, | 308 | E6D8DE7727A942910006A3A9 /* Warply */, |
307 | E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */, | 309 | E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */, |
308 | E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */, | 310 | E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */, |
311 | + E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */, | ||
309 | ); | 312 | ); |
310 | path = WarplySDKFrameworkIOS; | 313 | path = WarplySDKFrameworkIOS; |
311 | sourceTree = "<group>"; | 314 | sourceTree = "<group>"; |
... | @@ -529,6 +532,7 @@ | ... | @@ -529,6 +532,7 @@ |
529 | files = ( | 532 | files = ( |
530 | E6D8DEEF27A942920006A3A9 /* WarplyReactMethods.h in Headers */, | 533 | E6D8DEEF27A942920006A3A9 /* WarplyReactMethods.h in Headers */, |
531 | E6D8DF0027A942920006A3A9 /* WLNativeAdsCollectionMode.h in Headers */, | 534 | E6D8DF0027A942920006A3A9 /* WLNativeAdsCollectionMode.h in Headers */, |
535 | + E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */, | ||
532 | E6D8DF3027A942920006A3A9 /* AFImageDownloader.h in Headers */, | 536 | E6D8DF3027A942920006A3A9 /* AFImageDownloader.h in Headers */, |
533 | E6D8DF4927A942920006A3A9 /* AFNetworking.h in Headers */, | 537 | E6D8DF4927A942920006A3A9 /* AFNetworking.h in Headers */, |
534 | E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */, | 538 | E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */, | ... | ... |
No preview for this file type
... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
6 | // | 6 | // |
7 | 7 | ||
8 | import SwiftUI | 8 | import SwiftUI |
9 | +import WarplySDKFrameworkIOS | ||
9 | 10 | ||
10 | @available(iOS 13.0.0, *) | 11 | @available(iOS 13.0.0, *) |
11 | struct ProfileView: View { | 12 | struct ProfileView: View { |
... | @@ -15,14 +16,15 @@ struct ProfileView: View { | ... | @@ -15,14 +16,15 @@ struct ProfileView: View { |
15 | var body: some View { | 16 | var body: some View { |
16 | ScrollView { | 17 | ScrollView { |
17 | VStack { | 18 | VStack { |
18 | -// var instanceOfMyApi = MyApi() | 19 | + let instanceOfMyApi = MyApi() |
19 | -// var myJson = instanceOfMyApi.getProfile() as AnyObject? | 20 | + var myJson = instanceOfMyApi.getCoupons() as AnyObject? |
21 | + | ||
20 | ZStack { | 22 | ZStack { |
21 | - Image("logo", bundle: Bundle(identifier:"framework.warp.ly.warplySDKFrameworkIOS")) | 23 | + Image("ic_back", bundle: Bundle(identifier:"framework.warp.ly.warplySDKFrameworkIOS")) |
22 | .resizable() | 24 | .resizable() |
23 | .frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02) | 25 | .frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02) |
24 | .offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.04) | 26 | .offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.04) |
25 | - Text("Το προφίλ μου") | 27 | + Text("Όλα τα κουπόνια μου") |
26 | .frame(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.025, alignment: .center) | 28 | .frame(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.025, alignment: .center) |
27 | .offset( y: self.uiscreen.height * 0.04) | 29 | .offset( y: self.uiscreen.height * 0.04) |
28 | } | 30 | } | ... | ... |
1 | +// | ||
2 | +// WarplySDKFrameworkIOS-Bridging-Header.h | ||
3 | +// WarplySDKFrameworkIOS | ||
4 | +// | ||
5 | +// Created by Βασιλης Σκουρας on 12/4/22. | ||
6 | +// | ||
7 | + | ||
8 | +#ifndef WarplySDKFrameworkIOS_Bridging_Header_h | ||
9 | +#define WarplySDKFrameworkIOS_Bridging_Header_h | ||
10 | +#import "MyApi.h" | ||
11 | + | ||
12 | +#endif /* WarplySDKFrameworkIOS_Bridging_Header_h */ |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | // | 6 | // |
7 | 7 | ||
8 | #import <Foundation/Foundation.h> | 8 | #import <Foundation/Foundation.h> |
9 | - | 9 | +#import "MyApi.h" |
10 | //! Project version number for WarplySDKFrameworkIOS. | 10 | //! Project version number for WarplySDKFrameworkIOS. |
11 | FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber; | 11 | FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber; |
12 | 12 | ... | ... |
-
Please register or login to post a comment