Commit 7a5780e2 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

network list controller: expose cell identifier

parent 5b742eda
......@@ -12,6 +12,8 @@
@class VLCNetworkListCell;
extern NSString *VLCNetworkListCellIdentifier;
@interface VLCNetworkListViewController : UIViewController
@property (nonatomic, strong) UITableView *tableView;
......
......@@ -14,6 +14,8 @@
#import "VLCNetworkListViewController.h"
#import "VLCNetworkListCell.h"
NSString *VLCNetworkListCellIdentifier = @"VLCNetworkListCellIdentifier";
@interface VLCNetworkListViewController () <UITableViewDataSource, UITableViewDelegate, UISearchBarDelegate, UISearchDisplayDelegate>
{
NSMutableArray *_searchData;
......@@ -31,6 +33,7 @@
_tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
_tableView.delegate = self;
_tableView.dataSource = self;
_tableView.opaque = YES;
_tableView.rowHeight = [VLCNetworkListCell heightOfCell];
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
_tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment