Ga direct naar inhoud.

Hans Pinckaers

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…

Multiple NSURLRequests with different cookies (asynchronous)

I searched the whole internet for a solution but I didn’t find one. Yet I managed to get it to work. My problem was that I had several NSURLRequests who had to connect to one internet webservice, without an API, so I had to login behind the scenes with the provided login form from the normal website. This webpage uses cookies, but the NSURLRequest object on the iPhone uses a shared cookie storage. I wanted to use different accounts on one webservices with each their own cookies. read more…