10

Recently I've added some targets to my project. Looking at the diff of my storyboard file I've noticed that customModule="Target1Name". Looks like I can set it in IB where all my targets are listed. But this storyboard is universal for all the targets, so I didn't select anything.

enter image description here

I'd like to understand what is the customModule parameter and why it appears to be set to my Target1Name?

I've looked at some related posts, but couldn't understand of what the customModule is used for.

Community
  • 1
  • 1
Andrej
  • 7,266
  • 4
  • 38
  • 57
  • 3
    [Relevant documentation on Swift modules](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/AccessControl.html#//apple_ref/doc/uid/TP40014097-CH41-ID4). Most of the time you just want to use the target's module, but sometimes you need to specify a custom module, such as when you're using third party libraries. – shim Feb 13 '18 at 00:11

0 Answers0