Expanded comments and cleaned up more TODO's. Just a couple of bug fixes left in RestKit and styling work on this app!

This commit is contained in:
Blake Watters
2011-01-20 21:15:40 -05:00
parent ebd23559bb
commit 35df41ec25
10 changed files with 44 additions and 27 deletions

View File

@@ -10,6 +10,9 @@
#import <RestKit/CoreData/CoreData.h>
#import "DBUser.h"
// Posted when a content object has changed
extern NSString* const DBContentObjectDidChangeNotification;
/**
* Abstract superclass for content models in the Discussion Board. Provides
* common property & method definitions for the system

View File

@@ -8,6 +8,8 @@
#import "DBContentObject.h"
NSString* const DBContentObjectDidChangeNotification = @"DBContentObjectDidChangeNotification";
@implementation DBContentObject
@dynamic userID;

View File

@@ -91,4 +91,9 @@
*/
@property (nonatomic, retain) UIImage* newAttachment;
/**
* Returns YES when there is already an Image attached to this Post
*/
- (BOOL)hasAttachment;
@end

View File

@@ -99,4 +99,8 @@
return params;
}
- (BOOL)hasAttachment {
return NO == [[self attachmentPath] isWhitespaceAndNewlines];
}
@end