fitomad / iOS-Bubble-Transition

Transition between controllers coding in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS Bubble Transition

Transition between controllers coding in Swift. The transition starts at... better take a look below.

Bubble Transition

Code

You only need two files:

  • BubbleTransition.swift
  • TransitionMode.swift

Example

Here It is BubbleTransition in action

let bubble: BubbleTransition = BubbleTransition()

bubble.startingPoint = someButtonYouTap.center
bubble.transitionMode = TransitionMode.Present
// The background color for bubble.
// If not define the transition takes the 
// presented controller background color
bubble.bubbleColor = UIColor.blueColor()

Contact

Questions? You can find me on twitter @fitomad

About

Transition between controllers coding in Swift

License:MIT License


Languages

Language:Swift 100.0%