Log in
Sign up
See new Tweets

Conversation

Andy Matuschak
@andy_matuschak
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...
4:35 PM · Oct 5, 2015·Tweetbot for Mac
22
Retweets
56
Likes
Javi
@Javi
·
Oct 5, 2015
Replying to
@andy_matuschak
@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
·
Oct 5, 2015
@Javi
what is an ib
2
1
10
Show replies