Skip to content

Commit ce5b0d7

Browse files
committed
2 parents 8468e2a + 85953ee commit ce5b0d7

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ DCPatButton *centerButton = [[DCPathButton alloc]initWithCenterImage:[UIImage im
5555
```
5656
4.Create some item buttons and add them into the center button
5757
```objc
58-
DCPathItemButton *itemButton_1 = [[DCPathItemButton alloc]initWithImage:[UIImage imageNamed:@"image"]
58+
DCPathItemButton *itemButton_1 = [[DCPathItemButton alloc]initWithImage:[UIImage imageNamed:@"image"]
5959
highlightedImage:[UIImage imageNamed:@"highlightedImage"]
6060
backgroundImage:[UIImage imageNamed:@"backgroundImage"]
6161
backgroundHighlightedImage:[UIImage imageNamed:@"backgroundhighlightedImage"]];
@@ -88,8 +88,15 @@ You can add one item at least or five items at most. Assume we have five items,
8888

8989
`bloomRadius` is use to handle the item button bloom radius, default is `105.0f`;
9090

91-
Now there is only one public `property` in **DCPathButton**. :|
92-
If you want more DIY. Just open an [issue](https://github.com/Tangdixi/DCPathButton/issues), tell me what you want. :)
91+
```objc
92+
@property (assign, nonatomic) CGPoint dcButtonCenter;
93+
```
94+
95+
`dcButtonCenter` is use to modify the center button's position.
96+
In default the **DCPathButton** will be located in the center of a TabBar, assume that you use a *TabBarController*
97+
;
98+
99+
If you have any suggestions. Just open an [issue](https://github.com/Tangdixi/DCPathButton/issues), tell me what you want. :)
93100

94101
##Problems, bugs or advice
95102

0 commit comments

Comments
 (0)