Log in
Sign up
See new Tweets

Conversation

Andy Matuschak
@andy_matuschak
·
Dec 19, 2014
Gorgeous Swift nested-class-in-closure-literal approach to delegates: https://gist.github.com/austinzheng/8fda3f61e1fd06383928#file-main-swift-L19… Nice,
@austinzheng
. (but why the [self]?)
gist.github.com
Anonymous class experiment in Swift
Anonymous class experiment in Swift. GitHub Gist: instantly share code, notes, and snippets.
6
4
32
Javi
@Javi
·
Dec 19, 2014
@andy_matuschak
@austinzheng
why not make the ParentClass conform to the protocol? (Or is it just an experiment?)
1
Andy Matuschak
@andy_matuschak
Replying to
@Javi
@javi
@austinzheng
Code locality.
4:55 PM · Dec 19, 2014·Twitter for Mac
2
Likes
Javi
@Javi
·
Dec 19, 2014
Replying to
@andy_matuschak
@andy_matuschak
@austinzheng
#BlowYourMindInTwoWords
1