Skip to content

Commit b14f863

Browse files
committed
Merge branch 'master' of https://github.com/daiweilai/DDClock
2 parents b45019d + deacb2f commit b14f863

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A super simple and beautiful and high-efficiency clock widget. Drawing views usi
44

55
Demo Snapshot
66
-----------------------------------
7-
![github](https://github.com/daiweilai/DDClock/blob/master/DDClock.gif "github")
7+
![github](https://github.com/daiweilai/DDClock/blob/master/DDClock2.gif "github")
88

99
Setup
1010
-----------------------------------
@@ -15,13 +15,15 @@ Setup
1515
Using
1616
-----------------------------------
1717
it's quite simple
18-
*You can use the themes to create DDClock
18+
* You can use the themes to create DDClock
19+
1920
DDClock *clock = [[DDClock alloc] initWithTheme:DDClockThemeDefault frame:CGRectMake(30, 60, 250, 250)];
2021
[self.view addSubview:clock];
2122

22-
*Or you can create DDClock via custom made
23+
* Or you can create DDClock via custom made
24+
25+
//let your controller implement DDClockDelegate
2326
DDClock *clock = [[DDClock alloc] initWithDelegate:self frame:CGRectMake(100, 860, 120, 150)];
24-
clock1.delegate = self;
2527
[self.view addSubview:clock];
2628
2729
//Then implement the delegate methods!!
@@ -35,10 +37,10 @@ it's quite simple
3537

3638
Note
3739
-----------------------------------
38-
The size of DDClick can be modified in Construction method
39-
DDClick can only be created into a square ,
40-
So DDClock will force your size if you put the paras width which not equal the height
41-
There is unwise way to update hourAndMinuteHand you shuld modify it
40+
* The size of DDClick can be modified in Construction method
41+
* DDClick can only be created into a square ,
42+
* So DDClock will force your size if you put the paras width which not equal the height
43+
* There is unwise way to update hourAndMinuteHand you shuld modify it
4244

4345
Created By
4446
------------

0 commit comments

Comments
 (0)