Zachary Drayer

Results 24 comments of Zachary Drayer

performSelector:withObject:afterDelay: is non-blocking and will defer to the runloop. I suspect (but haven't bothered benchmarking) that spawning a new thread, and then dispatching back to the main runloop is actually...

don't mean to rush things by any means, but: ping? anyone have thoughts on this bit of code?

Why assume that a string is the proper thing to return? If code is expecting a dictionary or a number and gets a string, bad things happen. What if the...

A view can only be on screen once at a time; you should use a separate image view for every cell as its dequeued.

I haven't noticed any memory issues when using this code. The point of reuse is to keep cells around for the duration of the gridview, anyway. It's rare for a...

Yeah, I made a comment on ticket #129, and saw Jon's comment on #127. Looking into it now. Wondering how I didn't notice this before, as well.

Could it have been a problem with my merge picking the wrong thing?

This (memory) should be addressed by https://github.com/kolinkrewinkel/KKGridView/pull/130

That was what I thought — I did find a bug in my code where I was only removing the update from dictionary in -removeUpdate:, not -removeUpdateForIndexPath: within KKGridViewUpdateStack. However,...

The pasted code by itself looks okay, but it also references other instance variables that aren't shown. We can't really guess at whats happening here and come up with a...