davdroman / Bohr

Settings screen composing framework
MIT License
1.26k stars 83 forks source link

Swift 2.0 and Xcode 7 Support? #22

Closed RayanSaeed closed 8 years ago

RayanSaeed commented 9 years ago

Is swift supported and if so.. How do I go about using this control in my project? Could you update the "Read Me" or just answer here in this issue?

davdroman commented 9 years ago

I haven't really done any Swift related stuff yet so I'm quite unsure about compatibility. I'd really appreciate some help over here from any minimally experienced user.

RayanSaeed commented 9 years ago

Oh well. Right now I need to work on another project. But hopefully when I get some free time I'll contribute to this with Swift. I personally think this is a great control.

Thanks

headkit commented 8 years ago

I would love to see this working in Swift!

davdroman commented 8 years ago

Good news!

Now that I've gotten into Swift, I've started adapting all my libraries. A month ago I released a major Swifty version of Popsicle, and I'm planning on doing the same with Bohr.

I've got plenty of ideas for some cool operators that could greatly simplify Bohr's current blocky setup chaos, and I'd like to hear some suggestions for possible new features suggestions that Swift can enable on Bohr as well.

dannyshmueli commented 8 years ago

+1 on the swift support

kevinwo commented 8 years ago

In an Objective-C bridging header do:

#import <Bohr/Bohr.h>

In your subclassed BOTableVIewController:

import Bohr

Voila!

davdroman commented 8 years ago

As @kevinwo expressed, Objective-C bridging does work great and it's a temporary solution until 4.0 comes out.

As this issue is solved, I'll be closing it now. As a side note: anyone interested in taking part in version 4.0 (regardless of their skill or number of contributions) should take a look at #33. Let's make a great Swifty 4.0 together! :smile: