This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#warning("delete later") | |
let profile: Dictionary<String, String> = [ | |
"abtest": "abtest", // Email address of the user | |
// Enable WhatsApp notifications | |
] | |
#warning("delete later") | |
CleverTap.sharedInstance()?.profilePush(profile) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol CanvasItem: Codable | |
{ | |
var scale: CGFloat { get set } | |
} | |
class StickerItem: CanvasItem | |
{ | |
var scale: CGFloat = 0.0 | |
var stickerName : String = "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
protocol CanvasItemProtocol | |
{ | |
var scale : CGFloat { get set } | |
} | |
class CanvasItem : CanvasItemProtocol | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
protocol CanvasItemProtocol | |
{ | |
var scale : CGFloat { get set } | |
} | |
class CanvasItem : CanvasItemProtocol | |
{ |