Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
b4692d53
Commit
b4692d53
authored
Oct 13, 2015
by
Felix Paul Kühne
Browse files
Fix runtime exception
parent
03a07661
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaylistViewController.m
View file @
b4692d53
...
...
@@ -768,7 +768,10 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
-
(
UICollectionViewCell
*
)
collectionView
:(
UICollectionView
*
)
collectionView
cellForItemAtIndexPath
:(
NSIndexPath
*
)
indexPath
{
VLCPlaylistCollectionViewCell
*
cell
=
[
collectionView
dequeueReusableCellWithReuseIdentifier
:
@"PlaylistCell"
forIndexPath
:
indexPath
];
cell
.
mediaObject
=
_foundMedia
[
indexPath
.
row
];
NSUInteger
row
=
indexPath
.
row
;
if
(
row
<
_foundMedia
.
count
)
cell
.
mediaObject
=
_foundMedia
[
row
];
cell
.
collectionView
=
_collectionView
;
[
cell
setEditing
:
self
.
editing
animated
:
NO
];
...
...
Felix Paul Kühne
@fkuehne
mentioned in commit
cddcabb7
·
Oct 15, 2015
mentioned in commit
cddcabb7
mentioned in commit cddcabb7f47206a489b5ff6d2f4de94afb57c33c
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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