Latest 0.1.1
Homepage https://github.com/CMJunghoon/CMBarcodeBright
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Features

  • [x] BarcodeView Bright 100%
  • [x] Other View support user bright
  • [x] Control Center and Alert Control Support
  • [x] Home button Click Support

Installation

CMBarcodeBright is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CMBarcodeBright'

How to use

  • Appdelegate.swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    // set user Bright
    CMBarcodeBright.shard.initBright()
    return true

}

func applicationWillResignActive(_ application: UIApplication) {
    // Call Home Button Pressed.
    // Call Control Center
    // Call Alert Control
    CMBarcodeBright.shard.applicationWillResignActive(targetClass: BarcodeViewController.self)
}

func applicationWillEnterForeground(_ application: UIApplication) {
    // From Background to foreground( your App )
    CMBarcodeBright.shard.applicationWillEnterForeground(targetClass: BarcodeViewController.self)
/
}

func applicationDidBecomeActive(_ application: UIApplication) {
    // Close Control Center and Alert Control
    CMBarcodeBright.shard.applicationDidBecomeActive(targetClass: BarcodeViewController.self)

}
  • Barcode ViewContorller
    • viewDidLoad CMBarcodeBright.shard.setBarcodeViewBright()
    • Add close and backButton Method CMBarcodeBright.shard.restoreBright()

Author

Junghoon

License

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

Latest podspec

{
    "name": "CMBarcodeBright",
    "version": "0.1.1",
    "summary": "BarcodeView 100% bright and other View userBaright",
    "description": "BarcodeView 100% bright and other View userBaright.",
    "homepage": "https://github.com/CMJunghoon/CMBarcodeBright",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Junghoon": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CMJunghoon/CMBarcodeBright.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CMBarcodeBright/Classes/**/*"
}

Pin It on Pinterest

Share This