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-05-09 14:16:10 +0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
ecdbd9b857d32a04c87bc4287ff614e8c3576771
ecdbd9b8
2 parents
5b39092a
1cb8a2ed
Merge branch 'master' of
https://git.warp.ly/open-source/warply_sdk_framework
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.h
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ecdbd9b
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.h
View file @
ecdbd9b
...
...
@@ -7,6 +7,7 @@
#import <Foundation/Foundation.h>
#import "MyApi.h"
#import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS-Swift.h>
//! Project version number for WarplySDKFrameworkIOS.
FOUNDATION_EXPORT
double
WarplySDKFrameworkIOSVersionNumber
;
...
...
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/swiftApi.swift
View file @
ecdbd9b
...
...
@@ -76,7 +76,7 @@ public class swiftApi {
let
buyable
:
Bool
?
let
visible
:
Bool
?
init
(
dictionary
:
[
String
:
Any
])
{
public
init
(
dictionary
:
[
String
:
Any
])
{
self
.
uuid
=
dictionary
[
"uuid"
]
as?
String
?
??
""
self
.
admin_name
=
dictionary
[
"admin_name"
]
as?
String
?
??
""
self
.
name
=
dictionary
[
"name"
]
as?
String
?
??
""
...
...
@@ -184,7 +184,7 @@ public class swiftApi {
let
status
:
Int
?
var
couponset_data
:
CouponSetItemModel
?
init
(
dictionary
:
[
String
:
Any
])
{
public
init
(
dictionary
:
[
String
:
Any
])
{
self
.
couponset_uuid
=
dictionary
[
"couponset_uuid"
]
as?
String
?
??
""
self
.
name
=
dictionary
[
"name"
]
as?
String
?
??
""
self
.
image
=
dictionary
[
"image"
]
as?
String
?
??
""
...
...
@@ -362,7 +362,7 @@ public class swiftApi {
CouponsDataModel
()
.
getCouponsData
(
getCouponsCallback
)
}
public
func
getCoupons
()
->
Array
<
CouponItemModel
>
{
public
class
func
getCoupons
()
->
Array
<
CouponItemModel
>
{
return
CouponsDataModel
()
.
getData
}
...
...
Please
register
or
login
to post a comment