Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
will-tm committed Oct 25, 2015
1 parent 3e50c2c commit 7e5e170
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,16 @@ You can customize the following properties of `WMGaugeView`:
@property (nonatomic, readwrite, assign) bool showUnitOfMeasurement;
```

Drawing is handled by style protocols in order to provide easy customization of background and needle.
Drawing is handled by style protocols in order to provide easy customization of background and needle :
``` objective-c
@protocol WMGaugeViewStyle <NSObject>
@required
- (void)drawNeedleOnLayer:(CALayer*)layer inRect:(CGRect)rect;
- (void)drawFaceWithContext:(CGContextRef)context inRect:(CGRect)rect;
- (BOOL)needleLayer:(CALayer*)layer willMoveAnimated:(BOOL)animated duration:(NSTimeInterval)duration animation:(CAKeyframeAnimation*)animation;

@end
```
## Authors
Expand Down

0 comments on commit 7e5e170

Please sign in to comment.