From 30762cd87a51a96dbf290201ad0989626047e72c Mon Sep 17 00:00:00 2001 From: Boris-Em Date: Sat, 14 Jun 2014 16:40:01 -0700 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a04de74..fa19ce9 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,18 @@ And here is the result of the above example. The 30th graduation of the clock is You can use the BOOL property `enableGraduations` to activate or deactivate the graduations on the clock. If it is set to YES the graduations will be visible, if set to NO, they won't (default value is YES). +#### Displaying digits on the clock's face +

+BEMAnalogClock gives you the option to display 12 digits on the clock's face. To do so, simply set the property `enableDigit` to YES. + + self.myClock.enableDigit = YES; + +Three properties are here to customize this feature: `digitColor`, `digitFont` and `digitOffset`. + + self.myClock.digitColor = [UIColor whiteColor]; // The color of the digits displayed on the clock. + self.myClock.digitFont = [UIFont fontWithName:@"HelveticaNeue-Thin" size:17]; // The font of the digits displayed on the clock. + self.myClock.digitOffset = 10; // The offset for the position of the digits from the center of the clock. + ### Status reporting When the clock starts or completes loading it will call a delegate method. When it begins reloading the `clockDidBeginLoading:` method is called. When loading is finished, the `clockDidFinishLoading:` method is called (please note that as of now, the animation is not complete when this delegate method is called).