根据选定的段索引读取 .plist 的不同部分
我创建了一个plist。我想使用包含 3 个部分的 UIsegmentedControl。每个部分都应将 plist 的不同部分加载到 tableView 中。我能否获得一些有关如何实现此目的的建议(将 plist 的不同部分加载到 tableView)?
请查看图片以获取更多信息。
谢谢
I've created a plist. I want to use a UIsegmentedControl with 3 sections. Each section should load a different part of the plist into a tableView. Can I please get some advise about how to achieve this(loading a different part of the plist into a tableView)?
Please take a look at the image for more info.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您读取数组中的三个项目。
切换控件时,您只需使用项目数组中的正确索引重新填充表格视图即可。
You read the three items in an array.
When switching the control you simply repopulate the tableview with the correct index from your items array.