Dimitris Togias

reorg xcode workspace project

Showing 273 changed files with 783 additions and 8 deletions
This diff is collapsed. Click to expand it.
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
......@@ -2,13 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
......
//
// AppDelegate.swift
// swift_example
//
// Created by Manos Chorianopoulos on 18/4/22.
//
import UIKit
import SwiftWarplyFramework
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let instanceOfMyApi = MyApi()
instanceOfMyApi.setToStage()
// germanos uuid 70de8f34a4eb4044bb5c47d63aabd9ac
// cosmote uuid f83dfde1145e4c2da69793abb2f579af
// instanceOfMyApi.initialize(launchOptions, uuid:"f83dfde1145e4c2da69793abb2f579af", merchantId: "20113", lang: "el")
instanceOfMyApi.initialize(withCallback: launchOptions, uuid: "f83dfde1145e4c2da69793abb2f579af", merchantId: "20113", lang: "el", successBlock: initializeCallback, failureBlock: initializeFailureCallback)
// ===========================
// let instanceOfMyApi = MyApi()
// instanceOfMyApi.verifyTicketAsync(guid, ticket, verifyAsyncCallback, failureBlock: verifyAsyncFailureCallback)
func initializeCallback(_ initializeData: [AnyHashable: Any]?) -> Void {
print("===== initializeData ======")
print(initializeData)
print(initializeData?["msg"])
print(initializeData?["status"])
print("====================")
if let initializeDataDictionary = initializeData as? [String: Any] {
// let tempResponse = swiftApi.GenericResponseModel(dictionary: initializeDataDictionary)
// verifyTicketCallback(tempResponse);
} else {
// verifyTicketCallback(nil)
}
}
func initializeFailureCallback(_ error: Error?) -> Void {
print("initialize error: ")
print(error)
print("====================")
// verifyTicketCallback(nil)
}
// ================================
// instanceOfMyApi.setLang("en")
// var logout = instanceOfMyApi.logout()
// var login = instanceOfMyApi.login("6981234567", password: "123456", loginType: "msisdn")
// Set UserDefaults variables
// let launchedBefore = UserDefaults.standard.bool(forKey: "launchedBefore")
// if (!launchedBefore) {
// UserDefaults.standard.set(true, forKey: "launchedBefore")
// UserDefaults.standard.set(false, forKey: "hasOpenedGifts")
// }
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}
}
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "active_code_logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "active_code_logo-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "active_code_logo-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupon_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupon_bg-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupon_bg-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "coupons_scrollview_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "coupons_scrollview_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "coupons_scrollview_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "curved_bg_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "curved_bg_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "curved_bg_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "default_profile_image.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "default_profile_image-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "default_profile_image-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "dfy_logo_white.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "dfy_logo_white-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "dfy_logo_white-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "filters_btn.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "heart.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "heart-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "heart-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_back.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_background_circle.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_background_circle-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_background_circle-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_bag.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_bag-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_bag-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_cart.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_cart-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_cart-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_cosmote_logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_cosmote_logo-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_cosmote_logo-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_down.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_down-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_down-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_down_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_down_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_down_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_food.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_food-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_food-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_gift.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_gift-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_gift-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_plane.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_plane-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_plane-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_smile.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_smile-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_smile-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_steering_wheel.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_steering_wheel-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_steering_wheel-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_up.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_up-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_up-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_up_dark.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_up_dark-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_up_dark-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_wallet.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_wallet-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_wallet-2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.