Latest 1.0
Homepage https://github.com/charsdavy/JCCNavigationController
License MIT
Platforms ios 8.0
Authors

A navigation bar integrated transition animation effect.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate JCCNavigationController into your Xcode project using CocoaPods, specify it to a target in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
  # your other pod
  # ...
  pod 'JCCNavigationController', '~> 1.0'
end

Then, run the following command:

$ pod install

You should open the {Project}.xcworkspace instead of the {Project}.xcodeproj after you installed anything from CocoaPods.

For more information about how to use CocoaPods, I suggest this tutorial.

Usage

AppDelegate

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    // Override point for customization after application launch.

    self.window = UIWindow.init(frame: UIScreen.main.bounds)
    let dashboardController = IHSDashboardController.init()
    self.window?.rootViewController = JCCNavigationController.init(rootViewController: self.dashboardController!)
    self.window?.makeKeyAndVisible()

    return true
}

UITableView

func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let detailViewController : IHSCookDetailViewController = IHSCookDetailViewController.init()
    self.jccNavigationController.pushViewController(viewController: detailViewController)

    tableView.deselectRow(at: indexPath, animated: true)
}

Screenshot

Screenshot

Latest podspec

{
    "name": "JCCNavigationController",
    "version": "1.0",
    "summary": "A navigation bar integrated transition animation effect.",
    "description": "With zoom interactive animation, A navigation bar integrated transition animation effect.",
    "homepage": "https://github.com/charsdavy/JCCNavigationController",
    "screenshots": "https://raw.githubusercontent.com/charsdavy/JCCNavigationController/master/Screenshot.gif",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "charsdavy": "[email protected]"
    },
    "social_media_url": "https://twitter.com/charsdavy",
    "swift_version": "4.0",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/charsdavy/JCCNavigationController.git",
        "tag": "1.0"
    },
    "source_files": "JCCNavigationController/*.swift"
}

Pin It on Pinterest

Share This