Skip to content

Commit

Permalink
Updated Read Me with syntax highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
taruntyagi697 committed Aug 2, 2014
1 parent 3b79914 commit 7ce6e1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Binary file not shown.
11 changes: 7 additions & 4 deletions README.md
Expand Up @@ -11,17 +11,20 @@

## Installation
* Want a Pod for this, just add following line to your podfile-
```
pod 'RateView' '~>1.1'
pod 'RateView' '~>1.1'

```
* You can directly copy the source files from RateView folder.

## How To Use

Configuring RateView is as simple as :
```objective-c
RateView* rv = [RateView rateViewWithRating:3.7f];
[self.view addSubview:rv];

RateView* rv = [RateView rateViewWithRating:3.7f];
[self.view addSubview:rv];
```
RateView takes it over from here.
* It uses CoreGraphics Context to draw the Star shapes with transparent background and appropriately percent fills them by calculating the `rating`.
Expand Down

0 comments on commit 7ce6e1c

Please sign in to comment.