Getting specific info from csv file then printing that on a form

Any starting points would be great, I can upload csv files to swift and show them in a list but I would like to filter results and the print out to a form.

So for example every row has name and address linked to items on same lines and I only need the address info once not listed every time.
Then the items that go with that particular name and address need to show in list form under address and then that information be printable as well as seen on screen.

Any help much appreciated.

If you google csv parser swift you'll find a number of GitHub projects, questions like this one on the apple dev forums and blogs on the subject. Good luck.