Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:48:16+00:00 2026-06-10T20:48:16+00:00

I’m trying to animate a UITableView and running into difficulties. I have loaded the

  • 0

I’m trying to animate a UITableView and running into difficulties. I have loaded the table using custom cells, and I need to get that table’s elements again, and move the content of that row downwards in an animation.

While I perform this, I can get only the entire table from the UIView. Actually I want to get the custom table cell content from the table and perform the animation on that.

I’m struggling with:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{   
    UILabel *temp=[[UILabel alloc]init];
    temp.text=nil;

    UIView *anim = nil;
    id currentObject;
    for (UIView *theview in destination.superview.subviews) 
    {

        if ([theview isKindOfClass:[UITableView class]]) 
        {
            NSLog(@"%@",theview);
            UIView *vi= theview;//(UITableView *)[UITableView class];
            NSLog(@"%@",vi);
            for(UIView *vi1 in vi.superview.subviews )
            {
                if ([vi1 isKindOfClass:[UITableViewCell class]])
                {
                    NSLog(@"%@",vi1);
                }

            anim = theview;
            break;
        }
    }
}

How do I get the data from that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:48:17+00:00Added an answer on June 10, 2026 at 8:48 pm

    now i am just created the custom UILable and assigned my cell text to it and then animated that….
    here is the code…

    in the table viewDidSelect method i coded this….

    NSArray *visibleCells = [tableView visibleCells];
    
        NSLog(@"the count %d",[visibleCells count]);
        //UITableViewCell *aCell=[tableView cellForRowAtIndexPath:indexPath];
        UITableViewCell *visiblecell=[tableView cellForRowAtIndexPath:indexPath];
        NSLog(@"the count %@",aCell);
        NSLog(@"The visible cell ::%@",visiblecell);
        int i=0;
        for (UITableViewCell *theCell in visibleCells)
        {
            if ([theCell isEqual:visiblecell])
            {
                selectedView.frame =CGRectMake( 0,i*(480/[visibleCells count]),320,50);
                break;
            }
            i++;
        }
    
    
        anim=selectedView;
    
        if (!anim)
            return;
        [self pathGenerate:anim];
    

    and i having the separate animate function just i called that…

    - (void)pathGenerate:(UIView *)anim
    {
    
        // [self.tabBarController.tabBar insertSubview:(UIImageView*)[UIImage imageNamed:@"Coffee_smoke.png"] atIndex:0];
        self.tabBarItem.image=nil;
    
        UIBezierPath *movePath = [UIBezierPath bezierPath];
        [movePath moveToPoint:anim.center];//-->down---->destinationPoint.center
        [movePath addQuadCurveToPoint:CGPointMake(170, 420) 
                         controlPoint:CGPointMake(200,10)];/* // 2nd phase //destinationPoint.center.x+200, destinationPoint.center.y-100)];*/
    
        CAKeyframeAnimation *moveAnim = [CAKeyframeAnimation animationWithKeyPath:@"position"];
        moveAnim.path = movePath.CGPath;
        moveAnim.removedOnCompletion = YES;
    
        CABasicAnimation *scaleAnim = [CABasicAnimation animationWithKeyPath:@"transform"];
        scaleAnim.fromValue = [NSValue valueWithCATransform3D:CATransform3DIdentity];
        scaleAnim.toValue = [NSValue valueWithCATransform3D:CATransform3DMakeScale(0.1, 0.1, 1.0)];
        scaleAnim.removedOnCompletion = YES;
    
        CABasicAnimation *opacityAnim = [CABasicAnimation animationWithKeyPath:@"alpha"];
        opacityAnim.fromValue = [NSNumber numberWithFloat:1.0];
        opacityAnim.toValue = [NSNumber numberWithFloat:0.1];
        opacityAnim.removedOnCompletion = YES;
    
        CAAnimationGroup *animGroup = [CAAnimationGroup animation];
        animGroup.animations = [NSArray arrayWithObjects:moveAnim, scaleAnim, opacityAnim, nil];
        animGroup.duration = 0.5;
        [anim.layer addAnimation:animGroup forKey:nil];
    
    
        // self.tabBarItem.image=[UIImage imageNamed:@"Coffee_smoke.png"];
    
    
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I have thousands of HTML files to process using Groovy/Java and I need to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am currently running into a problem where an element is coming back from
I am trying to loop through a bunch of documents I have to put
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.