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

  • SEARCH
  • Home
  • 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 9319679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T03:26:42+00:00 2026-06-19T03:26:42+00:00

I have a UITableView that can be ordered with filters. Instead of using a

  • 0

I have a UITableView that can be ordered with filters.
Instead of using a modal view i wanted to just make an animation of a view comming from the left of the screen and partially covering my tableView.

Here is an exemple of what i want my “filters view” to look like :

Without the filter :

Without the filter

With the filter :

With the filter

What could do the trick ?

  • 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-19T03:26:43+00:00Added an answer on June 19, 2026 at 3:26 am

    The proper way, with reusable code:

    add Animation category to UIView

    @interface UIView (MyAnimation)
    -(void)slideInWithDuration:(NSTimeInterval)duration;
    
    //implementation
    
    -(void)slideInWithDuration:(NSTimeInterval)duration
    {
        CGRect screenRect = [[UIScreen mainScreen] bounds];
        float nSpace = 0.0f //put any value you think right
        CGFloat extraOffset = self.view.frame.size.width / 2 + nSpace;
    
        CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"position"];
        animation.fromValue = [NSValue valueWithCGPoint:CGPointMake(screenRect.origin.x - extraOffset, self.view.center.y)];
        animation.toValue = [NSValue valueWithCGPoint:self.view.center];
        animation.duration = duration;
        animation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    
        [self.layer addAnimation:animation forKey:@"SlideInAnimation"];
    }
    

    in SomeWhereViewController.m

    UIWindow *mainWindow = [[UIApplication sharedApplication] keyWindow];
    UIView *someView = [[UIView alloc] init];
    someView.frame = // customize to your like
    [mainWindow addSubview:someView];
    
    [someView slideInWithDuration:0.7];
    

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I have that A-Z index bar in an UITableView also with UITableViewStyleGrouped, or
I have a UITableView that can be edited. I am displaying cells as such:
I have a UITableView that contains a UITextField in each cell. I can't seem
I have a UITableView with rows that each have two actions that can be
I have UITableView that contains many cell. User can expand cell to see more
I have a UITableView that I use to send an email using MFMailComposeViewController. It
So I have a view controller with a single UITableView that shows a string
I have a configuration UITableView that can launch a colour picker via a UINavigationController
I'm attempting to have a UITableView that I can dynamically add and remove rows
I have a UITableView that I just added to my project and the option

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.