Problem: I am trying to make an online selfie-book Collection
and a bit stumped
How it’t supposed to work:
There is a list of Surfer Pros that people can take selfies with.
They must go through the list list of and upload a selfie until they are all complete
I need to be able to have a leaderboard, so I need to know who has filled the Pro Selfies collectio
I have done the following with 2 tables
Table “SelfieStickerDudes“ had a list of all the Surfer Pros that they must take Selfies with
Table “SelfiePosts“ is a tables of all the Selfie posts with relations to User and “SelfieStickerDudes“
2 Scenarios I have tried
I add a Collection view of “SelfiePosts“ in the detail view of “SelfieStickerDudes“ which filters only posts from my Id. However I don’t know how to get a count posts that only my user created. ie. I want to found how how many selected “Pros” I have taken taken selfies with? I can’t find a way to filter the posts based on my ID.
I can click into “SelfieStickerDudes“ then click Add, which would then to a “Users” array in “SelfieStickerDudes“ where I would add users to as they took a selfie. However I don’t know how to upload an image with “SelfiePosts“ and do an add to Array at the same time?
Hope this makes sense?
I can’t believe I am so stuck, it seems simple