Hi, I am working on my diploma where i am comparing Swift 3 with Objective-C. So i make two my own frameworks which one is named obj and second one is called swt. obj framework is containig Objective-C classes and swt is containing Swift classes. And there is my problem both frameworks are containing Person class.
So i want in my code call something like
let swtPerson = swt.Person()
let objPerson = obj.Person()
But when i make class "Person" in swt framework public then i can't use "Person" class from obj framework due to message "No type named Person in module obj".
When i remove public from class "Person" in swt framework then i can use "Person" class from obj framework without error but i cannot use "Person" class from swt framework anymore.
I search for the answer why is this happening, but i can't anything useful. Maybe it's caused somehow by Swift itself which is in someway overlaps Objective-C class "Person" from obj framework.