• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone] Animate tableView reloadData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Animate tableView reloadData


  • Subject: Re: [iPhone] Animate tableView reloadData
  • From: Philip Vallone <email@hidden>
  • Date: Sat, 12 Dec 2009 05:34:19 -0500

Thanks Luck for the guidance.

Phil

On Dec 11, 2009, at 9:49 AM, Luke the Hiesterman wrote:

> There's a set of methods in UITableView for animated table updates. All the insert/delete/road calls should be within a beginUpdates/endUpdates block.
>
> - (void)beginUpdates;   // allow multiple insert/delete of rows and sections to be animated simultaneously. Nestable
> - (void)endUpdates;     // only call insert/delete/reload calls inside an update block.  otherwise things like row count, etc. may be invalid.
>
> - (void)insertSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation;
> - (void)deleteSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation;
> - (void)reloadSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);
>
> - (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation;
> - (void)deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation;
> - (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);
>
> Luke
>
> On Dec 11, 2009, at 3:53 AM, Philip Vallone wrote:
>
>>
>> Hi List,
>>
>> I have a table that gets reloaded when a user presses a button. Is it possible to animate reloadData and if so can you point me in the right direction?
>>
>> Thanks
>>
>> Phil
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> 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:
>>
>> This email sent to email@hidden
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >[iPhone] Animate tableView reloadData (From: Philip Vallone <email@hidden>)
 >Re: [iPhone] Animate tableView reloadData (From: Luke the Hiesterman <email@hidden>)

  • Prev by Date: Re: Detaching a thread to save a file?
  • Next by Date: Re: Additional action when a view's value changes (Cocoa Bindings)
  • Previous by thread: Re: [iPhone] Animate tableView reloadData
  • Next by thread: Outing the poseAsClass: poseur
  • Index(es):
    • Date
    • Thread