Before I go and log this...Is this a bug or a feature I haven't heard of yet?
Grab an iOS project. Any project. Add some code that adds a protocol to UIButton. This will do:
protocol Foobar {
}
extension UIButton : Foobar {
}
Open the project's nib/storyboard and add a UIButton.
Try to add an action (using any method IB supports) to the button. Action options are unavaliable.
If you right-click an exisiting UIButton with an action attached you'll see a little warning icon next to the action. If you hover your mouse pointer over the warning icon you'll get a tooltip which reads: 'UIButton is no longer a valid event source'.
If you comment out those lines that add the protocol your action options will return to IB and the warnings will disappear.
I haven't tried an OS X app yet.
This is a bug right?
Happends in Xcode 7.1 and 7.2 beta (7C46l).