只需突出显示用 Swift 编写的教程演练中的项目即可

壁虎

豆荚版本 豆荚平台 豆荚许可证

只需突出显示用 Swift 编写的教程演练中的项目即可

壁虎在日语中的意思是月光。

演示

Usage

Basic

import Gecco

class ViewController: UIViewController {
  func showSpotlight() {
    let spotlightViewController = SpotlightViewController()
    present(spotlightViewController, animated: true, completion: nil)
    spotlightViewController.spotlightView.appear(Spotlight.Oval(center: CGPointMake(x: 100, y: 100), diameter: 100))
  }
}

Custom

Please refer to GeccoExample.

Installation

CocoaPods

pod 'Gecco'

Carthage

github "yukiasai/Gecco"

Feature

  • Simple notes label on the spotlight
  • Rotation
  • Swift2.3

License

Gecco is released under the MIT license. See LICENSE for details.

GitHub

点击跳转