Splitview with multiple detail views using storyboarding. Seen an example/tutorial?

六眼飞鱼酱① 提交于 2019-11-28 02:01:50

问题


I'm trying to track down an example like Apple's MultipleDetailViews sample for UISplitViewController, but using storyboards. Their sample code provides functionality similar to what I'm after, I'm just having trouble getting it to work in my app that uses storyboards. It's driving me nuts!

Anyone seen an example/tutorial?

This is Apple's non storyboard version: http://developer.apple.com/library/ios/#samplecode/MultipleDetailViews/Introduction/Intro.html


回答1:


Try to read this article:
Science At Hand - Adventures in UISplitViewController

I found it very interesting.

Update: Link is dead, here is link from archive.org




回答2:


Although this is an old thread, I've created a Storyboard and ARC-enabled version of Apple's MultipleDetailViews sample code, as per the OP's original request: public git repo




回答3:


I was searching for something similar for Swift, but didn't find anything. After trying a few times and reading some blog posts and documentation, I could do it myself. Here is my Blog Post with the explanation and here is complete working code. Also this is Universal project which uses Adaptive segues and works well for both iPhone and iPad.



来源:https://stackoverflow.com/questions/7993168/splitview-with-multiple-detail-views-using-storyboarding-seen-an-example-tutori

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!