Re: Unable to connect IBOutlet in Swift Xcode 7b2
Re: Unable to connect IBOutlet in Swift Xcode 7b2
- Subject: Re: Unable to connect IBOutlet in Swift Xcode 7b2
- From: Rick Mann <email@hidden>
- Date: Tue, 14 Jul 2015 12:49:53 -0700
> On Jul 14, 2015, at 12:29 , Fritz Anderson <email@hidden> wrote:
>
> Blank? Not a placeholder for “Current — Your_Target_Name?” The NIB/storyboard loading process for Swift needs an absolute module name, and in my experience, IB’s reference may not survive transfer between projects or targets. The result would be a blank Module field (-> "", not a default). I wish I remembered the solution — I last dealt with it in an Xcode 6 beta.
No, it had the default, whatever that is. I meant I hadn't entered anything in there.
> In the Identity inspector, try manually entering the target’s module name, or deleting the class name and typing it back in in hopes IB will find the class and complete the name and module for you. I may even have rebuilt the scene or storyboard from scratch, but I think that was just thrashing on my part.
What is my module's name, exactly, in an app target? I really wish the language let me specify the module name in each source file, rather than using the target/framework name.
--
Rick Mann
email@hidden
_______________________________________________
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