Skip to content

Commit 87f79c1

Browse files
author
Evan Greer
committed
removes delegate methods
1 parent 8e7eaed commit 87f79c1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

swift-sdk/uicomponents/IterableEmbeddedView.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,9 @@
88
import Foundation
99
import UIKit
1010

11-
12-
//TODO: Featuring in D6
13-
public protocol IterableEmbeddedViewDelegate: NSObject {
14-
func didPressPrimaryButton(button: UIButton, viewTag: Int, message: IterableEmbeddedMessage?)
15-
func didPressSecondaryButton(button: UIButton, viewTag: Int, message: IterableEmbeddedMessage?)
16-
func didPressBanner(banner: IterableEmbeddedView, viewTag: Int, message: IterableEmbeddedMessage?)
17-
}
18-
1911
@IBDesignable
2012
public class IterableEmbeddedView:UIView {
2113

22-
// Delegate Methods
23-
weak public var iterableEmbeddedViewDelegate: IterableEmbeddedViewDelegate!
24-
2514
/// Set background color of view in container view.
2615
@IBOutlet weak public var contentView: UIView!
2716
@IBOutlet weak var innerContentView: UIView!
@@ -344,11 +333,6 @@ public class IterableEmbeddedView:UIView {
344333
IterableAPI.embeddedManager.handleEmbeddedClick(message: EMmessage, buttonIdentifier: nil, clickedUrl: clickedUrl)
345334
}
346335
}
347-
348-
//TODO: Delegate method
349-
if (iterableEmbeddedViewDelegate != nil) {
350-
iterableEmbeddedViewDelegate.didPressBanner(banner: self, viewTag: self.tag, message: message)
351-
}
352336
}
353337

354338
public var viewConfig: IterableEmbeddedViewConfig?

0 commit comments

Comments
 (0)