33 lines
508 B
Plaintext
33 lines
508 B
Plaintext
//
|
|
// MAMedia.m
|
|
// Medianno
|
|
//
|
|
// Created by Matthias Neeracher on 8/10/11.
|
|
// Copyright (c) 2011 Apple Computer. All rights reserved.
|
|
//
|
|
|
|
#import "MAMedia.h"
|
|
#import "MAAnno.h"
|
|
#import "MAFolder.h"
|
|
|
|
|
|
@implementation MAMedia
|
|
@dynamic media;
|
|
@dynamic name;
|
|
@dynamic date;
|
|
@dynamic notes;
|
|
@dynamic annotations;
|
|
@dynamic folder;
|
|
|
|
+ (NSSet *)keyPathsForValuesAffectingMovie
|
|
{
|
|
return [NSSet setWithObject:@"media"];
|
|
}
|
|
|
|
- (QTMovie *)movie
|
|
{
|
|
return [QTMovie movieWithFile:self.media error:nil];
|
|
}
|
|
|
|
@end
|