Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-06-2012, 04:57 AM   #1 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 129
jordanmeir is on a distinguished road
Default Subview with a book flip style

how can i change sub view with a book style animation?
jordanmeir is offline   Reply With Quote
Old 05-17-2012, 05:00 AM   #2 (permalink)
New User
 
Join Date: May 2012
Posts: 1
lemonneoo is an unknown quantity at this point
Default book style animation

It's easy! Just convert the subview to book style animation with the flip book creator, you can view it in book flip effect then.
lemonneoo is offline   Reply With Quote
Old 05-20-2012, 11:27 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2011
Age: 22
Posts: 41
erika_wilson is on a distinguished road
Default

Quote:
Originally Posted by jordanmeir View Post
how can i change sub view with a book style animation?

- (void)doCurlFromRightNSNumber *)mode
{
// mode is YES for page animation from right side towards left side
// mode is NO for page animation from left side towards right size
BOOL mode_ = [mode boolValue];
NSString * animationName = mode_ ? @"CurlUpAnimation" : @"CurlDownAnimation";
UIViewAnimationTransition transition = mode_ ? UIViewAnimationTransitionCurlUp : UIViewAnimationTransitionCurlDown;

[UIView beginAnimations:animationName context:UIGraphicsGetCurrentContext()];
[UIView setAnimationTransition:transition forView:self.view cache:YES]; // animate the container view
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:kCurlDelay];

// do your other stuff here

[UIView commitAnimations];
}


P.S.- replace with : & ( [together]
erika_wilson is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 385
8 members and 377 guests
apatsufas, comicool, dansparrow, husthlj, LunarMoon, mer10, Murphy, pbart
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,677
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, husthlj
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:05 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0