• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to connect IBOutlet in Swift Xcode 7b2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to connect IBOutlet in Swift Xcode 7b2


  • Subject: Re: Unable to connect IBOutlet in Swift Xcode 7b2
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 14 Jul 2015 20:08:40 +0000

On Jul 14, 2015, at 12:49 , Rick Mann <email@hidden> wrote:
>
> What is my module's name, exactly, in an app target?

Go to the build settings for the target, filter on “Module Name” and you’ll see it.

Note that you can’t enter the module name into the build settings directly. If you try, it’ll tell you that you need to change the product name instead, and the product name defaults to the target name. You can change this if you want, since the product name is something that’s inside the app bundle, not visible to users directly.

(I’ve used this to rename framework products, where I have a Mac framework and an iOS framework with the same code. By renaming the corresponding framework product names to the same thing, I can use the same Swift “import” statement in app source files that are used for both platforms, and it will import the module for the correct platform of the framework.)



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Unable to connect IBOutlet in Swift Xcode 7b2 (From: Rick Mann <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Charles Srstka <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Rick Mann <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Kyle Sluder <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Rick Mann <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Fritz Anderson <email@hidden>)
 >Re: Unable to connect IBOutlet in Swift Xcode 7b2 (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: C Sharp?
  • Next by Date: Re: C Sharp?
  • Previous by thread: Re: Unable to connect IBOutlet in Swift Xcode 7b2
  • Next by thread: Swift enums with raw values
  • Index(es):
    • Date
    • Thread