Update TagCellLayout.swift
Update TagCellLayout.swift

Add a variable called "lineNumber" to record how many lines of tags view. So that users can calculate the contentSize of UICollectionView dynamically and change the constraints of UICollectionView. (In the case of this UICollectionView is embeded in other views or animationing)
riteshhgupta/TagCellLayout,riteshhgupta/TagCellLayout