Is it possible to access a UITableView's ScrollView In Code From A Nib?

A UITableView doesn't have a UIScrollView, it is a UIScrollView. UITableView is a subclass of UIScrollView as can be seen it the documentation. Any properties of functionality of UIScrollView you want to access can be directly accessed via the table view.

Similarly, UITableViewDelegates are all UIScrollViewDelegates.


You can add a corner radius to any view's layer. It would look something like this:

theTableView.layer.cornerRadius = 10.0f; // Or whatever radius you wanted to set

I believe you'll need to link to the QuartzCore framework and import the QuartzCore.h header, too.

This will round the corners of the table similar to how they appear in the flipside of Weather.app.