From 471660af19876577523e9e49b1ee9bcd3b9c5a75 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Mon, 5 May 2014 10:17:52 -0700 Subject: [PATCH] Enable obj-c syntax highlighting --- readme.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 32dae15..417ffdd 100644 --- a/readme.md +++ b/readme.md @@ -35,12 +35,15 @@ Before you start make sure the `DEBUG` environment variable is set. DCIntrospec Add the `DCIntrospect` class files to your project, add the QuartzCore framework if needed. To start: - [window makeKeyAndDisplay] - - // always call after makeKeyAndDisplay. - #if TARGET_IPHONE_SIMULATOR - [[DCIntrospect sharedIntrospector] start]; - #endif + +```objc +[window makeKeyAndDisplay] + +// always call after makeKeyAndDisplay. +#if TARGET_IPHONE_SIMULATOR + [[DCIntrospect sharedIntrospector] start]; +#endif +``` The `#if` to target the simulator is not required but is a good idea to further prevent leaving it on in production code.