UITabelView with Add AND Remove Buttons
I have an idea on what I would like to do for my RSS reader but would like some opinions on if it's possible and if so how. There is a reason why I would like to do it this way so bear please bear with me.
I have my entity model which is attached and in FeedInfo I would add a new attribute which would be either 0 or 1. In my table I would then display feeds where the new attribute is set to 1. Then in my view where feeds are currently added via the URL I would change this to show every feed in FeedInfo and let the user add or remove feeds and update the new attribute.
So what would be the best way of implementing this? I'm ok with displaying the table so it's just the add/remove mechinism. I know there is a delete button per cell but can you also display an add button? Or would using a UISwitch be the correct approach? If a UISwitch is used how would I detect it's been changed, via the didSelectRowAtIndexPath method or would that only detect if the cell has been selected?
I have a feeling I have seen an app that did something similar but even if I could remember what it was called I wouldn't have the code!
Last edited by sleaver; 08-09-2010 at 08:53 AM.
Reason: Fix attachment
|