cleaned up model, view files

This commit is contained in:
Hannah Troisi
2016-03-29 13:00:44 -07:00
parent 0f4481718c
commit 53741a4e0a
17 changed files with 44 additions and 524 deletions

View File

@@ -10,18 +10,8 @@
#import <CoreLocation/CLLocation.h>
#import "PhotoModel.h"
@protocol PhotoTableViewCellProtocol <NSObject>
- (void)userProfileWasTouchedWithUser:(UserModel *)user;
- (void)photoLocationWasTouchedWithCoordinate:(CLLocationCoordinate2D)coordiantes name:(NSAttributedString *)name;
- (void)cellWasLongPressedWithPhoto:(PhotoModel *)photo;
- (void)photoLikesWasTouchedWithPhoto:(PhotoModel *)photo;
@end
@interface PhotoTableViewCell : UITableViewCell
@property (nonatomic, strong, readwrite) id<PhotoTableViewCellProtocol> delegate;
+ (CGFloat)heightForPhotoModel:(PhotoModel *)photo withWidth:(CGFloat)width;
- (void)updateCellWithPhotoObject:(PhotoModel *)photo;