Xcode: Objective-C Generated Interface Header Name. Which name is correct?

Hello all!

Trying to find any info about the way of naming "Objective-C Generated Interface Header Name". In many documaentation found "MyProject-Swift.h" example. But no any mentioning about mandatory this way of naming or it might be named by my own?

What is the mandatory way of naming Swift interface for Objective-C? Is there any official documentation about how it must or could be?

Few hours ago been testing all of the possible ways. There are working "[ProjectName]-Swift.h" and custom name like "bla-bla.h". There are only required corect definition of XCode parameters:

  • SWIFT_OBJC_INTERFACE_HEADER_NAME
  • SWIFT_OBJC_BRIDGING_HEADER
  • ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
  • SWIFT_VERSION

Haven't found yet any official documentation about it. Is there any?

Xcode: Objective-C Generated Interface Header Name. Which name is correct?
 
 
Q