Re: Xcode-users Digest, Vol 13, Issue 232
Re: Xcode-users Digest, Vol 13, Issue 232
- Subject: Re: Xcode-users Digest, Vol 13, Issue 232
- From: Rick Aurbach <email@hidden>
- Date: Sun, 18 Sep 2016 18:37:34 -0400
- Acceptlanguage: en-US
- Thread-topic: Xcode-users Digest, Vol 13, Issue 232
> From: Michael McLaughlin <email@hidden>
> Subject: IBAction/IBOutlet circles in source files
>
> I am using Xcode 8.0, in El Capitan, for a Cocoa document project containing one sub-project (if that matters).
>
> I noticed that, when I open the project file, the IBAction/IBOutlet circles in the header and source files that get filled in when a connection has been made in Interface Builder are all unfilled (implying that none are connected) and do not get filled in unless/until I select a connected IBOutlet in the corresponding .xib file. The filling-in is then xib-specific.
>
> Am I alone in this? Is this a bug or a feature?
>
> Thanks.
>
> --
> Michael McLaughlin
> email@hidden
>
I personally think that it is (or ought to be) a bug. In the past, the circles would fill in after you opened the xib or storyboard that contained the connection. This has been true for a very long time. The idea that you actually have to touch the bound object before the IBAction/IBOutlet’s circle is filled is new (and even worse) behavior.
I think that just as opening the project theoretically establishes “knowledge” of all public interfaces in the project, opening the project should theoretically establish “knowledge” of all bindings in the project. So that we could actually look at those circles and know (with some degree of certainty) whether the IBAction / IBOutlet was actually connected to anything or not.
Perhaps there could be an “import”-like statement referencing xib/storyboard files that one could use to help Xcode keep the connection-indicating circles up to date?
My 2¢.
Cheers,
Rick Aurbach
_______________________________________________
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