mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-15 16:36:36 +00:00
28 lines
753 B
Objective-C
28 lines
753 B
Objective-C
//
|
|
// CommentFeedModel.h
|
|
// ASDKgram
|
|
//
|
|
// Created by Hannah Troisi on 3/9/16.
|
|
// Copyright © 2016 Hannah Troisi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "CommentModel.h"
|
|
|
|
@interface CommentFeedModel : NSObject
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
- (instancetype)initWithPhotoID:(NSString *)photoID NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (NSUInteger)numberOfItemsInFeed;
|
|
- (CommentModel *)objectAtIndex:(NSUInteger)index;
|
|
|
|
- (NSUInteger)numberOfCommentsForPhoto;
|
|
- (BOOL)numberOfCommentsForPhotoExceedsInteger:(NSUInteger)number;
|
|
- (NSAttributedString *)viewAllCommentsAttributedString;
|
|
|
|
- (void)requestPageWithCompletionBlock:(void (^)(NSArray *))block;
|
|
- (void)refreshFeedWithCompletionBlock:(void (^)(NSArray *))block;
|
|
|
|
@end
|