Ga direct naar inhoud.

Hans Pinckaers

How to create a UITableViewCell with “copy” ability

It’s possible to copy the content of a UITableViewCell in the Contacts app of Apple. When you tap and hold you will see a small menu with “Copy”. I needed this functionality myself, so I subclassed the class. You are free to use this in any application, but it would be awesome if you mention me in the credits of your App. read more…

High performance rounded corner UITableView

The problem with the previous example was that I was using a second UIScrollView to scroll the UITableView and not the UITableView itself, which is a subclass of UIScrollView and highly optimized for scrolling.

Here is a solution. The advantage of this one is that it is fast, but it’s not that easy and straightforward. read more…

Reproducing a tableView like in Stocks/Spotlight/Weather

This article is outdated. You can find the better optimized tableView here: http://www.hanspinckaers.com/high-performance-rounded-corner-uitableview

To come straight out with it: the trick is

view.layer.cornerRadius = 10;

read more…