From 3a6d50ff52d0c00ab421ac9974085fbcbda4f9aa Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Hankiewicz Date: Sat, 8 Oct 2011 22:14:42 +0200 Subject: [PATCH] Changes readme's #ifdef example to correct #if. Refs #29. --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index cddf145..32dae15 100644 --- a/readme.md +++ b/readme.md @@ -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. \ No newline at end of file +If you have any feature requests/bugfixes etc. feel free to help out and send a pull request, or create a new issue.