Merge branch 'master' of https://git.warp.ly/open-source/warply_sdk_framework
Showing
3 changed files
with
4 additions
and
3 deletions
No preview for this file type
| ... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ | 
| 7 | 7 | ||
| 8 | #import <Foundation/Foundation.h> | 8 | #import <Foundation/Foundation.h> | 
| 9 | #import "MyApi.h" | 9 | #import "MyApi.h" | 
| 10 | +#import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS-Swift.h> | ||
| 10 | //! Project version number for WarplySDKFrameworkIOS. | 11 | //! Project version number for WarplySDKFrameworkIOS. | 
| 11 | FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber; | 12 | FOUNDATION_EXPORT double WarplySDKFrameworkIOSVersionNumber; | 
| 12 | 13 | ... | ... | 
| ... | @@ -76,7 +76,7 @@ public class swiftApi { | ... | @@ -76,7 +76,7 @@ public class swiftApi { | 
| 76 | let buyable: Bool? | 76 | let buyable: Bool? | 
| 77 | let visible: Bool? | 77 | let visible: Bool? | 
| 78 | 78 | ||
| 79 | - init(dictionary: [String: Any]) { | 79 | + public init(dictionary: [String: Any]) { | 
| 80 | self.uuid = dictionary["uuid"] as? String? ?? "" | 80 | self.uuid = dictionary["uuid"] as? String? ?? "" | 
| 81 | self.admin_name = dictionary["admin_name"] as? String? ?? "" | 81 | self.admin_name = dictionary["admin_name"] as? String? ?? "" | 
| 82 | self.name = dictionary["name"] as? String? ?? "" | 82 | self.name = dictionary["name"] as? String? ?? "" | 
| ... | @@ -184,7 +184,7 @@ public class swiftApi { | ... | @@ -184,7 +184,7 @@ public class swiftApi { | 
| 184 | let status: Int? | 184 | let status: Int? | 
| 185 | var couponset_data: CouponSetItemModel? | 185 | var couponset_data: CouponSetItemModel? | 
| 186 | 186 | ||
| 187 | - init(dictionary: [String: Any]) { | 187 | + public init(dictionary: [String: Any]) { | 
| 188 | self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? "" | 188 | self.couponset_uuid = dictionary["couponset_uuid"] as? String? ?? "" | 
| 189 | self.name = dictionary["name"] as? String? ?? "" | 189 | self.name = dictionary["name"] as? String? ?? "" | 
| 190 | self.image = dictionary["image"] as? String? ?? "" | 190 | self.image = dictionary["image"] as? String? ?? "" | 
| ... | @@ -362,7 +362,7 @@ public class swiftApi { | ... | @@ -362,7 +362,7 @@ public class swiftApi { | 
| 362 | CouponsDataModel().getCouponsData(getCouponsCallback) | 362 | CouponsDataModel().getCouponsData(getCouponsCallback) | 
| 363 | } | 363 | } | 
| 364 | 364 | ||
| 365 | - public func getCoupons() -> Array<CouponItemModel> { | 365 | + public class func getCoupons() -> Array<CouponItemModel> { | 
| 366 | return CouponsDataModel().getData | 366 | return CouponsDataModel().getData | 
| 367 | } | 367 | } | 
| 368 | 368 | ... | ... | 
- 
Please register or login to post a comment