Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
Added hint to CKCircleMenuDelegate and fixed the name.
  • Loading branch information
JaNd3r committed Apr 22, 2016
1 parent 9130142 commit 6aee950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ tOptions[CIRCLE_MENU_BUTTON_BORDER_WIDTH] = 2.0
tOptions[CIRCLE_MENU_TAP_MODE] = true
tOptions[CIRCLE_MENU_LINE_MODE] = false
```
* Dispay the menu as follows
* Dispay the menu as follows (don't forget to add the `CKCircleMenuDelegate' as protocol).
```swift
self.circleMenuView = CKCircleMenuView(atOrigin: tOrigin, usingOptions: tOptions, withImageArray: self.circleMenuImageArray)
self.view.addSubview(self.circleMenuView!)
self.circleMenuView!.delegate = self
self.circleMenuView!.openMenu()
```
* Implement the methods of the `CircleMenuViewDelegate` protocol to react to menu events.
* Implement the methods of the `CKCircleMenuDelegate` protocol to react to menu events.
```swift
// MARK: Circle Menu View Delegate
// MARK: Circle Menu Delegate

func circleMenuActivatedButtonWithIndex(anIndex: Int32) {
// ...
Expand Down

0 comments on commit 6aee950

Please sign in to comment.