What does the “Embedded Content Contains Swift Code” build setting in Xcode 6 do?

后端 未结 3 475
迷失自我
迷失自我 2020-12-17 07:55

It\'s a new setting under \"Build Options\". What does it do? I can\'t seem to find any documentation about it. My guess is this: Does it have to be set to YES

3条回答
  •  死守一世寂寞
    2020-12-17 08:22

    I don't believe that is required to have general interoperability between Swift and Objective-C. It's as simple as adding Swift code and editing the bridging header.

    If you see any of the documentation about Extensions for iOS, the lingo mentions "embedded" quite a bit: embedded content, embedded frameworks, etc. Because Extensions are organized, built, and run quite differently from normal apps, I wouldn't be surprised that there's a build setting like this one pertaining to them.

提交回复
热议问题