Why doesn't UITableViewCell selection not draw if I tap very quickly?

If possible, move your blocking operation to another thread NSOperation is probably a good system to use Apple's documentation A random tutorial I found There's no clean way to tell the UI thread to process anything while you're in the middle of a blocking operation.

If possible, move your blocking operation to another thread. NSOperation is probably a good system to use. Apple's documentation A random tutorial I found There's no clean way to tell the UI thread to process anything while you're in the middle of a blocking operation.

I don't want it to process anything, I just want the cell selection to always show. I understand it will be non-responsive. – Jeremy Aug 12 '09 at 20:05 If your code is blocking on the main thread, then any processing that the UI thread needs to do to update and respond to user input won't happen, and there's not really a way around that besides using threads.

– John Calsbeek Aug 12 '09 at 20:42 That's a good point. I suppose I should try something asynchronous. – Jeremy Aug 13 '09 at 15:15 To see if this was the problem, I completely removed the blocking code.

All I do now is deselect the row. Even so, the highlight does not draw if I touch very quickly. It seems to draw properly on my other "normal" unique cell identifiers but not on my "Load More" cell, that I've posted the code for above.

Any other ideas? I appreciate your advice. – Jeremy Aug 13 '09 at 16:04.

I have a a UITableView with cells that are partially custom using addSubview. I am using a different cell ID for the last cell, whose purpose is to load more data from a server which will make new cells appear. (Think the "Load more messages from server" cell in Mail.

As you can see above, I set cell. The problem I'm seeing is that I have to tap and hold my finger down to have the gray highlight appear. If I tap very quickly, it doesn't display draw a highlight at all.

The problem being that sometimes I perform an blocking operation that will take a second or so. I want some simple UI feedback that something is happening, instead of the UI just locking up. I think this may be related to me conditionally checking for if the indexPath is the last row of the table or not.

Any idea how to get it to draw the highlight every time?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions