I need to create an animation inside an app, that looks like the moleskines in the app
Paper by fiftythree, I am using the iCarousel pod but I need to create an animation that looks like you are turning the page, do you have any ideas, examples or documentation that helps me to do it?
I recommend Mark Pospesel's MPTransition.
https://github.com/mpospese/MPFoldTransition
It's very difficult to write your own page-turn animation. One possible approach is to use a UIPageViewController, which does this for you.
Related
There is way to remove separators between actions in UIAlert (actionSheet style)?
It's not possible to do it with the system-provided UIAlertView.
However, have a look at this Swift-written repo. It may help you creating a custom alert.
Sorry, but no:(
You can easily create your own following this or this tutorials.
I'm sure it will be useful experience for you!
Good luck!
EDIT: updated the links.
Don't add UIAlertAction, then there will be no separator. You can add button programmatically by adding subview.
I have been searching a lot about coding the view transition animation. But I am most interested on the book page flipping animation on the iBooks. May I know is there any available sources for that which is written in swift?
Many Thanks
This is done with the UIPageViewController class. See here:
http://www.techotopia.com/index.php/An_Example_Swift_iOS_8_UIPageViewController_Application
Please look in this turorial.
http://www.appcoda.com/uipageviewcontroller-storyboard-tutorial/
For the page turn effect you need to go in Interface Builder and select page curl for your UIPageViewController.
I have a 2 UIViewController(s), I need to be able to change the views at the bottom of the Airtime and Data Plan Upon tap gesture on Airtime and Data Plan!
The yellow line will indicate the active view controller. some thing like tab bar.
Perhaps, the image attached is an android version
Could anyone provide a help on how to go about this.
Thanks
I personally use a library called ICVIewPager
https://github.com/iltercengiz/ICViewPager
This is pretty simple and easy to use with examples. It should put you in the right direction without writing a lot of code.
I want to implement a signature feature in my tabbar application. I want to add a subView to a UIScrollView or UIViewController (which ever is the more appropriate and easier). Which control should I use for it?
I want to pick the touch events on the signature view and draw on those points to get the signature. Any help would be highly appreciated.
You can use just a UIView for drawing points get touched. I needed to implement something like that and the following page was really helpful. It explains all with code. You may want to check it out.
http://www.effectiveui.com/blog/2011/12/02/how-to-build-a-simple-painting-app-for-ios/
First thing you need to read is this - http://developer.apple.com
and check this apple demo - GLPaint
after that you may check this - tutorial
I currently need to create a custom scroll view without using UIKit's scrollview in cocos2d.
The best way, I think, is to create a separate layer and then add all my sprites to that layer. But I'm not sure how to receive touch events for all of the sprites. Is there a best way to do this? Thanks!
Have you seen CCScrollLayer? It might not be suitable for you but maybe you can copy the way that it is picking up touches.
https://github.com/cocos2d/cocos2d-iphone-extensions/tree/develop/Extensions/CCScrollLayer
http://www.cocos2d-iphone.org/forum/topic/17118
There's another one here as well, not sure if it's a fork or an independent one:
https://github.com/jerrodputman/CCKit
But I didn't have much success with any of these. The bounce and other parts of the experience never feel right, so I go back to using UIScrollView to handle the touches.
I've been facing the same issue and I found the SWScrollView here:
https://github.com/saim80/Cocos2D-Extensions
met my needs better than CCScrollView. It acts more like the UIScrollView where as CCScrollView is more for paging from what I've seen.
There is a nice framework called CMMSimpleFramework.
http://www.cocos2d-iphone.org/forum/topic/39018
http://www.cocos2d-iphone.org/forum/topic/60354
There are some sample videos, and the link to the repo is on those pages.
One of the classes is a scrolling layer that might do what you need.
To get the sample project to run, I had to comment out some game center authentication handler code that has changed, but after I did that the demo worked fine.