In Xcode I created an outlet and made it connected. Then I deleted the connection by clicking the cross in connection inspector. However, the unused outlet always appears there. How can I deleted the unused outlet. (I have deleted the code in the .m file)
An outlet is a property of an object that references another object. The reference is archived through Interface Builder. The connections between the containing object and its outlets are reestablished every time the containing object is unarchived from its nib file.
Right click the IBOutlet that you want to rename, delete reference outlet, and then reassign it, but you don't have to do anything with your code. Save this answer.
It is very easy, just click the delete button
Connections Inspector panel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With