I have uploaded a project, kindly check.
A rough idea how to do is as: (however understanding is easier by seeing the project)
Create an Array Controller.
Set for Array controller Object
Mode:Class Class Name: Your custom Class
Received Actions
add: to the button that will add new objects, typically labelled with + remove:to the button that will add new objects., typically labelled with -
Referencing Bindings(either from table or from here for each column of table).
For search field
Bindings, Predicate to Array Controller ControllerKey : filterPredicate Predicate Format : <class property> contains $value (if to search in multiple table columns then <class property 1> contains $value || <class property 2> contains $value etc…. )