TabBarController +核心数据xcode 4.2 上的 XML 钻取表
好吧,我必须以这种方式提供我的应用程序:
TabBarController
|
|--- 1) 使用 coreData 来自 xml 的 TableView --- 1.1) 2 个选择后的详细视图
|
|--- 2)TableView(相同的xml)使用coreData(但使用其他标签)--- 2.1)2个选择后的DetailView
|
|--- 3)MapView 与谷歌地图等。
对于3)我没有问题,它有效。
我的问题与第1)点和第2)点有关。
我遵循了这个指南: http://blog.sallarp.com /iphone-core-data-uitableview-drill-down/ 其中解释了如何从 xml 文件创建向下钻取表。
我的 xml 与文件中的 xml 具有相似的结构,并且我需要一个以相同方式工作的表视图。
但现在在 xcode 4.2 中我想使用故事板,但在使代码适应故事板方面遇到了一些问题,因为窗口是以另一种方式加载的,而且我在使用 appdelegate 时也遇到了一些问题,因为我有一些错误在应用程序运行期间。
我的问题是: 1)我如何管理示例中的类和代码以获得如此复杂的应用程序方案? 2)我是否必须为每个解析器声明单独的委托?
有什么建议吗?
Well, i have to feed my application in this way:
TabBarController
|
|--- 1)TableView from xml using coreData --- 1.1)Detail View aftehr 2 choices
|
|--- 2)TableView (same xml) using coreData (but using other tags) --- 2.1)DetailView after 2 choice
|
|--- 3)MapView with google maps etcetc.
for the 3) i have no problem, it works.
My question is related to the point 1) and 2).
I've followed this guide: http://blog.sallarp.com/iphone-core-data-uitableview-drill-down/
which explain how to create a drill down table from a xml file.
my xml has a similar structure with the xml in the file, and i need a table view who works in the same way.
But now in xcode 4.2 i want to use the storyboard but i've got some problem to adapt the code to the storyboard because the window is loaded in another way, and also i have some problem to use the appdelegate, because I have some error during the run of the application.
My question are:
1) How can i manage the classes and the code from the example to obtain a such complex app scheme?
2)Do I have to declare separates delegates for each parser?
Any suggestion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议首先:
一旦您掌握了基本流程/理解,迁移代码可能会变得更加清晰。
I'd suggest first:
Once you've got that basic flow/understanding, migrating your code might become clearer.