How to Clear UI contents after each function call



I have a function which when called, populates the labels and textView with data from a CoreData Fetch Request, for the user. Each time the function is called I want ONLY the new data in the UI controls. Presently, the new data is appended to the old which is totally unacceptable.


How can I clear the old data so that the User sees ONLY the new data?


Thanks for helping me with the solution.

Powered by WPeMatico

You may also like...

Comments are closed.