I have a var defined in one Swift file, but in another Objective-C file, when I try to set this var, the complier complains it cannot find the var. How do I solve this problem? here is the code: in swift:
var isCreating: Bool!
in objc :
SelectMemberViewController *ctrl = [[SelectMemberViewController alloc]init];
ctrl.isCreating = YES
then the complier is complaining : Property 'isCreating' not found on object of type 'SelectMemberViewController'