I am trying to determine what is the best practice for sending data from a UISplitViews Master to it's Detail. I want to try to avoid importing headers and make the code as reusable as possible. I feel like there should be a really good way of doing this, but the best I can think of is to declare a protocol, but sometimes protocols can get a bit messy IMHO. and talking to the detail by using
[self setDelegate:id<myProtocol>)self.splitViewController.viewControllers objectAtIndex:1]];
Seems kind of flaky
Any Ideas?