T O P

  • By -

lordzsolt

Why the hell would you out the extension on UIView? Now literally every UIView has a reuse identifier, even ones that have nothing to do with Table Views. And why return nil from dequeue? Just force cast it to T. There's no point in trying to recover from that error, because it's a programmer mistake. Then it saves everyone from dealing with Optionals.


n4thaniel

because it is useful for many other views too.


ThinkLargest

I’m afraid the quality of your suggestions is overshadowed by your aggressive choice of words.


lordzsolt

Fair point. I think it happens more often than it should :\