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-09-16 16:11:27 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
319eb574bc230ed0f9a5ae3bccc20cf33cd0e1de
319eb574
1 parent
f30934ee
fix PacingDetailsInner value type
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
319eb57
...
...
@@ -4244,8 +4244,8 @@ public class swiftApi {
public
class
PacingDetailsInner
{
private
var
goal
:
Float
private
var
value
:
Float
private
var
goal
:
Double
private
var
value
:
Double
private
var
per_day
:
Array
<
PacingDetailsDay
>
public
init
()
{
...
...
@@ -4256,8 +4256,8 @@ public class swiftApi {
}
public
init
(
dictionary
:
[
String
:
Any
])
{
self
.
goal
=
dictionary
[
"goal"
]
as?
Float
??
0.0
self
.
value
=
dictionary
[
"value"
]
as?
Float
??
0.0
self
.
goal
=
dictionary
[
"goal"
]
as?
Double
??
0.0
self
.
value
=
dictionary
[
"value"
]
as?
Double
??
0.0
if
let
perDay
=
dictionary
[
"per_day"
]
as?
[[
String
:
Any
]]
{
var
tempPerDayArray
:
Array
<
PacingDetailsDay
>
=
[]
...
...
@@ -4271,7 +4271,7 @@ public class swiftApi {
}
}
public
var
_goal
:
Float
{
public
var
_goal
:
Double
{
get
{
// getter
return
self
.
goal
}
...
...
@@ -4280,7 +4280,7 @@ public class swiftApi {
}
}
public
var
_value
:
Float
{
public
var
_value
:
Double
{
get
{
// getter
return
self
.
value
}
...
...
Please
register
or
login
to post a comment