Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Vasilis
2022-05-04 14:36:46 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3959f53b030d19fe0aee445de7ee122bbb13dc13
3959f53b
1 parent
8ed11e78
usage of storyboard try
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
73 additions
and
2 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcodeproj/project.pbxproj
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsViewController.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/Main.storyboard
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/MyApi.m
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/StepsView.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcodeproj/project.pbxproj
View file @
3959f53
...
...
@@ -21,6 +21,8 @@
260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; };
E634A362282151E30069DE27 /* StepsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A361282151E30069DE27 /* StepsView.swift */; };
E634A364282168550069DE27 /* StepsViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A363282168550069DE27 /* StepsViewInterface.swift */; };
E634A369282299770069DE27 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E634A368282299760069DE27 /* Main.storyboard */; };
E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A36A2822999B0069DE27 /* CouponsViewController.swift */; };
E639EFA2280810E300B9DD94 /* CouponsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA0280810E300B9DD94 /* CouponsView.swift */; };
E639EFA3280810E300B9DD94 /* CouponsViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA1280810E300B9DD94 /* CouponsViewInterface.swift */; };
E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */; };
...
...
@@ -163,6 +165,8 @@
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>"; };
E634A361282151E30069DE27 /* StepsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepsView.swift; sourceTree = "<group>"; };
E634A363282168550069DE27 /* StepsViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepsViewInterface.swift; sourceTree = "<group>"; };
E634A368282299760069DE27 /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
E634A36A2822999B0069DE27 /* CouponsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponsViewController.swift; sourceTree = "<group>"; };
E639EFA0280810E300B9DD94 /* CouponsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponsView.swift; sourceTree = "<group>"; };
E639EFA1280810E300B9DD94 /* CouponsViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponsViewInterface.swift; sourceTree = "<group>"; };
E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; };
...
...
@@ -382,6 +386,8 @@
E67D1EC528117F2400940F01 /* swiftApi.swift */,
E634A361282151E30069DE27 /* StepsView.swift */,
E634A363282168550069DE27 /* StepsViewInterface.swift */,
E634A368282299760069DE27 /* Main.storyboard */,
E634A36A2822999B0069DE27 /* CouponsViewController.swift */,
);
path = WarplySDKFrameworkIOS;
sourceTree = "<group>";
...
...
@@ -730,6 +736,7 @@
E6D8DF5A27A942920006A3A9 /* Media.xcassets in Resources */,
E6D8DF1127A942920006A3A9 /* warp_white_close_button.png in Resources */,
E6D8DF0E27A942920006A3A9 /* warp_white_back_button.png in Resources */,
E634A369282299770069DE27 /* Main.storyboard in Resources */,
E6D8DF0F27A942920006A3A9 /* warp_white_close_button@2x.png in Resources */,
E6D8DF0D27A942920006A3A9 /* warp_white_forward_button.png in Resources */,
E6D8DEFA27A942920006A3A9 /* WLNativeAdTableViewCell.xib in Resources */,
...
...
@@ -841,6 +848,7 @@
E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */,
E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */,
E6D8DEF927A942920006A3A9 /* WLNativeAdCollectionViewCell.m in Sources */,
E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */,
E6D8DF4E27A942920006A3A9 /* FMDatabaseQueue.m in Sources */,
E6D8DF0827A942920006A3A9 /* WLBaseItem.m in Sources */,
E6D8DF0727A942920006A3A9 /* WLInboxItemViewController.m in Sources */,
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
3959f53
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponsViewController.swift
0 → 100644
View file @
3959f53
//
// CouponsViewController.swift
// WarplySDKFrameworkIOS
//
// Created by Βασιλης Σκουρας on 4/5/22.
//
import
Foundation
import
UIKit
@objc
public
class
CouponsViewController
:
UIViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
}
}
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/Main.storyboard
0 → 100644
View file @
3959f53
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"20037"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"20020"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<scenes>
<!--Coupons View Controller-->
<scene
sceneID=
"s0d-6b-0kx"
>
<objects>
<viewController
id=
"Y6W-OH-hqX"
customClass=
"CouponsViewController"
customModule=
"WarplySDKFrameworkIOS"
customModuleProvider=
"target"
sceneMemberID=
"viewController"
>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"5EZ-qb-Rvc"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"896"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
fixedFrame=
"YES"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"system"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"7KR-sE-hFt"
>
<rect
key=
"frame"
x=
"174"
y=
"231"
width=
"67"
height=
"31"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<state
key=
"normal"
title=
"Button"
/>
<buttonConfiguration
key=
"configuration"
style=
"plain"
title=
"Button"
/>
</button>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"vDu-zF-Fre"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"Ief-a0-LHa"
userLabel=
"First Responder"
customClass=
"UIResponder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"139"
y=
"129"
/>
</scene>
</scenes>
<resources>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/MyApi.m
View file @
3959f53
...
...
@@ -95,7 +95,7 @@ CMPedometer *pedometer;
-
(
UIViewController
*
)
openCoupons
:
(
UIView
*
)
parentView
{
UIViewController
*
couponsViewController
=
[
CouponsViewInterface
couponsViewController
:
parentView
];
UIViewController
*
couponsViewController
=
[
[
CouponsViewController
alloc
]
init
];
return
couponsViewController
;
}
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/StepsView.swift
View file @
3959f53
...
...
@@ -80,7 +80,7 @@ struct StepsView: View {
func
goBack
(){
for
subview
in
parentView
.
subviews
{
if
(
subview
.
tag
==
1
)
{
if
(
subview
.
tag
==
1
1
)
{
subview
.
removeFromSuperview
()
}
}
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
View file @
3959f53
...
...
@@ -56,6 +56,12 @@ public class swiftApi {
CCMSLoyaltyCampaigns
.
init
(
campaigns
:
campaigns
)
}
public
func
getActiveDFYCoupons
()
->
Array
<
String
>
{
let
array
:
Array
<
String
>
=
[]
return
array
}
public
class
CouponSetItemModel
{
let
uuid
:
String
?
let
admin_name
:
String
?
...
...
Please
register
or
login
to post a comment