title: How to use define macros iOS
body: <p>I need to make a define but if I use iPad or iPhone I need different values in this case.</p>
  
  <p>So, as I think it should looks like this:</p>
  
  <pre><code>#ifdef UI_USER_INTERFACE_IDIOM == iPAD
  #define ROWCOUNT 12
  #else
  #define ROWCOUNT 5
  #endif
  </code></pre>
  
  <p>Is there some solution to get it?</p>