Is there any advantage on separating iPhone and iPad classes on a Universal app?
问题 I have a Universal (for both iPhone and iPad) application. Are there any advantages on separating the iPad from the iPhone classes in the folder structure? Here is an example of what I mean: - MyApp - Resources - Classes - iPad - SomeUniqueClassOnIPad.h - SomeUniqueClassOnIPad.m - iPhone - SomeUniqueClassOnIPhone.h - SomeUniqueClassOnIPhone.m - SomeUniversalClass.h - SomeUniversalClass.m Is that common in objective-c projects? 回答1: One of the rules within coding is never to have duplicate