Meredith Caveney
Meredith Caveney

Reputation: 113

I can't delete an Outlet in XCode

I know you're supposed to click the x in the connections inspector, but the one I'm trying to delete is greyed out and I don't know why. Any ideas on how to delete the "View" outlet would be helpful! Sorry for the bad quality picture.

Upvotes: 1

Views: 881

Answers (1)

matt
matt

Reputation: 535501

You cannot delete the view outlet. It is inherent to the view controller. Why would you want to delete it? If you could, you'd have a completely broken view controller. The storyboard is simply trying to save you from yourself (and it seems you need to be saved from yourself).

Upvotes: 2

Related Questions