From e6ea5922d6f49be2cb9bef039044f46e99018323 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Fri, 12 Aug 2011 17:42:09 +0200 Subject: [PATCH] Add MAMedia name property --- .../MADocument.xcdatamodel/contents | 25 ++++++++++--------- Medianno/MAMedia.h | 1 + Medianno/MAMedia.mm | 1 + 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Medianno/MADocument.xcdatamodeld/MADocument.xcdatamodel/contents b/Medianno/MADocument.xcdatamodeld/MADocument.xcdatamodel/contents index 1816625..44e4d8d 100644 --- a/Medianno/MADocument.xcdatamodeld/MADocument.xcdatamodel/contents +++ b/Medianno/MADocument.xcdatamodeld/MADocument.xcdatamodel/contents @@ -1,35 +1,36 @@ - - - + + + - + - - - + + + + - + - - + + - + - + diff --git a/Medianno/MAMedia.h b/Medianno/MAMedia.h index a92f60e..a383996 100644 --- a/Medianno/MAMedia.h +++ b/Medianno/MAMedia.h @@ -15,6 +15,7 @@ @private } @property (nonatomic, retain) NSString * media; +@property (nonatomic, retain) NSString * name; @property (nonatomic) NSTimeInterval date; @property (nonatomic, retain) NSString * notes; @property (nonatomic, retain) NSSet *annotations; diff --git a/Medianno/MAMedia.mm b/Medianno/MAMedia.mm index 4ec3787..eba76e6 100644 --- a/Medianno/MAMedia.mm +++ b/Medianno/MAMedia.mm @@ -13,6 +13,7 @@ @implementation MAMedia @dynamic media; +@dynamic name; @dynamic date; @dynamic notes; @dynamic annotations;