Commit ae4ee5d5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Coding style fixes

parent c4861164
......@@ -18,9 +18,6 @@
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
self.title = @"";
}
return self;
}
......
......@@ -14,15 +14,18 @@
@implementation VLCExternalDisplayController
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{
return NO;
}
- (BOOL)shouldAutorotate {
- (BOOL)shouldAutorotate
{
return NO;
}
- (NSUInteger)supportedInterfaceOrientations {
- (NSUInteger)supportedInterfaceOrientations
{
return ~UIInterfaceOrientationMaskAll;
}
......
......@@ -124,9 +124,8 @@
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
{
if (touch.view != self.view) {
if (touch.view != self.view)
return NO;
}
return YES;
}
......
......@@ -90,9 +90,8 @@
static NSString *CellIdentifier = @"Cell";
VLCPlaylistTableViewCell *cell = (VLCPlaylistTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
if (cell == nil)
cell = [VLCPlaylistTableViewCell cellWithReuseIdentifier:CellIdentifier];
}
MLFile *object = _foundMedia[indexPath.row];
cell.titleLabel.text = object.title;
......
Markdown is supported
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