[英]DetailView not open when parsing
Downloaded here so cute parser , and decided to move to a newer platform, suffered like everything, but now does not work Detail. 在这里下载了如此可爱的解析器 ,并决定迁移到较新的平台,遭受了一切困扰,但现在无法正常工作。 That would not be unfounded here is my project .
这不是我的项目 。 Ie tell me how can I do so that would be when you click on the news, it was revealed a detailed description?
即告诉我,当您单击新闻时,会得到详细描述,该怎么办? I understand the case in a "connection" that in the old project there is a bunch of view - file's owner, in a new project, I was not able to think through how its done only reason for this?
我了解“连接”中的情况,即在旧项目中有很多视图-文件的所有者,在新项目中,我无法思考其完成的唯一原因?
You may display your parsed data into a dynamic table view once the whole data are parsed using the - (void)feedParserDidFinish:(MWFeedParser *)parser
method (you can add data progressively but the easiest way is waiting the end of the parsing). 一旦使用
- (void)feedParserDidFinish:(MWFeedParser *)parser
方法解析了整个数据,就可以将解析后的数据显示到动态表视图中(可以逐步添加数据,但最简单的方法是等待解析结束)。
Then catch the didSelectItemAtIndexPath:
method enclosed into UITableViewDelegate, and perform a segue toward your detail view, passing the selected item as parameter to your detail view controller. 然后捕获UITableViewDelegate中随附的
didSelectItemAtIndexPath:
方法,并针对详细视图执行segue,将所选项目作为参数传递给详细视图控制器。
需要使用按钮而不是模态点显示来更改类型的Segway,并将其添加到UINavigationController故事板的顶部
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.