TagCellLayout icon indicating copy to clipboard operation
TagCellLayout copied to clipboard

Updated example and added spacings

Open ChristRm opened this issue 6 years ago • 0 comments

Pull request contains:

  1. Update an example project:
  • I made a small correct of example cell so there is no white rectangle out of shape
  • I enabled a selection in example as the purpose of tags is to be able to select them
  1. I added 2 methods to delegate:

func tagCellLayoutInteritemHorizontalSpacing(layout: TagCellLayout) -> CGFloat func tagCellLayoutInteritemVerticalSpacing(layout: TagCellLayout) -> CGFloat

I'm not sure that values these methods provide are used in correct places of layout calculating but it seems to work.

ChristRm avatar Jan 26 '19 08:01 ChristRm