Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Sergey
VLC-iOS
Commits
3096f0e3
Commit
3096f0e3
authored
Dec 14, 2017
by
Carola Nitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCPlaylistTableViewCell: set the selectedBackgroundColor to clear and remove unused class method
parent
d9908ba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
Sources/VLCPlaylistTableViewCell.h
Sources/VLCPlaylistTableViewCell.h
+0
-1
Sources/VLCPlaylistTableViewCell.m
Sources/VLCPlaylistTableViewCell.m
+7
-12
No files found.
Sources/VLCPlaylistTableViewCell.h
View file @
3096f0e3
...
...
@@ -29,7 +29,6 @@ static NSString *kPlaylistCellIdentifier = @"PlaylistCell";
@property
(
nonatomic
,
strong
)
NSManagedObject
*
mediaObject
;
+
(
VLCPlaylistTableViewCell
*
)
cellWithReuseIdentifier
:(
NSString
*
)
ident
;
+
(
CGFloat
)
heightOfCell
;
-
(
void
)
collapsWithAnimation
:(
BOOL
)
animate
;
...
...
Sources/VLCPlaylistTableViewCell.m
View file @
3096f0e3
...
...
@@ -26,22 +26,17 @@
@implementation
VLCPlaylistTableViewCell
-
(
void
)
dealloc
-
(
void
)
awakeFromNib
{
[
self
_removeObserver
];
[
super
awakeFromNib
];
UIView
*
bgColorView
=
[[
UIView
alloc
]
init
];
bgColorView
.
backgroundColor
=
[
UIColor
clearColor
];
[
self
setSelectedBackgroundView
:
bgColorView
];
}
+
(
VLCPlaylistTableViewCell
*
)
cellWithReuseIdentifier
:(
NSString
*
)
ident
-
(
void
)
dealloc
{
NSArray
*
nibContentArray
;
nibContentArray
=
[[
NSBundle
mainBundle
]
loadNibNamed
:
@"VLCPlaylistTableViewCell"
owner
:
nil
options
:
nil
];
NSAssert
([
nibContentArray
count
]
==
1
,
@"meh"
);
NSAssert
([[
nibContentArray
lastObject
]
isKindOfClass
:[
VLCPlaylistTableViewCell
class
]],
@"meh meh"
);
VLCPlaylistTableViewCell
*
cell
=
(
VLCPlaylistTableViewCell
*
)[
nibContentArray
lastObject
];
cell
.
multipleSelectionBackgroundView
=
[[
UIView
alloc
]
initWithFrame
:
cell
.
frame
];
cell
.
metaDataLabel
.
hidden
=
YES
;
return
cell
;
[
self
_removeObserver
];
}
-
(
void
)
prepareForReuse
...
...
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