I have a special class that manages gestures and other things. It is strongly targeted towards iPhone. On the iPad, I need a 90% different behavior of that class, so I want to split MyController
into MyController_iPhone
and MyController_iPad
.
How would I alloc-init the appropriate class depending on if it's the iPad or iPhone?