In the iPhone contacts app, the favorites section starts as an empty table view and fills with your favorite contacts as you select them with a round rect button in a different view controller, located on another tab.
How does this happen?
I understand that an array object is updated with a contact object when 'add contact as favorite' is selected, but how does the object pass backwards through the view heirarchy? If a view is not on screen, the view and it's objects are not allocated and thus don't exist in memory. So how can you modify an array if it isn't instatiated?
Thanks
Rob
How does this happen?
I understand that an array object is updated with a contact object when 'add contact as favorite' is selected, but how does the object pass backwards through the view heirarchy? If a view is not on screen, the view and it's objects are not allocated and thus don't exist in memory. So how can you modify an array if it isn't instatiated?
Thanks
Rob