@@ -123,7 +123,7 @@ public class IterableEmbeddedView:UIView {
123
123
self . contentView = self . loadViewFromNib ( )
124
124
self . contentView. translatesAutoresizingMaskIntoConstraints = false
125
125
self . innerContentView. clipsToBounds = true
126
- self . setDefaultValue ( )
126
+ // self.setDefaultValue()
127
127
self . addSubview ( self . contentView)
128
128
129
129
NSLayoutConstraint . activate ( [
@@ -137,25 +137,25 @@ public class IterableEmbeddedView:UIView {
137
137
func loadViewFromNib( ) -> UIView ? {
138
138
let nib = UINib ( nibName: " IterableEmbeddedView " , bundle: Bundle . module)
139
139
let view = nib. instantiate ( withOwner: self , options: nil ) . first as? UIView
140
- view? . backgroundColor = UIColor . clear
140
+ // view?.backgroundColor = UIColor.clear
141
141
self . clipsToBounds = false
142
142
return view
143
143
}
144
144
145
145
// MARK: Assign Default Value
146
146
///setDefaultValue assign default values to IterableEmbeddedView
147
- func setDefaultValue( ) {
148
- bannerBackgroundColor = UIColor . white
149
- bannerBorderColor = UIColor ( red: 0.88 , green: 0.87 , blue: 0.87 , alpha: 1.00 )
150
- bannerBorderWidth = 1.0
151
- bannerCornerRadius = 8.0
152
- primaryBtnColor = UIColor . purple
153
- primaryBtnTextColor = UIColor . white
154
- secondaryBtnColor = UIColor . clear
155
- secondaryBtnTextColor = UIColor . black
156
- titleTextColor = UIColor . black
157
- bodyTextColor = UIColor . darkGray
158
- }
147
+ // func setDefaultValue() {
148
+ // bannerBackgroundColor = UIColor.white
149
+ // bannerBorderColor = UIColor(red: 0.88, green: 0.87, blue: 0.87, alpha: 1.00)
150
+ // bannerBorderWidth = 1.0
151
+ // bannerCornerRadius = 8.0
152
+ // primaryBtnColor = UIColor.purple
153
+ // primaryBtnTextColor = UIColor.white
154
+ // secondaryBtnColor = UIColor.clear
155
+ // secondaryBtnTextColor = UIColor.black
156
+ // titleTextColor = UIColor.black
157
+ // bodyTextColor = UIColor.darkGray
158
+ // }
159
159
160
160
public func configure( message: IterableEmbeddedMessage , viewType: IterableEmbeddedViewType , config: IterableEmbeddedViewConfig ? ) {
161
161
0 commit comments