Op 24 sep. 2010 om 17:15 heeft Matt Neuburg <m...@tidbits.com> het volgende 
geschreven:

> On Fri, 24 Sep 2010 10:33:28 +0200, Remco Poelstra <re...@beryllium.net>
> said:
>> Hi,
>> 
>> I've a UITableView with UITableViewCell of style UITableViewStyleSubtitle.
>> The table shows devices that the app has found on the Wifi network. When
>> I click on a row I show a detailview of the device. This all works fine.
>> The device has some internal configuration settings that the user needs
>> to be able to change (like whether the device uses DHCP for its IP
>> address). In order to let the user change these settings I've added a
>> "settings" button to my UIToolbar. When the user taps the button I want
>> to show a button for each row which allows the user to enter the
>> configuration view. Much like the "Delete" button in the e-mail app.
>> I've found out that I can change the text of the default "Delete"
>> button, but how can I show that button without putting the UITableView
>> in edit mode and requiring the user to tap the delete circle (on the
>> left) first?
>> Or can I add such a button on the fly to all rows?
> 
> Sure, just use a custom table view cell and you can make each cell show
> anything you want. What I would do is always have the button be there, and
> just show or hide it when I provide the cell, according to some state
> variable. Call reload data to ask Cocoa to ask you to provide cells again.
> 

Hi,

Is there some precaution I've to take to make sure the buttons slide in nicely 
like they do in the mail app? I've currently no idea about coding animations 
and such.

Regards,

Remco Poelstra

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to