Skip to content

Sample Swift project and animated GIFs to demonstrate the various CATransition animations availible on iOS

Notifications You must be signed in to change notification settings

jakechasan/CATransition-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#CATransition Demonstration

##Demonstrations

##Types (type of animation) Although there are many CATransition Types, developers should only use the public ones, as using a private API in your app may lead it it being rejected from the App Store.

  • cube
  • fade
  • moveIn
  • oglFlip
  • pageCurl
  • pageUnCurl
  • push
  • reveal
  • rippleEffect
  • suckEffect

##Subtypes (direction of animation) Not all types have a direction. As one can see from the above demonstrations, subtype directions make no changes to the transitions such as "fade."

  • fromLeft
  • fromRight
  • fromTop
  • fromBottom

##How to use CATransition You can either enter the types as constants, or use the String values that I have listed above.

About

Sample Swift project and animated GIFs to demonstrate the various CATransition animations availible on iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages