Hi guys i am having a strange problem in my application. i have a custom cell for my tableview and i have a button on my cell. i have to add favorites an unfavorites functionality on that button so if that button is tapped then it will make the item favorite on that cell and button will be in selected state and if user tap it again then it will be unselected. JUST LIKE CHECK BOX. Problem that when i select one button then it 5th button also. for instance if i select button on 3rd index then it will select button on index 8 also.
any body faced this problem? Can any body help me?