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
2024-02-09 11:02:04 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dfd3fd19cb27ebe82f356b7120b9e187546d1b5a
dfd3fd19
1 parent
40a59147
header fixes
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
dfd3fd1
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyViewController.swift
View file @
dfd3fd1
...
...
@@ -9,6 +9,7 @@ import UIKit
@objc
public
class
LoyaltyViewController
:
UIViewController
{
@IBOutlet
weak
var
headerView
:
UIView
!
@IBOutlet
weak
var
gradientImage
:
UIImageView
!
@IBOutlet
weak
var
closeImage
:
UIImageView
!
@IBOutlet
weak
var
logoImage
:
UIImageView
!
@IBOutlet
weak
var
filtersView
:
UIView
!
...
...
@@ -23,8 +24,9 @@ import UIKit
super
.
viewDidLoad
()
headerView
.
applyGradient
(
colours
:
[
UIColor
(
rgb
:
0x081748
),
UIColor
(
rgb
:
0x204EAC
)],
gradient
:
GradientOrientation
.
horizontal
,
cornerRadius
:
0.0
)
//
headerView.applyGradient(colours: [UIColor(rgb: 0x081748), UIColor(rgb: 0x204EAC)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0)
gradientImage
.
image
=
UIImage
(
named
:
"header_gradient"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
closeImage
.
image
=
UIImage
(
named
:
"close_btn_white"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
logoImage
.
image
=
UIImage
(
named
:
"epistrofi_logo"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
dfd3fd1
...
...
@@ -4003,6 +4003,9 @@
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Iq3-R0-fBz"
userLabel=
"Header View"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"176"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"XUl-yS-U0R"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"414"
height=
"176"
/>
</imageView>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"b5d-hX-vcb"
>
<rect
key=
"frame"
x=
"379"
y=
"55"
width=
"15"
height=
"15"
/>
<constraints>
...
...
@@ -4018,13 +4021,18 @@
</constraints>
</imageView>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor
"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace
"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"b5d-hX-vcb"
secondAttribute=
"trailing"
constant=
"20"
id=
"7b4-MW-wD8"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"GZK-rw-pZV"
secondAttribute=
"bottom"
constant=
"40"
id=
"9Rf-JX-IKb"
/>
<constraint
firstItem=
"GZK-rw-pZV"
firstAttribute=
"leading"
secondItem=
"Iq3-R0-fBz"
secondAttribute=
"leading"
constant=
"20"
id=
"BMr-C7-DIL"
/>
<constraint
firstAttribute=
"height"
constant=
"176"
id=
"BaJ-Gm-xbU"
/>
<constraint
firstItem=
"XUl-yS-U0R"
firstAttribute=
"top"
secondItem=
"Iq3-R0-fBz"
secondAttribute=
"top"
id=
"Dy3-jg-UMr"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"XUl-yS-U0R"
secondAttribute=
"trailing"
id=
"NBA-Xp-nka"
/>
<constraint
firstItem=
"GZK-rw-pZV"
firstAttribute=
"top"
secondItem=
"b5d-hX-vcb"
secondAttribute=
"bottom"
constant=
"15"
id=
"U6G-sr-YQ8"
/>
<constraint
firstItem=
"b5d-hX-vcb"
firstAttribute=
"top"
secondItem=
"Iq3-R0-fBz"
secondAttribute=
"top"
constant=
"55"
id=
"eCY-aR-D9c"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"XUl-yS-U0R"
secondAttribute=
"bottom"
id=
"qsE-Bq-90b"
/>
<constraint
firstItem=
"XUl-yS-U0R"
firstAttribute=
"leading"
secondItem=
"Iq3-R0-fBz"
secondAttribute=
"leading"
id=
"zJ6-nU-hko"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"ZDd-1H-T7x"
userLabel=
"Filters View"
>
...
...
@@ -4204,6 +4212,7 @@
<outlet
property=
"collectionView"
destination=
"3Ff-i2-KRi"
id=
"7GZ-4D-yqt"
/>
<outlet
property=
"containerView"
destination=
"JYn-ad-sj7"
id=
"hpH-B5-4uH"
/>
<outlet
property=
"filtersView"
destination=
"ZDd-1H-T7x"
id=
"HUd-Ox-bcV"
/>
<outlet
property=
"gradientImage"
destination=
"XUl-yS-U0R"
id=
"CDt-DC-WTx"
/>
<outlet
property=
"headerView"
destination=
"Iq3-R0-fBz"
id=
"E4T-bn-yYD"
/>
<outlet
property=
"logoImage"
destination=
"GZK-rw-pZV"
id=
"qwb-ae-QFc"
/>
</connections>
...
...
Please
register
or
login
to post a comment