Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximbilan/checkmarkview
UI view which draws programmatically a checkmark with different styles
https://github.com/maximbilan/checkmarkview
checkmark ios ios-app ios-swift swift ui ui-components ui-design uikit
Last synced: about 1 month ago
JSON representation
UI view which draws programmatically a checkmark with different styles
- Host: GitHub
- URL: https://github.com/maximbilan/checkmarkview
- Owner: maximbilan
- License: mit
- Created: 2015-07-18T09:12:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-22T08:32:34.000Z (over 6 years ago)
- Last Synced: 2024-10-14T02:17:13.168Z (2 months ago)
- Topics: checkmark, ios, ios-app, ios-swift, swift, ui, ui-components, ui-design, uikit
- Language: Swift
- Homepage:
- Size: 754 KB
- Stars: 35
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CheckMarkView
[![Version](https://img.shields.io/cocoapods/v/CheckMarkView.svg?style=flat)](http://cocoadocs.org/docsets/CheckMarkView)
[![License](https://img.shields.io/cocoapods/l/CheckMarkView.svg?style=flat)](http://cocoadocs.org/docsets/CheckMarkView)
[![Platform](https://img.shields.io/cocoapods/p/CheckMarkView.svg?style=flat)](http://cocoadocs.org/docsets/CheckMarkView)
[![CocoaPods](https://img.shields.io/cocoapods/dt/CheckMarkView.svg)](https://cocoapods.org/pods/CheckMarkView)
[![CocoaPods](https://img.shields.io/cocoapods/dm/CheckMarkView.svg)](https://cocoapods.org/pods/CheckMarkView)Unfortunately Apple doesn't provide an accessory type property for UICollectionViewCell, such as for UITableViewCell, so I provide a custom way to create a checkmark.
A just a simple view which draws programmatically a checkmark with some styles.![alt tag](https://raw.github.com/maximbilan/CheckMarkView/master/img/img1.png)
# Installation
CocoaPods:
pod 'CheckMarkView'Manual:
Copy CheckMarkView.swift to your project.## Using
You can create from the code or set up a view in the Storyboard, XIB.
let checkMarkView = CheckMarkView()For controlling you have checked property.
And style property for the 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.