iOS Flip Transform

iOS Flip Transform

Released 6 years ago , Last update 6 years ago

Core animation framework for navigating data by flipping. Supports 3 interaction modes - triggered, auto and controlled, and 3 content types - blank, image or text.

Flag comment

  • Dillion Tan Developer 5 years ago
    Can someone post an example of how to make this work with just an image? I am having a hard time getting this to work. This is what I have:
    AnimationDelegate *animateDelegate = [[AnimationDelegate alloc]initWithSequenceType:kSequenceControlled directionType:kDirectionForward];

    CGRect rect = CGRectMake(20, 56, 280, 280);


    FlipView *flipView = [[FlipView alloc]initWithAnimationType:kAnimationFlipVertical frame:rect];
    animateDelegate.transformView = flipView;

    flipView.frame = rect;

    [self.view addSubview:flipView];
    animateDelegate.shadow = YES;



    UIImage *image = [UIImage imageWithData:imageData];

    [flipView printText:nil usingImage:image backgroundColor:nil textColor:nil];
    [animateDelegate startAnimation:kDirectionForward];

Are you sure you want to flag this comment?

You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.