Skip to content

Instantly share code, notes, and snippets.

View hahnah's full-sized avatar
🏠
Making my place a better place.

hahnah hahnah

🏠
Making my place a better place.
View GitHub Profile
@hahnah
hahnah / CollectionViewController.swift
Created August 1, 2018 11:42
Fixed Sample code showing checkmark on UICollectionViewCell. This is fixed version of https://gist.github.com/hahnah/2b3f0f373562e1cdc80740b7e0ff5d47
import UIKit
class CollectionViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource {
var collectionView : UICollectionView!
var toolbar: UIToolbar?
override func viewDidLoad() {
super.viewDidLoad()
@hahnah
hahnah / CollectionViewController.swift
Last active July 29, 2018 14:23
Sample code showing checkmark on UICollectionViewCell
import UIKit
class CollectionViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource {
var collectionView : UICollectionView!
var toolbar: UIToolbar?
override func viewDidLoad() {
super.viewDidLoad()