More work on the metadata preferences.
This commit is contained in:
1 parent
e92b1e96ec
commit
bc773092f8
7 files changed
+465
-41
No files matched your search
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// SBMetadataDefaultSet.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 28/07/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBMetadataDefaultItem.h"
|
||||
|
||||
@implementation SBMetadataDefaultItem
|
||||
|
||||
- (instancetype)initWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_key = [key copy];
|
||||
_value = [value copy];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (instancetype)itemWithKey:(NSString *)key value:(NSArray *)value
|
||||
{
|
||||
return [[self alloc] initWithKey:key value:value];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user