Vasilis

some fixes

{
"images" : [
{
"filename" : "ic_back.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_back-2.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_back-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
......@@ -8,6 +8,7 @@
/* Begin PBXBuildFile section */
260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; };
E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; };
E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; };
E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE7527A942910006A3A9 /* WarplyReactMethods.m */; };
......@@ -128,6 +129,7 @@
/* Begin PBXFileReference section */
1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
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>"; };
E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; };
E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; };
E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = WarplySDKFrameworkIOS.docc; sourceTree = "<group>"; };
......@@ -306,6 +308,7 @@
E6D8DE7727A942910006A3A9 /* Warply */,
E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */,
E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */,
E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */,
);
path = WarplySDKFrameworkIOS;
sourceTree = "<group>";
......@@ -529,6 +532,7 @@
files = (
E6D8DEEF27A942920006A3A9 /* WarplyReactMethods.h in Headers */,
E6D8DF0027A942920006A3A9 /* WLNativeAdsCollectionMode.h in Headers */,
E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */,
E6D8DF3027A942920006A3A9 /* AFImageDownloader.h in Headers */,
E6D8DF4927A942920006A3A9 /* AFNetworking.h in Headers */,
E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */,
......
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "91478161-56E8-4654-93F2-7756A39480EE"
type = "0"
version = "2.0">
</Bucket>
......@@ -6,6 +6,7 @@
//
import SwiftUI
import WarplySDKFrameworkIOS
@available(iOS 13.0.0, *)
struct ProfileView: View {
......@@ -15,14 +16,15 @@ struct ProfileView: View {
var body: some View {
ScrollView {
VStack {
// var instanceOfMyApi = MyApi()
// var myJson = instanceOfMyApi.getProfile() as AnyObject?
let instanceOfMyApi = MyApi()
var myJson = instanceOfMyApi.getCoupons() as AnyObject?
ZStack {
Image("logo", bundle: Bundle(identifier:"framework.warp.ly.warplySDKFrameworkIOS"))
Image("ic_back", bundle: Bundle(identifier:"framework.warp.ly.warplySDKFrameworkIOS"))
.resizable()
.frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02)
.offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.04)
Text("Το προφίλ μου")
Text("Όλα τα κουπόνια μου")
.frame(width: self.uiscreen.width * 0.8, height: self.uiscreen.height * 0.025, alignment: .center)
.offset( y: self.uiscreen.height * 0.04)
}
......
//
// WarplySDKFrameworkIOS-Bridging-Header.h
// WarplySDKFrameworkIOS
//
// Created by Βασιλης Σκουρας on 12/4/22.
//
#ifndef WarplySDKFrameworkIOS_Bridging_Header_h
#define WarplySDKFrameworkIOS_Bridging_Header_h
#import "MyApi.h"
#endif /* WarplySDKFrameworkIOS_Bridging_Header_h */
......@@ -6,7 +6,7 @@
//
#import <Foundation/Foundation.h>
#import "MyApi.h"
//! Project version number for WarplySDKFrameworkIOS.
FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber;
......