如何使用XCode和4故事板填充带有plist内容的TableView [英] How to populate a TableView with plist content using XCode and 4 storyboard

查看:83
本文介绍了如何使用XCode和4故事板填充带有plist内容的TableView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难弄清楚如何使一个由x个单元格组成的TableView成为对象,这是一项非常基本的技术.就我而言,我想展示有关不同红酒的图像和信息.下面答案中的教程使整个过程变得非常容易,创建了一个包含字典数组的属性列表来填充原型单元.

I had some trouble to figure out how to make a TableView populated with x cells reprecenting objects, a very basic technique. In my case I wanted to display images and information about different red wines. The tutorial in the answer below made the whole thing very easy, creating a propery list with an array of dictionaries to populate the prototype cell.

推荐答案

我猜想这个土钉会回答您很多问题: http://www.raywenderlich.com/5138/beginning -storyboards-in-ios-5-part-1

i guess that this tuturail will answer a lot of your questions: http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1

这篇关于如何使用XCode和4故事板填充带有plist内容的TableView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆