SkillAgentSearch skills...

NavigationControllerBlurTransition

[DEPRECATED] A UINavigationController transition that utilizes a blur view for a simple interface.

Install / Use

/learn @prolificinteractive/NavigationControllerBlurTransition
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

[DEPRECATED] NavigationControllerBlurTransition

Version License Platform

alt tag

⚠️ This repository is no longer maintained or supported. New pull requests will not be reviewed. ⚠️

NavigationControllerBlurTransition is a simple blur transition for your UINavigationController. With only one line of code, create a visually appealing interface for your app!

Requirements

NavigationControllerBlurTransition utilizes UIVisualEffectView to provide its blur effect as well as dynamic frameworks (since the library is written in Swift); as such, it requires:

  • iOS8+
  • Xcode 7.0

Installation

Add the following to your podfile:

pod "NavigationControllerBlurTransition"

Usage

To use this transition, simply set your root view controller as the delegate for your UINavigationController, and implement the following UINavigationControllerDelegate delegate method as such:


func navigationController(navigationController: UINavigationController,
    animationControllerForOperation operation: UINavigationControllerOperation,
    fromViewController fromVC: UIViewController,
    toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning?
{
    return self.navigationController?.blurAnimationControllerForOperation(operation)
}

That's it! Now your view controller will push / pop its view controllers over a blurred representation of the initial view controller.

Author

Christopher Jones, c.jones@prolificinteractive.com

License

NavigationControllerBlurTransition is available under the MIT license. See the LICENSE file for more info.

Related Skills

View on GitHub
GitHub Stars35
CategoryDevelopment
Updated2y ago
Forks4

Languages

Swift

Security Score

75/100

Audited on Aug 8, 2023

No findings