title: Why is my selected state not preserved when called setSelected on tableview cell?
body: <p>So i came to this slight bump in the road. I created a custom tableview cell, in the tableviw cell class i override <code>[tableViewCell setSelected:TRUE animated:FALSE]</code>. In my <code>cellForRowAtIndexPath</code> method i check some logic and if the logic is true then set the cell as selected using [<code>tableViewCell setSelected:TRUE animated:FALSE];</code> All if fine and dandy until i realized this. The system is calling <code>[tableviewCell setSelected]</code> implicitly after i explicitlty call <code>setSelected</code>. When the system calls it my selected state is set to false when i explicitly set it to true. I know its the same tableview cell since im checking its memory location using self. I found an answer to fix this issue but it really makes no sense as to why this is happening. if I call <code>[tableView selectRowAtIndexPath:indexPath animated:FALSE scrollPosition:UITableViewScrollPositionNone];</code> the setSelected method is not called twice and it preserves the selected state i have set on the cell in my logic. So why does this way work and not just setting the cells selected state?</p>