[swift-dev] How should NSArray<void(^)(void)>* be imported?

Joe Groff jgroff at apple.com
Fri Mar 4 11:46:36 CST 2016

> On Mar 3, 2016, at 10:12 PM, Jacob Bandes-Storch <jtbandes at gmail.com> wrote:
> I see, thanks for the clarification. How is it, then, that properties whose type is void(^)(void) already work fine?

For properties, we can statically bridge them by emitting thunk getters and setters at compile time. We have to do this dynamically for bridged containers since they can freely be in ObjC or Swift representation at runtime.


More information about the swift-dev mailing list