Skip to content

Commit

Permalink
Add the line
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDeck committed Feb 27, 2016
1 parent 18a1d33 commit 735e30c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GrandMenu.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "GrandMenu"
s.version = "0.0.1"
s.version = "0.0.2"
s.summary = "GrandMenu is a powerful and simple Menu"

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -80,7 +80,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/DuckDeck/GrandMenu.git", :tag => "0.0.1" }
s.source = { :git => "https://github.com/DuckDeck/GrandMenu.git", :tag => "0.0.2" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down
6 changes: 6 additions & 0 deletions GrandMenu/GrandMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ public class GrandMenu: UIView,GraneMenuItemDelegate {
arrItemsTitle = titles
setupItems()
}
public func addBottomLine(bgColor:UIColor,height:Float){
let line = UIView(frame: CGRect(x: CGFloat(0), y: CGRectGetMaxY(self.frame), width: UIScreen.mainScreen().bounds.width, height: CGFloat(height)))
line.backgroundColor = bgColor
self.superview?.addSubview(line)
}

func setupItems(){
for view in scrollView!.subviews{
if view is GrandMenuItem{
Expand Down

0 comments on commit 735e30c

Please sign in to comment.