Skip to content

Commit

Permalink
Changes readme's #ifdef example to correct #if. Refs #29.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Adam Hankiewicz committed Oct 8, 2011
1 parent e7a6055 commit 3a6d50f
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 @@ -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.

Expand Down Expand Up @@ -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.