Skip to content

Commit

Permalink
added readme and removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav Gautam committed Jul 31, 2016
1 parent 2a7e690 commit 8feaab1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
Binary file not shown.
13 changes: 7 additions & 6 deletions AnimationBars/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<scenes>
Expand Down Expand Up @@ -89,17 +90,17 @@
<exclude reference="tPd-aG-A09"/>
</mask>
<mask key="constraints">
<exclude reference="bb0-oi-3sk"/>
<exclude reference="0wq-Tp-6Vh"/>
<exclude reference="3Lc-gR-vO7"/>
<exclude reference="ZEH-jI-D6H"/>
<exclude reference="VGr-5D-kFV"/>
<exclude reference="joW-82-Dxv"/>
<exclude reference="tIg-2r-dmB"/>
<exclude reference="I4r-wi-cgu"/>
<exclude reference="kmm-uI-0mq"/>
<exclude reference="6zK-ia-uad"/>
<exclude reference="AOn-t8-4Z6"/>
<exclude reference="bb0-oi-3sk"/>
<exclude reference="I4r-wi-cgu"/>
<exclude reference="kmm-uI-0mq"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=compact">
Expand All @@ -110,17 +111,17 @@
<include reference="tPd-aG-A09"/>
</mask>
<mask key="constraints">
<include reference="bb0-oi-3sk"/>
<include reference="0wq-Tp-6Vh"/>
<include reference="3Lc-gR-vO7"/>
<include reference="ZEH-jI-D6H"/>
<include reference="VGr-5D-kFV"/>
<include reference="joW-82-Dxv"/>
<include reference="tIg-2r-dmB"/>
<include reference="I4r-wi-cgu"/>
<include reference="kmm-uI-0mq"/>
<include reference="6zK-ia-uad"/>
<include reference="AOn-t8-4Z6"/>
<include reference="bb0-oi-3sk"/>
<include reference="I4r-wi-cgu"/>
<include reference="kmm-uI-0mq"/>
</mask>
</variation>
</view>
Expand Down
8 changes: 0 additions & 8 deletions AnimationBars/InstaBars/InstaBars.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8feaab1

Please sign in to comment.