remove print statements
This commit is contained in:
parent
a971f3daa9
commit
83a5010f65
@ -23,21 +23,8 @@ public extension MVMCoreUITopAlertView {
|
|||||||
|
|
||||||
/// Checks for new top alert json
|
/// Checks for new top alert json
|
||||||
@objc func responseJSONUpdated(notification: Notification) {
|
@objc func responseJSONUpdated(notification: Notification) {
|
||||||
var jssoonnn = (notification.userInfo?[String(describing: MVMCoreLoadObject.self)] as? MVMCoreLoadObject)?.responseJSON
|
let responseJSON = (notification.userInfo?[String(describing: MVMCoreLoadObject.self)] as? MVMCoreLoadObject)?.responseJSON
|
||||||
/*let molecule = CollapsableNotificationModel(with: LabelModel(text: "Top"), headline: LabelModel(text: "Headline"))
|
guard let json = responseJSON?.optionalDictionaryForKey("TopNotification") else { return }
|
||||||
//let molecule = NotificationModel(with: LabelModel(text: "Hello"))
|
|
||||||
molecule.backgroundColor = Color(uiColor: .mvmRed)
|
|
||||||
molecule.button = ButtonModel(with: "Hi", action: ActionCancelModel())
|
|
||||||
molecule.body = LabelModel(text: "Sup")
|
|
||||||
molecule.closeButton = NotificationXButtonModel()
|
|
||||||
let model = TopNotificationModel(with: "Testing", molecule: molecule)
|
|
||||||
model.persistent = false
|
|
||||||
model.dismissTime = 10
|
|
||||||
model.setPriority(with: 80)
|
|
||||||
model.pages = nil//["settingsLanding"]
|
|
||||||
jssoonnn?.updateValue(model.toJSON()!, forKey: "TopNotification")*/
|
|
||||||
guard let json = jssoonnn?.optionalDictionaryForKey("TopNotification") else { return }
|
|
||||||
print("TYTYT top alert new json \(json)")
|
|
||||||
|
|
||||||
// TODO: Top alert view is current delegate. Should move to current view controller eventually?
|
// TODO: Top alert view is current delegate. Should move to current view controller eventually?
|
||||||
let delegateObject = MVMCoreUIDelegateObject.create(withDelegateForAll: self)
|
let delegateObject = MVMCoreUIDelegateObject.create(withDelegateForAll: self)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user