mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-11 23:14:48 +00:00
25 lines
904 B
Objective-C
25 lines
904 B
Objective-C
//
|
|
// CommentModel.h
|
|
// ASDKgram
|
|
//
|
|
// Created by Hannah Troisi on 3/9/16.
|
|
// Copyright © 2016 Hannah Troisi. All rights reserved.
|
|
//
|
|
|
|
@interface CommentModel : NSObject
|
|
|
|
@property (nonatomic, assign, readonly) NSUInteger ID;
|
|
@property (nonatomic, assign, readonly) NSUInteger commenterID;
|
|
@property (nonatomic, strong, readonly) NSString *commenterUsername;
|
|
@property (nonatomic, strong, readonly) NSString *commenterAvatarURL;
|
|
@property (nonatomic, strong, readonly) NSString *body;
|
|
@property (nonatomic, strong, readonly) NSString *uploadDateString;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
- (instancetype)initWithDictionary:(NSDictionary *)photoDictionary NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (NSAttributedString *)commentAttributedString;
|
|
- (NSAttributedString *)uploadDateAttributedStringWithFontSize:(CGFloat)size;
|
|
|
|
@end
|