Remove some unrelated properties.
This commit is contained in:
1 parent
99edb689d0
commit
5ba205be44
2 files changed
+4
-19
No files matched your search
+1
-9
@@ -20,10 +20,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
NSMutableArray<MP42Image *> *artworks;
|
||||
|
||||
NSArray<NSURL *> *artworkThumbURLs;
|
||||
NSArray<NSURL *> *artworkFullsizeURLs;
|
||||
NSArray<NSString *> *artworkProviderNames;
|
||||
|
||||
NSString *ratingiTunesCode;
|
||||
|
||||
uint8_t mediaKind;
|
||||
@@ -48,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/**
|
||||
* Returns the complete list of available metadata.
|
||||
*/
|
||||
- (NSArray<NSString *> *) availableMetadata;
|
||||
+ (NSArray<NSString *> *) availableMetadata;
|
||||
|
||||
/**
|
||||
* Returns the complete list of writable metadata.
|
||||
@@ -90,10 +86,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@property(nonatomic, readwrite, retain) NSMutableArray<MP42Image *> *artworks;
|
||||
|
||||
@property(nonatomic, readwrite, retain, nullable) NSArray<NSURL *> *artworkThumbURLs;
|
||||
@property(nonatomic, readwrite, retain, nullable) NSArray<NSURL *> *artworkFullsizeURLs;
|
||||
@property(nonatomic ,readwrite, retain, nullable) NSArray<NSString *> *artworkProviderNames;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+3
-10
@@ -195,9 +195,6 @@ static const genreType_t genreType_strings[] = {
|
||||
@synthesize artworks;
|
||||
|
||||
@synthesize isArtworkEdited;
|
||||
@synthesize artworkThumbURLs;
|
||||
@synthesize artworkFullsizeURLs;
|
||||
@synthesize artworkProviderNames;
|
||||
|
||||
@synthesize mediaKind;
|
||||
@synthesize contentRating;
|
||||
@@ -247,10 +244,6 @@ static const genreType_t genreType_strings[] = {
|
||||
|
||||
[artworks release];
|
||||
|
||||
[artworkThumbURLs release];
|
||||
[artworkFullsizeURLs release];
|
||||
[artworkProviderNames release];
|
||||
|
||||
[ratingiTunesCode release];
|
||||
[tagsDict release];
|
||||
|
||||
@@ -259,7 +252,7 @@ static const genreType_t genreType_strings[] = {
|
||||
|
||||
#pragma mark - Supported metadata
|
||||
|
||||
- (NSArray<NSString *> *) availableMetadata
|
||||
+ (NSArray<NSString *> *) availableMetadata
|
||||
{
|
||||
return @[
|
||||
@"Name",
|
||||
@@ -547,9 +540,9 @@ static const genreType_t genreType_strings[] = {
|
||||
}
|
||||
|
||||
- (NSArray<NSString *> *)availableGenres {
|
||||
return [NSArray arrayWithObjects: @"Animation", @"Classic TV", @"Comedy", @"Drama",
|
||||
return @[@"Animation", @"Classic TV", @"Comedy", @"Drama",
|
||||
@"Fitness & Workout", @"Kids", @"Non-Fiction", @"Reality TV", @"Sci-Fi & Fantasy",
|
||||
@"Sports", nil];
|
||||
@"Sports"];
|
||||
}
|
||||
|
||||
#pragma mark - Mutators
|
||||
|
||||
Reference in new issue
Block a user