Log in
Sign up
See new Tweets

Conversation

Andy Matuschak
@andy_matuschak
·
Oct 5, 2015
Whoa, super exciting! Generic classes can now implement
@objc
protocols in Swift 2. http://blog.human-friendly.com/swift-2-xcode-7-gm-at-least-generic-support-for-at-objc-protocols… h/t
@jl_hfl
blog.human-friendly.com
Swift 2 (Xcode 7 GM at least) Generic support for @objc protocols
Just had a response to a radar (thanks Apple Swift team) that you can now implement Objective C protocols with generic Swift classes. This means that you can make typesafe and composable classes to...
1
22
56
Javi
@Javi
·
Oct 5, 2015
@andy_matuschak
and subclasses can specialize a generic parent. Sad thing: this doesn’t work with IB (fails to load nibs)
2
1
1
Andy Matuschak
@andy_matuschak
Replying to
@Javi
@Javi
what is an ib
5:08 PM · Oct 5, 2015·Tweetbot for Mac
1
Retweet
10
Likes
Joe Groff
@jckarter
·
Oct 5, 2015
Replying to
@andy_matuschak
@andy_matuschak
@Javi
It's what paramedics use to inject dependencies
1
15
Javi
@Javi
·
Oct 5, 2015
@jckarter
@andy_matuschak
Quote Tweet
Javi
@Javi
· Oct 5, 2015
Replying to @andy_matuschak
@andy_matuschak Instant Bleeding
1
Javi
@Javi
·
Oct 5, 2015
Replying to
@andy_matuschak
@andy_matuschak
Instant Bleeding
1