Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
c58ebdcb
Commit
c58ebdcb
authored
Mar 28, 2013
by
Felix Paul Kühne
Browse files
AspenProject: introduce the APLog makro so we don't spam release builds with debug messages
parent
73ceb365
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/AspenProject-Prefix.pch
View file @
c58ebdcb
...
...
@@ -12,3 +12,9 @@
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
#ifndef NDEBUG
#define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define APLog(format, ...)
#endif
\ No newline at end of file
AspenProject/VLCPlaylistViewController.m
View file @
c58ebdcb
...
...
@@ -80,7 +80,7 @@
-
(
NSInteger
)
tableView
:(
UITableView
*
)
tableView
numberOfRowsInSection
:(
NSInteger
)
section
{
NS
Log
(
@"found %u media"
,
_foundMedia
.
count
);
AP
Log
(
@"found %u media"
,
_foundMedia
.
count
);
return
_foundMedia
.
count
;
}
...
...
@@ -97,10 +97,9 @@
}
}
MLFile
*
object
=
_foundMedia
[
indexPath
.
row
];
cell
.
textLabel
.
text
=
object
.
title
;
NS
Log
(
@"returning cell with title %@"
,
object
.
title
);
AP
Log
(
@"returning cell with title %@"
,
object
.
title
);
return
cell
;
}
...
...
@@ -153,7 +152,7 @@
#pragma mark - UI implementation
-
(
void
)
showAboutView
:(
id
)
sender
{
NS
Log
(
@"asked to show the about view"
);
AP
Log
(
@"asked to show the about view"
);
}
@end
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