BFPaperButton icon indicating copy to clipboard operation
BFPaperButton copied to clipboard

Swift 2.0 Version

Open fahlout opened this issue 10 years ago • 6 comments

A Swift 2.0 version of this would be amazing!

fahlout avatar Sep 02 '15 17:09 fahlout

Has anyone written the Swift 2.0 version of this cool library?

glennposadas avatar May 04 '16 10:05 glennposadas

Hi @glennposadas

Not yet, to my knowledge. I keep thinking there must be a much better way to write this library to make it a lot more universal, for instance as a UIVisualEffectView or something else. Along with the upcoming release of Swift 3.0 and my work schedule, I am finding it harder and harder to justify rewriting this control in Swift 2.0 (admittedly something that I should have done a long time ago).

If you feel up to the task, you are more than welcome to contribute :)

bfeher avatar May 05 '16 23:05 bfeher

Im currently using this lib in swift 2.0 project using a bridging header file.

bhargavms avatar Aug 04 '16 12:08 bhargavms

I plan on writing a swift 3.0 version but in the long run I'm hoping that we will get a more flexible and usable UIVisualEffectView so that I can just make the shadows and tap ripples an extension of UIVisualEffectView. That way you could slap it onto anything without needing specialized classes like BFPaperTabBar, BFPaperButton, BFPaperView, etc.

bfeher avatar Aug 05 '16 00:08 bfeher

Glad to hear you are planning on writing a Swift 3.0 version. Meanwhile, I would recommend you to update the readme of the project to include Swift 2.0+ instructions since it works perfectly through Bridging header and there's a chance people will keep asking

mradzinski avatar Sep 16 '16 20:09 mradzinski

I confirm it works very well with project using Swift 2.3 without adding anything to bridging header

engmsaleh avatar Dec 13 '16 18:12 engmsaleh