I at the moment have an iPhone utility that renders an inventory view stuffed with timers. The person is ready to swipe on any row and “observe” that timer. Monitoring it initiates a stay exercise containing particulars for the timer to show. This all works nice.
NOW, I need to replace my listing view in order that for any timer that’s presently being tracked by way of a stay exercise, the swipeAction’s label ought to change to “untrack” AND I need to render somewhat pin icon within the nook of the row to point that the timer for that row is pinned.
How do I do that? As soon as I spawn the stay exercise, my utility doesn’t hold a reference of that are operating for functions of updating the listing view. This appears pointless, since something I bear in mind could be in-memory and prone to be evicted after the person quits the app anyway.
How do I combine data of “which lively stay actions are operating for my app” into the listing view in order that the person can clear stay actions from inside the utility?