Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
33805196
Commit
33805196
authored
May 03, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slightly prettify grid view
parent
e37dfae6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
AspenProject/VLCPlaylistViewController.h
AspenProject/VLCPlaylistViewController.h
+0
-1
AspenProject/VLCPlaylistViewController.m
AspenProject/VLCPlaylistViewController.m
+7
-9
No files found.
AspenProject/VLCPlaylistViewController.h
View file @
33805196
...
...
@@ -14,7 +14,6 @@
@interface
VLCPlaylistViewController
:
UIViewController
<
AQGridViewDataSource
,
AQGridViewDelegate
,
UITableViewDataSource
,
UITableViewDelegate
>
@property
(
nonatomic
,
strong
)
VLCMovieViewController
*
movieViewController
;
@property
(
nonatomic
,
strong
)
VLCAboutViewController
*
aboutViewController
;
...
...
AspenProject/VLCPlaylistViewController.m
View file @
33805196
...
...
@@ -22,13 +22,12 @@
-
(
id
)
initWithNibName
:(
NSString
*
)
nibNameOrNil
bundle
:(
NSBundle
*
)
nibBundleOrNil
{
self
=
[
super
initWithNibName
:
nibNameOrNil
bundle
:
nibBundleOrNil
];
if
(
self
)
{
if
(
self
)
self
.
title
=
@"Aspen"
;
}
return
self
;
}
-
(
void
)
viewDidLoad
{
self
.
tableView
.
rowHeight
=
[
VLCPlaylistTableViewCell
heightOfCell
];
...
...
@@ -42,12 +41,12 @@
[
self
updateViewContents
];
[[
MLMediaLibrary
sharedMediaLibrary
]
libraryDidAppear
];
}
-
(
void
)
didReceiveMemoryWarning
{
[
super
didReceiveMemoryWarning
];
// Dispose of any resources that can be recreated.
if
([[
UIDevice
currentDevice
]
userInterfaceIdiom
]
==
UIUserInterfaceIdiomPad
)
{
_gridView
.
separatorStyle
=
AQGridViewCellSeparatorStyleEmptySpace
;
_gridView
.
alwaysBounceVertical
=
YES
;
_gridView
.
indicatorStyle
=
UIScrollViewIndicatorStyleWhite
;
}
}
#pragma mark - Table View
...
...
@@ -56,7 +55,6 @@
{
[[
MLMediaLibrary
sharedMediaLibrary
]
updateMediaDatabase
];
_foundMedia
=
[
NSMutableArray
arrayWithArray
:[
MLFile
allFiles
]];
if
([[
UIDevice
currentDevice
]
userInterfaceIdiom
]
==
UIUserInterfaceIdiomPhone
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment