DraggableCollectionView icon indicating copy to clipboard operation
DraggableCollectionView copied to clipboard

How can I use this Layout in Swift project?

Open ban9ban3 opened this issue 9 years ago • 1 comments

I'm try to import : #import "UICollectionView+Draggable.h"

But it have this error

screen shot 2015-11-19 at 10 26 09

Anyone, help me pls!!!

ban9ban3 avatar Nov 19 '15 03:11 ban9ban3

You can't. Although Swift and Obj C is from the same Xcode, there are rules to mix them up. In this case, you need to create bridging header.

http://www.ios-blog.co.uk/tutorials/objective-c/how-to-create-an-objective-c-bridging-header/

martintjandra avatar Apr 15 '16 09:04 martintjandra