Say I have the following in an Objective C implementation file (MyVC.m
):
@interface MyVC ()
@property (nonatomic, weak) IBOutlet UILabel *titlelabel;
@end
How can I expose this private property to Swift (test) code? The following causes compiler errors:
extension LTConversationSelectionVC {
@IBOutlet weak var assetBar: LTAssetBar?
}