If you want to clear the content of a subview, is there a command for this, or is deleting the subview and creating a new one a better way to handle it? In the chapter section on adding labels, I was wondering how one would go about clearing the subview every time you entered text into the text field instead of the results just piling up on top of each other. I tried a quick search through the documentation in Xcode and Google, but did not see anything off the bat that helped. Anyone know?
edit: Seems I wrote this too soon. Each time you enter text in the text field it is creating a new subview, yes? So then you would have to go and delete the previous subview in order to only show one text entry at a time if I understand it correctly.