Skip to content

Commit 8c7baec

Browse files
committed
deleted init method
1 parent c03936d commit 8c7baec

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed
Binary file not shown.

YNDropDownMenu/Classes/YNDropDownMenu.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -339,16 +339,6 @@ open class YNDropDownMenu: UIView, YNDropDownDelegate {
339339
self.addSubview(button)
340340

341341
// Setup Views
342-
if let _yNDropDownViews = yNDropDownViews?[i] {
343-
_yNDropDownViews.frame.size = CGSize(width: self.bounds.size.width, height: _yNDropDownViews.frame.height)
344-
_yNDropDownViews.frame.origin.y = -_yNDropDownViews.frame.height + CGFloat(menuHeight)
345-
_yNDropDownViews.tag = i + 100
346-
_yNDropDownViews.isHidden = true
347-
348-
self.addSubview(_yNDropDownViews)
349-
self.sendSubview(toBack: _yNDropDownViews)
350-
}
351-
352342
if let _dropDownMenu = dropDownViews?[i] {
353343
_dropDownMenu.frame.size = CGSize(width: self.bounds.size.width, height: _dropDownMenu.frame.height)
354344
_dropDownMenu.frame.origin.y = -_dropDownMenu.frame.height + CGFloat(menuHeight)

0 commit comments

Comments
 (0)