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
Manos Chorianopoulos
2025-05-28 17:59:40 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7eb7b8941ea8c7f339ce620862ea7ca563f88e94
7eb7b894
1 parent
794c4e8e
ProfileViewController part 1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
22 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.xib
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
7eb7b89
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
View file @
7eb7b89
...
...
@@ -101,7 +101,7 @@ struct OfferModel {
discountType
:
"price"
,
bannerImage
:
"dominos_banner"
,
merchantLogo
:
"dominos_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
true
),
...
...
@@ -113,7 +113,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"dominos_banner"
,
merchantLogo
:
"dominos_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -127,7 +127,7 @@ struct OfferModel {
// discountType: "percentage",
// bannerImage: "car_rental_banner",
// merchantLogo: "avis_logo",
// expirationDate: "έως 30
/
09",
// expirationDate: "έως 30
-
09",
// color: 0xEE417D,
// isFavorite: true
// ),
...
...
@@ -139,7 +139,7 @@ struct OfferModel {
// discountType: "amount",
// bannerImage: "hotel_banner",
// merchantLogo: "booking_logo",
// expirationDate: "έως 30
/
09",
// expirationDate: "έως 30
-
09",
// color: 0xEE417D,
// isFavorite: true
// ),
...
...
@@ -153,7 +153,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"musa_banner"
,
merchantLogo
:
"musa_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0x09914E
,
isFavorite
:
false
),
...
...
@@ -165,7 +165,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"musa_banner"
,
merchantLogo
:
"musa_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0x09914E
,
isFavorite
:
true
),
...
...
@@ -179,7 +179,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"ranch_banner"
,
merchantLogo
:
"ranch_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xFC9F25
,
isFavorite
:
false
),
...
...
@@ -191,7 +191,7 @@ struct OfferModel {
discountType
:
"buyOneGetOne"
,
bannerImage
:
"ranch_banner"
,
merchantLogo
:
"ranch_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xFC9F25
,
isFavorite
:
false
),
...
...
@@ -205,7 +205,7 @@ struct OfferModel {
discountType
:
"amount"
,
bannerImage
:
"coffeeisland_banner"
,
merchantLogo
:
"coffeeisland_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -217,7 +217,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"coffeeisland_banner"
,
merchantLogo
:
"coffeeisland_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -231,7 +231,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"ninemia_banner"
,
merchantLogo
:
"ninemia_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
true
),
...
...
@@ -243,7 +243,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"ninemia_banner"
,
merchantLogo
:
"ninemia_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -257,7 +257,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"moustakas_banner"
,
merchantLogo
:
"moustakas_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -269,7 +269,7 @@ struct OfferModel {
discountType
:
"buyOneGetOne"
,
bannerImage
:
"moustakas_banner"
,
merchantLogo
:
"moustakas_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -283,7 +283,7 @@ struct OfferModel {
discountType
:
"amount"
,
bannerImage
:
"migato_banner"
,
merchantLogo
:
"migato_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
),
...
...
@@ -295,7 +295,7 @@ struct OfferModel {
discountType
:
"percentage"
,
bannerImage
:
"migato_banner"
,
merchantLogo
:
"migato_logo"
,
expirationDate
:
"έως 30
/
09"
,
expirationDate
:
"έως 30
-
09"
,
color
:
0xEE417D
,
isFavorite
:
false
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
View file @
7eb7b89
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.xib
View file @
7eb7b89
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"13142"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"23094"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_12"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"
12042
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"
23084
"
/>
<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>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"ProfileViewController"
customModuleProvider=
"target"
>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
customClass=
"ProfileViewController"
customModule
=
"SwiftWarplyFramework"
customModule
Provider=
"target"
>
<connections>
<outlet
property=
"tableView"
destination=
"Lyp-gB-nMU"
id=
"qcx-6z-teY"
/>
<outlet
property=
"view"
destination=
"i5M-Pr-FkT"
id=
"sfx-zR-JGt"
/>
</connections>
</placeholder>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
clearsContextBeforeDrawing=
"NO"
contentMode=
"scaleToFill"
id=
"i5M-Pr-FkT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"3
75"
height=
"667
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"3
93"
height=
"852
"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"35E-2c-fwB"
userLabel=
"Main View"
>
<rect
key=
"frame"
x=
"0.0"
y=
"59"
width=
"393"
height=
"793"
/>
<subviews>
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
dataMode=
"prototypes"
style=
"plain"
separatorStyle=
"none"
rowHeight=
"-1"
estimatedRowHeight=
"-1"
sectionHeaderHeight=
"28"
estimatedSectionHeaderHeight=
"-1"
sectionFooterHeight=
"28"
estimatedSectionFooterHeight=
"-1"
contentViewInsetsToSafeArea=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Lyp-gB-nMU"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"393"
height=
"793"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"separatorColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"sectionIndexBackgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<connections>
<outlet
property=
"dataSource"
destination=
"-1"
id=
"YLY-kN-FuL"
/>
<outlet
property=
"delegate"
destination=
"-1"
id=
"8wu-Tv-kNd"
/>
</connections>
</tableView>
</subviews>
<color
key=
"backgroundColor"
red=
"0.94901960780000005"
green=
"0.94901960780000005"
blue=
"0.94901960780000005"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstItem=
"Lyp-gB-nMU"
firstAttribute=
"top"
secondItem=
"35E-2c-fwB"
secondAttribute=
"top"
id=
"ZSr-fH-jKR"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"Lyp-gB-nMU"
secondAttribute=
"bottom"
id=
"kxk-Ld-8kk"
/>
<constraint
firstItem=
"Lyp-gB-nMU"
firstAttribute=
"leading"
secondItem=
"35E-2c-fwB"
secondAttribute=
"leading"
id=
"nId-cX-Bq6"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Lyp-gB-nMU"
secondAttribute=
"trailing"
id=
"wzt-qW-Jpz"
/>
</constraints>
</view>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"35E-2c-fwB"
secondAttribute=
"trailing"
id=
"6p0-6e-iUG"
/>
<constraint
firstItem=
"35E-2c-fwB"
firstAttribute=
"leading"
secondItem=
"i5M-Pr-FkT"
secondAttribute=
"leading"
id=
"GVO-tH-EEu"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"35E-2c-fwB"
secondAttribute=
"bottom"
id=
"Hmw-0d-E4K"
/>
<constraint
firstItem=
"35E-2c-fwB"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"ajn-1A-hAX"
/>
</constraints>
<point
key=
"canvasLocation"
x=
"11"
y=
"-11"
/>
</view>
</objects>
<resources>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
...
...
Please
register
or
login
to post a comment