how to remove all references for outlet
You have to unlink the outlet from the item in interface builder. Select the UI element that you linked the outlet to and then remove it in the "Connections Inspector".
Click the little "x" ^^^
How do I remove all reference outlets from a view at once?
By clicking on View Controller it will show on the right side all connected interface outlets, and it's easier to remove one by one there. This is not what you looking for, but at least will help to remove outlet references a bit faster.
Xcode Interface Builder - correct way to delete/rename miswired IBOutlets / IBActions?
Use the Connections inspector to break the connection. Then you can modify/delete the object and/or the code without having to worry.
Clear Connections/Outlets in ViewController Class?
If you paste the classes in while the source project is open, it will link for some reason. Once you quit xCode and reopen just the new project, it will clear the connections to the old project!
delete unused outlets in xcode
It is very easy, just click the delete button
Connections Inspector panel
xcode 7.3: Could not insert new outlet connection and deleting DerivedData doesnt work
I've found a way to reproduce systematically this error in a simply way
- Drag the azure line on ViewController and leave drag inside the Hint ("Insert Outlet or OutletCollection): The create connection box appear normaly
- Now after click "Connect" button....BUUM! "Could not insert new outlet connection"
- Finally try to do the same thing but leaving the drag outside the hint box
After click "Connect" you will discover that now all work fine!
Hope this help!
Unused IBOutlet cannot remove from File's Owner Connection Inspector, OutLets List
Sometimes I have the same problem. Make sure you remove it from the Interface Builder, Product -> Clean and then restart Xcode.
That usually does the trick for me
Related Topics
Nspredicate for Array of Dictionaries
Instagram API Prevents Redirection to iOS App Upon Successful Login with 400 Bad Request Error
Shrink Large Title When Scrolling (Not Uitableviewcontroller) iOS 11
How to Ensure to Run Some Code on Same Background Thread
Could an iOS Application Read/Access Sms Text
Swipe to Go Back Only Works on Edge of Screen
Expandable Uitableview Cell Using Autolayout Results in Uiviewalertforunsatisfiableconstraints
Why Is Uiwebview Cangoback=No in iOS7
Custom Font on Uibutton Title Clipped on Top of Word
How to Use Multiple Segues with One Uitableviewdelegate
Programmatically Highlight Uibarbuttonitem
Remote Image Size Without Downloading