Answer the question
In order to leave comments, you need to log in
How to correctly implement copying array elements from the 1st Tableview to the 2nd Tableview?
1st tableview (list of recipes) - a list of recipes is stored, a button "add to favorites" is displayed above each recipe.
2nd tableview - table of favorite recipes.
When clicking on "add to favorites" the element was added to the 2nd tableview.
Thank you for your attention.
Answer the question
In order to leave comments, you need to log in
I would do this:
create a new NSMutableArray that is meant to store the values of the selected cells, and then pass this array to the new table as a data source.
Good afternoon.
In delphi, in order to copy an object, the Assign object method is used to which an object of the same type is passed.
Perhaps the tableview has a similar
Thank you!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question