iOS - conditional compilation (xcode)
Posted
by
sol
on Stack Overflow
See other posts from Stack Overflow
or by sol
Published on 2011-01-03T02:28:38Z
Indexed on
2011/01/03
2:53 UTC
Read the original article
Hit count: 301
I have created an additional iPad target for what was originally an iphone app.
From the Apple docs: "In nearly all cases, you will want to define a new view controller class to manage the iPad version of your application interface, especially if that interface is at all different from your iPhone interface. You can use conditional compilation to coordinate the creation of the different view controllers."
But they don't give any example or detail on what conditional compilation is. Can anyone give an example? And where would I do this?
© Stack Overflow or respective owner