Skip to content

Commit 2b53309

Browse files
committed
Update README.md
1 parent b115b05 commit 2b53309

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ You can add this code in to your App in just two short steps:
1414
1. Drag DRKonamiGestureRecognizer.h and DRKonamiGestureRecognizer.m into your project
1515
2. Add the gesture recognizer to one of your app's UIViews using the following code.
1616

17-
TIP 1: Practice actually doing the konami gesture with the sample app. Some people have a hard time figuring out who to actually get it going.
18-
TIP 2: DRKonamiGestureRecognizer.m has NSLog() statements disabled by default. You can enable them at the top of the file.
19-
2017
```objective-c
2118
- (void)addKonami
2219
{
@@ -31,8 +28,17 @@ TIP 2: DRKonamiGestureRecognizer.m has NSLog() statements disabled by default. Y
3128

3229
```
3330

34-
NOTE: If you are using arc then you have to disable ARC for DRKonamiGestureRecognizer.m. In Xcode4 go to your project file, then "Build Phases" then "Compile Sources" then add the compiler flag "-fno-objc-arc" to DRKonamiCodeGestureRecognizer.m.
31+
### Are you using ARC? ###
32+
33+
If you are using ARC then there is a 3rd step. You need to to disable ARC for DRKonamiGestureRecognizer.m in your own project. In Xcode4 go to your project file, then "Build Phases" then "Compile Sources" then add the compiler flag "-fno-objc-arc" to DRKonamiCodeGestureRecognizer.m.
34+
35+
![](http://grab.by/jnLA)
36+
37+
38+
### TIPS ###
3539

40+
* TIP 1: NSLog() statements are disabled inside of DRKonamiGestureRecognizer.m. You can enable them at the top of the file and then the console will print the konami state.
41+
* TIP 2: Practice actually doing the konami gesture with the sample app. Some people have a hard time figuring out who to actually get it going.
3642

3743
### B+A+Unlock (OPTIONAL) ###
3844

0 commit comments

Comments
 (0)