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
2022-04-29 10:21:38 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
572387359453ef6e426b4a39001d28fa30148d96
57238735
1 parent
b19102ab
barcode lib v18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponBarcodeView.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
5723873
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/CouponBarcodeView.swift
View file @
5723873
...
...
@@ -209,7 +209,7 @@ extension CouponBarcodeView {
}
.
frame
(
maxWidth
:
.
infinity
)
if
(
CharacterSet
.
decimalDigits
.
isSuperset
(
of
:
CharacterSet
(
charactersIn
:
"1234567891234
"
)))
{
if
(
CharacterSet
.
decimalDigits
.
isSuperset
(
of
:
CharacterSet
(
charactersIn
:
coupon
[
"coupon"
]
as?
String
??
"
"
)))
{
VStack
(
alignment
:
.
center
)
{
VStack
{}
.
frame
(
height
:
1
)
...
...
@@ -373,6 +373,18 @@ extension CouponBarcodeView {
}
.
frame
(
width
:
self
.
uiscreen
.
width
)
.
frame
(
maxHeight
:
.
infinity
)
.
onAppear
{
// If you want to setup data with model
// couponset = CouponSetItemModel(dictionary: coupon)
print
(
"=================="
)
print
(
coupon
[
"coupon"
]
as?
String
??
""
)
print
(
"=================="
)
print
(
"========constructBarcode()=========="
)
print
(
constructBarcode
()
??
""
)
print
(
"========constructBarcode()=========="
)
}
}
}
...
...
@@ -428,11 +440,10 @@ struct CouponBarcodeView: View {
.
edgesIgnoringSafeArea
([
.
bottom
])
.
frame
(
width
:
self
.
uiscreen
.
width
)
.
frame
(
maxHeight
:
.
infinity
)
//
.onAppear {
//
// If you want to setup data with model
// .onAppear {
// // If you want to setup data with model
// couponset = CouponSetItemModel(dictionary: coupon)
//
// }
// }
}
}
#endif
...
...
Please
register
or
login
to post a comment