I'm relatively new to developing Apple Watch apps and have managed to learn so far but I'm stuck at one thing.
My goal is to create a group of table rows, all with the same identifier, that perform different actions when embedded buttons are pressed. For example, I have 3 rows, each with a different items name and a buy button. I want it so that when I click the "buy" button the PurchaseRowItem.m class runs a function that gets the row label and buys that item.
Now - I have a feeling that for something like this I'll need to create bespoke classes for each row, but this feels way too ineffiecent. Simple, like the rest of WatchKit, but ineffiient.
Thanks,
Brendon