Bind QTMovieView
This commit is contained in:
parent
e3cdf6d868
commit
d38639bdc9
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <CoreData/CoreData.h>
|
#import <CoreData/CoreData.h>
|
||||||
|
#import <QTKit/QTKit.h>
|
||||||
|
|
||||||
@class MAAnno, MAFolder;
|
@class MAAnno, MAFolder;
|
||||||
|
|
||||||
|
@ -20,6 +21,10 @@
|
||||||
@property (nonatomic, retain) NSString * notes;
|
@property (nonatomic, retain) NSString * notes;
|
||||||
@property (nonatomic, retain) NSSet *annotations;
|
@property (nonatomic, retain) NSSet *annotations;
|
||||||
@property (nonatomic, retain) MAFolder *folder;
|
@property (nonatomic, retain) MAFolder *folder;
|
||||||
|
|
||||||
|
- (QTMovie *)movie;
|
||||||
|
+ (NSSet *)keyPathsForValuesAffectingMovie;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface MAMedia (CoreDataGeneratedAccessors)
|
@interface MAMedia (CoreDataGeneratedAccessors)
|
||||||
|
|
|
@ -19,4 +19,14 @@
|
||||||
@dynamic annotations;
|
@dynamic annotations;
|
||||||
@dynamic folder;
|
@dynamic folder;
|
||||||
|
|
||||||
|
+ (NSSet *)keyPathsForValuesAffectingMovie
|
||||||
|
{
|
||||||
|
return [NSSet setWithObject:@"media"];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (QTMovie *)movie
|
||||||
|
{
|
||||||
|
return [QTMovie movieWithFile:self.media error:nil];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user