mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
cleaned up model, view files
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user