diff --git a/AnimationBars.xcodeproj/project.xcworkspace/xcuserdata/vaibhavgautam.xcuserdatad/UserInterfaceState.xcuserstate b/AnimationBars.xcodeproj/project.xcworkspace/xcuserdata/vaibhavgautam.xcuserdatad/UserInterfaceState.xcuserstate index 7eabdc6..c9d5704 100644 Binary files a/AnimationBars.xcodeproj/project.xcworkspace/xcuserdata/vaibhavgautam.xcuserdatad/UserInterfaceState.xcuserstate and b/AnimationBars.xcodeproj/project.xcworkspace/xcuserdata/vaibhavgautam.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/AnimationBars/Base.lproj/Main.storyboard b/AnimationBars/Base.lproj/Main.storyboard index 768d108..1937ab7 100644 --- a/AnimationBars/Base.lproj/Main.storyboard +++ b/AnimationBars/Base.lproj/Main.storyboard @@ -3,6 +3,7 @@ + @@ -89,17 +90,17 @@ + - - - + + @@ -110,17 +111,17 @@ + - - - + + diff --git a/AnimationBars/InstaBars/InstaBars.swift b/AnimationBars/InstaBars/InstaBars.swift index 8120ec3..ac8e6bc 100644 --- a/AnimationBars/InstaBars/InstaBars.swift +++ b/AnimationBars/InstaBars/InstaBars.swift @@ -10,14 +10,6 @@ import UIKit class InstaBars: UIView { - /* - // Only override drawRect: if you perform custom drawing. - // An empty implementation adversely affects performance during animation. - override func drawRect(rect: CGRect) { - // Drawing code - } - */ - required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c3ed1a2 --- /dev/null +++ b/readme.md @@ -0,0 +1,17 @@ +# InstaBars + +Instabars is a simple and lightweight UIView based control which can be used for symbolising that music or a video is playing. This control is inspired by Instagram iOS Application which shows similar kind of animation when a video is playing. + +# Installation + For now the only way to use Instabars is download/clone the project and copy the directory "InstaBars" in your peoject(I will add this project to cocoapods as soon as I will get time for the same) + +# How to use + - Instabars os very simple to use. + - Simply add any UIView, and change its class type to "InstaBars" + +# Customisation +- You can do any type of customisation(such as color, corners, shadows, etc) which you normally do with any other UIView. + +# Limitation +- For now, You cannot change the number of bars appearing in this control. +- Even if you will change the size of control the bars will appear at the static position \ No newline at end of file