More work on the metadata preferences.

This commit is contained in:
Damiano Galassi committed 2016-07-28 13:32:15 +02:00
1 parent e92b1e96ec
commit bc773092f8
7 files changed
+465 -41

No files matched your search

+28
View File
@@ -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