Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Swift version? #263

Closed
klaas opened this issue Sep 12, 2014 · 5 comments
Closed

Swift version? #263

klaas opened this issue Sep 12, 2014 · 5 comments

Comments

@klaas
Copy link

klaas commented Sep 12, 2014

I read, that there might be an upcoming Swift version? Maybe a ClosuresKit? Does someone know where it can be found?

@zwaldowski
Copy link
Collaborator

This is not under development at this time, neither of us have made any ClosuresKit. But I reserve the right to steal the name. 😜

Swift provides sufficient functional features to obviate BlocksKit Core. Our plan for BlocksKit Dynamic Delegate is in flux. We have played with a Swift port and may go from there. It will be difficult to bind dynamic selectors at runtime in a way that is typesafe.

@klaas
Copy link
Author

klaas commented Apr 24, 2015

Just noticed your comment. Feel free to use the name ;-)

@johndpope
Copy link

@johndpope
Copy link

Just came across some code using a react pattern on uitextfield. - https://github.com/Ramotion/reel-search - what's the best way to hook into delegate methods with swift?
let tf = UIView()
tf.onTap = {}

fyi - http://objc2swift.yahoo-labs.jp/

@johndpope
Copy link

this seems to be the best replacement thus far for blocks in swift.
https://github.com/collinhundley/APTargets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants