CheckMarkView CocoaPods

Just simple view which draws programmatically checkmark with some styles

CheckMarkView

Version License Platform

Unfortunately Apple doesn’t provide accessory type property for UICollectionViewCell, such as for UITableViewCell, so I provide custom way to create checkmark. Just simple view which draws programmatically checkmark with some styles.

alt tag

Installation

CocoaPods:

Swift 2.2:
pod ‘CheckMarkView’, ‘~> 0.2.3’

Swift 2.3: pod ‘CheckMarkView’, ‘~> 0.2.4’

Swift 3.0: pod ‘CheckMarkView’, ‘~> 0.3.0’

Manual:

Copy CheckMarkView.swift to your project.

Using

You can create from code, or setup view in the Storyboard, XIB.

let checkMarkView = CheckMarkView()

For controlling you have checked property. And style property for unchecked view. There are some styles:

enum CheckMarkStyle: Int {
    case Nothing
    case OpenCircle
    case GrayedOut
}

License

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

Related Repositories

CheckMarkView

CheckMarkView

Just simple view which draws programmatically checkmark with some styles ...


Top Contributors

maximbilan ReadmeCritic

Releases

-   0.3.0 zip tar
-   0.2.4 zip tar
-   0.2.3 zip tar
-   0.2.2 zip tar
-   0.2.1 zip tar
-   0.2 zip tar
-   0.1 zip tar