Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to remove view and outlet from xib?

$
0
0

Let's say I create a button using the interface builder and use the ctrl+drag method to add it to the header file and create an outlet. Later, I decide I no longer want the button. How do I remove everything that I created initially safely?

Simply selecting the element in IB and deleting it still leaves references in the header file and the designer.cs file. Do I remove the references directly from these files or is there some other preferred way? I have done some searching through the site and forums and haven't been able to find an answer.


Viewing all articles
Browse latest Browse all 204402

Trending Articles