Currently, PLATFORM(IOS) and OS(IOS) are true when building for any TARGET_OS_IPHONE target, which is quite confusing. Add a better named alternative, as a first step towards mass replacing PLATFORM(IOS). Can't so it all at once because of dependencies in other source repositories.
Created attachment 352068 [details] proposed patch
Earlier suggestion was PLATFORM(COCOA_TOUCH). Technically that does include all UIKitty platforms even if they don't have touch proper.
Do you like that earlier suggestion more? I do not.
Comment on attachment 352068 [details] proposed patch I'd like to hear more r+ of the name first, but the approach is fine
Of the names proposed so far, I prefer the one in the patch.
Committed http://trac.webkit.org/r237069
<rdar://problem/45228899>