Overall improvements for the SocialAppLayout example

This commit is contained in:
Michael Schneider
2016-02-24 20:18:20 -08:00
parent 8418d8be24
commit 7dd2fbfad1
9 changed files with 148 additions and 204 deletions

View File

@@ -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;