Edit Cell Text in UITableView

In my app I have a set number of cells in a UITableView, 10, no more, no less, and the user can't change that.

However what I would like to have is so that if the user was to naturally in an iOS fashion, swipe a cell, or press an edit button, the cell text becomes editable with a simple tap on the cell bringing up a keyboard.

I was just wondering if there is a fairly simple method to do this, or take quite of custom building? What are you thoughts on how this could go together?

Thanks.

Answers


This should work if you just add a UITextField into the table cell's contentView I believe.


Need Your Help

OpenMP with parallel reduction in for loop

parallel-processing reduction openmp

I have a for-loop to iterate over a rather large amount of points (ca. 20000), for every point it is checked whether or not the point is inside some cylinder (that cylinder is the same for every po...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.