File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 8
8
import Foundation
9
9
import UIKit
10
10
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
-
19
11
@IBDesignable
20
12
public class IterableEmbeddedView : UIView {
21
13
22
- // Delegate Methods
23
- weak public var iterableEmbeddedViewDelegate : IterableEmbeddedViewDelegate !
24
-
25
14
/// Set background color of view in container view.
26
15
@IBOutlet weak public var contentView : UIView !
27
16
@IBOutlet weak var innerContentView : UIView !
@@ -344,11 +333,6 @@ public class IterableEmbeddedView:UIView {
344
333
IterableAPI . embeddedManager. handleEmbeddedClick ( message: EMmessage, buttonIdentifier: nil , clickedUrl: clickedUrl)
345
334
}
346
335
}
347
-
348
- //TODO: Delegate method
349
- if ( iterableEmbeddedViewDelegate != nil ) {
350
- iterableEmbeddedViewDelegate. didPressBanner ( banner: self , viewTag: self . tag, message: message)
351
- }
352
336
}
353
337
354
338
public var viewConfig : IterableEmbeddedViewConfig ?
You can’t perform that action at this time.
0 commit comments