How to create a UITableView with editable components?

Deadly 提交于 2019-12-04 04:49: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 static ip address, etc.

How to do this ?

Thanks


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/2295197/how-to-create-a-uitableview-with-editable-components

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!