Permalink
Browse files

Changes readme's #ifdef example to correct #if. Refs #29.

  • Loading branch information...
1 parent e7a6055 commit 3a6d50ff52d0c00ab421ac9974085fbcbda4f9aa Grzegorz Adam Hankiewicz committed Oct 8, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 readme.md
View
@@ -38,11 +38,11 @@ Add the `DCIntrospect` class files to your project, add the QuartzCore framework
[window makeKeyAndDisplay]
// always call after makeKeyAndDisplay.
- #ifdef TARGET_IPHONE_SIMULATOR
+ #if TARGET_IPHONE_SIMULATOR
[[DCIntrospect sharedIntrospector] start];
#endif
-The `#ifdef` to target the simulator is not required but is a good idea to further prevent leaving it on in production code.
+The `#if` to target the simulator is not required but is a good idea to further prevent leaving it on in production code.
Once setup, simply push the space bar to invoke the introspect or then start clicking on views to get info. You can also tap and drag around the interface.
@@ -98,4 +98,4 @@ Made available under the MIT License.
Collaboration
-------------
-If you have any feature requests/bugfixes etc. feel free to help out and send a pull request, or create a new issue.
+If you have any feature requests/bugfixes etc. feel free to help out and send a pull request, or create a new issue.

0 comments on commit 3a6d50f

Please sign in to comment.