Re: Removing links from wired properties and IBActions in classes.
Re: Removing links from wired properties and IBActions in classes.
- Subject: Re: Removing links from wired properties and IBActions in classes.
- From: Alex Zavatone <email@hidden>
- Date: Fri, 11 Apr 2014 09:07:06 -0400
On Apr 11, 2014, at 7:44 AM, Dave wrote:
> Hi,
>
> Sounds like you should quite XCode and make sure this happens with just the New Project open. I’m not sure if you are in the habit of using multiple Window’s in XCode or the all-in-one approach. I’ve had problems using mutiple windows, whereby if a file is present in both projects, gets confused over which version it is showing you. This usually clears inselt with a Clean, Quit and Re-Build.
>
> But if not, Open the Storyboard, find the element that points to the Outlet then in the Connections Pane, then click the X to delete the link.
>
I have quit Xcode and restarted and tried it with a new project.
You can't delete the connection from the storyboard, as that would delete the connection from the storyboard in the original project. A connection to the copied class isn't seen in the original storyboard, but a connection from the duplicated class in the other project back to the original project is certainly present.
Where is this information stored within the project?
And yeah, every class copied into any new project shows the same issue. The connections to the original storyboard are somehow retained and can't be deleted.
> Dave
> On 10 Apr 2014, at 20:19, Alex Zavatone <email@hidden> wrote:
>
>> In one of my new iOS projects, I took a view controller class from an older project that was nice, generic and repurposable, copied the .h and .m files into a new location and dragged the files into the Project Navigator.
>>
>> Low and behold, in the .h file, the property and IBOutlet connections are preserved next to the declarations and if I click on the filled circles they can open up the storyboard from the other app.
>>
>> What do you have to do to remove these connections in Xcode 5.1?
>>
>> Thanks in advance.
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden