[swift2objc] Add support for Swift ARC Features (weak
and unowned
variables) and lazy
variables
#2053
Labels
weak
and unowned
variables) and lazy
variables
#2053
From https://docs.swift.org/swift-book/documentation/the-swift-programming-language/automaticreferencecounting:
Annotating with
@objc
should suffice for bothIn Objective-C,
weak
properties are represented asweak
in the@property
declarations in Objective-C (as well as_Nullable
since weak properties are nullable), whileunowned
properties are represented asunsafe_unretained
.assuming wrapped and annotated with
@objc
, exporting should produceThe text was updated successfully, but these errors were encountered: