Skip to content

Instantly share code, notes, and snippets.

@philographer
Created May 8, 2017 18:37
Show Gist options
  • Save philographer/ce86175a372be07bf2a834a8aa272bce to your computer and use it in GitHub Desktop.
Save philographer/ce86175a372be07bf2a834a8aa272bce to your computer and use it in GitHub Desktop.
IPhone Object-C Simulator Macro

IPhone Object-C Simulator Macro

#if TARGET_IPHONE_SIMULATOR
    // Simulator
#else
    // Device
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment