mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Overall improvements for the SocialAppLayout example
This commit is contained in:
@@ -10,28 +10,10 @@
|
||||
*/
|
||||
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
#import "Post.h"
|
||||
|
||||
@class LikesNode;
|
||||
@class CommentsNode;
|
||||
@class Post;
|
||||
|
||||
@interface PostNode : ASCellNode <ASTextNodeDelegate> {
|
||||
|
||||
Post *_post;
|
||||
|
||||
ASDisplayNode *_divider;
|
||||
ASTextNode *_nameNode;
|
||||
ASTextNode *_usernameNode;
|
||||
ASTextNode *_timeNode;
|
||||
ASTextNode *_postNode;
|
||||
ASImageNode *_viaNode;
|
||||
ASNetworkImageNode *_avatarNode;
|
||||
ASNetworkImageNode *_mediaNode;
|
||||
LikesNode *_likesNode;
|
||||
CommentsNode *_commentsNode;
|
||||
ASImageNode *_optionsNode;
|
||||
|
||||
}
|
||||
@interface PostNode : ASCellNode
|
||||
|
||||
- (instancetype)initWithPost:(Post *)post;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user