Skip to content

Instantly share code, notes, and snippets.

#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)
protocol CanvasItem: Codable
{
var scale: CGFloat { get set }
}
class StickerItem: CanvasItem
{
var scale: CGFloat = 0.0
var stickerName : String = ""
}
import UIKit
protocol CanvasItemProtocol
{
var scale : CGFloat { get set }
}
class CanvasItem : CanvasItemProtocol
{
import UIKit
protocol CanvasItemProtocol
{
var scale : CGFloat { get set }
}
class CanvasItem : CanvasItemProtocol
{