Medianno/Medianno/MAMedia.mm
Matthias Neeracher d38639bdc9 Bind QTMovieView
2011-08-12 20:31:35 +02:00

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