PrettyShadowPlainTableview Class Reference
Inherits from | UIView |
Declared in | PrettyShadowPlainTableview.h |
Overview
PrettyShadowPlainTableview
is a subclass of UIView
that drops a top
or bottom shadow to use with plain tables.
Just call setUpTableView:
and everything will be done for you.
Tasks
-
+ shadowForPosition:
Returns an autoreleased instance of PrettyShadowPlainTableview configured to the specified position on the table view.
-
+ setUpTableView:
Configures automatically the given tableView by dropping a shadow in both header and footer. It will also change the tableView
contentInset
according to the shadows' height. -
+ height
Returns the view’s height.
Class Methods
setUpTableView:
Configures automatically the given tableView by dropping a shadow in both
header and footer. It will also change the tableView contentInset
according
to the shadows' height.
+ (void)setUpTableView:(UITableView *)tableView
Declared In
PrettyShadowPlainTableview.h
shadowForPosition:
Returns an autoreleased instance of PrettyShadowPlainTableview configured to the specified position on the table view.
+ (id)shadowForPosition:(PrettyShadowPlainTableviewPosition)position
Discussion
Position can be:
PrettyShadowPlainTableviewPositionHeader
: the view will be used on the tableView’s header.PrettyShadowPlainTableviewPositionFooter
: the view will be used on the tableView’s footer.
Declared In
PrettyShadowPlainTableview.h