0
votes

I have framework that is written in ObjC and Swift, I want to use ObjC classes in Swift. Apple says "In your umbrella header file, import every Objective-C header you want to expose to Swift". But everything included to umbrella becomes public. Is there any way to use ObjC without making it public?

1

1 Answers

0
votes

The umbrella header is not your framework header, it's the one named with "-Swift.h" in it. You don't need to include that header in your main framework header.