开发者

How to create a UITableView with editable components?

开发者 https://www.devze.com 2022-12-21 02:52 出处:网络
I was wondering how to create a UITableView with editable components. If you look at the network settings in the iphone, where you can enter the s开发者_如何转开发tatic ip address, etc.

I was wondering how to create a UITableView with editable components.

If you look at the network settings in the iphone, where you can enter the s开发者_如何转开发tatic ip address, etc.

How to do this ?

Thanks


http://furbo.org/2009/04/30/matt-gallagher-deserves-a-medal/

Check out that blog post. There's a link to some code named Generic Tables that will give you exactly what you need.

You may have to update some of the code to be 3.0 compatible, but that's just a case of updating the table cell init methods to use style instead of frame.


TaggedLocations project is a very good example of a UITableView with editable components.

You can see this example in Sample code library of Apple iOS: http://developer.apple.com/library/ios/#samplecode/TaggedLocations/Introduction/Intro.html

Regards

0

精彩评论

暂无评论...
验证码 换一张
取 消