Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion SwiftMultiSelect/MultiSelectionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class MultiSelecetionViewController: UIViewController,UIGestureRecognizerDelegat
layout.scrollDirection = UICollectionViewScrollDirection.horizontal
layout.minimumInteritemSpacing = 0
layout.minimumLineSpacing = 0
layout.itemSize = CGSize(width: CGFloat(Config.selectorStyle.selectionHeight),height: CGFloat(Config.selectorStyle.selectionHeight));

//Build collectin view
let selected = UICollectionView(frame: CGRect.zero, collectionViewLayout: layout)
Expand Down Expand Up @@ -155,7 +156,7 @@ class MultiSelecetionViewController: UIViewController,UIGestureRecognizerDelegat
)
//constraint for stackview
let stackView_V = NSLayoutConstraint.constraints(
withVisualFormat: "V:|-\(navBarHeight)-[stackView]-0-|",
withVisualFormat: "V:|-[stackView]-0-|",
options: NSLayoutFormatOptions(rawValue:0),
metrics: nil,
views: viewsDictionary
Expand Down