Accessing Data object from a custom cell in iOSTable

I have a custom cell in iOSTable that contains a TextField. I also have a data object class that I want to store that TextField information. This data object class is a property of the Window that the iOSTable also resides.

Now my question is, how do I update the data object class so that whenever the TextField is changed, the data object is also changed?

I tried to access the class directly within the custom cell by calling the Windows object, but it wouldn’t work.

Never mind. I found a solution where I would save my data through a data reference inside Custom Cell.