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 5849477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T13:00:20+00:00 2026-05-22T13:00:20+00:00

I’m studying Three20 now and want to implement facebook iphone client myself as a

  • 0

I’m studying Three20 now and want to implement facebook iphone client myself as a practice.
In the main screen of facebook iphone client, there are several items below search bar.I think it is a combination of scroll view and pagecontrol. when you click a long time on certain item, it will look like what you do the same on the app icon of your iphone:you can drag the item to the new position and even delete your added items.
So my questions are:

  1. What kind of control of the items is,custom TTButton? and how can implement the animation,especially the dragging?
  2. when you click one item, one new view comes in.how to implement the animation like shade?

thanks!

  • 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-05-22T13:00:21+00:00Added an answer on May 22, 2026 at 1:00 pm

    The Three20 class that implements the main screen you are talking about is TTLauncherView.

    1. It includes TTLauncherButtons as its internal elements, that derives directly from UIControl (as UIButton also does). If you want to implement yourself (not simply use) the dragging animation, you should study the source code available in src/Three20UI/Sources/TTLauncherView.m, which is quite complex to explain here since many method are involved. I would suggest starting with buttonTouchedDown:withEvent and startDraggingButton: and follow the flow from there. If you interested in the editing mode animation, check the wobble selector.

    2. As to the animation when you select a button, this is nothing specific to Three20. You can study how they do this in src/Three20UINavigator/Sources/TTBaseNavigationController.m, searching for pushViewController:animatedWithTransition;

    This is the code, for your reference:

    - (void)pushViewController: (UIViewController*)controller
        animatedWithTransition: (UIViewAnimationTransition)transition {
      [self pushViewController:controller animated:NO];
    
      [UIView beginAnimations:nil context:nil];
      [UIView setAnimationDuration:TT_FLIP_TRANSITION_DURATION];
      [UIView setAnimationDelegate:self];
      [UIView setAnimationDidStopSelector:@selector(pushAnimationDidStop)];
      [UIView setAnimationTransition:transition forView:self.view cache:YES];
      [UIView commitAnimations];
    } 
    

    the final block is the one responsible for the animation effect.

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

Sidebar

Related Questions

No related questions found

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.