Skip to content

Commit

Permalink
deleted init method
Browse files Browse the repository at this point in the history
  • Loading branch information
seungyounyi committed Feb 28, 2017
1 parent c03936d commit 8c7baec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Binary file not shown.
10 changes: 0 additions & 10 deletions YNDropDownMenu/Classes/YNDropDownMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,6 @@ open class YNDropDownMenu: UIView, YNDropDownDelegate {
self.addSubview(button)

// Setup Views
if let _yNDropDownViews = yNDropDownViews?[i] {
_yNDropDownViews.frame.size = CGSize(width: self.bounds.size.width, height: _yNDropDownViews.frame.height)
_yNDropDownViews.frame.origin.y = -_yNDropDownViews.frame.height + CGFloat(menuHeight)
_yNDropDownViews.tag = i + 100
_yNDropDownViews.isHidden = true

self.addSubview(_yNDropDownViews)
self.sendSubview(toBack: _yNDropDownViews)
}

if let _dropDownMenu = dropDownViews?[i] {
_dropDownMenu.frame.size = CGSize(width: self.bounds.size.width, height: _dropDownMenu.frame.height)
_dropDownMenu.frame.origin.y = -_dropDownMenu.frame.height + CGFloat(menuHeight)
Expand Down

0 comments on commit 8c7baec

Please sign in to comment.