mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Added example of typical social app layout example
This commit is contained in:
22
examples/SocialAppLayout/Sample/CommentsNode.h
Normal file
22
examples/SocialAppLayout/Sample/CommentsNode.h
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// CommentsNode.h
|
||||
// Sample
|
||||
//
|
||||
// Created by Vitaly Baev on 06.11.15.
|
||||
// Copyright © 2015 Facebook. All rights reserved.
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
|
||||
@interface CommentsNode : ASControlNode {
|
||||
|
||||
ASImageNode *_iconNode;
|
||||
ASTextNode *_countNode;
|
||||
|
||||
NSInteger _comentsCount;
|
||||
|
||||
}
|
||||
|
||||
- (instancetype)initWithCommentsCount:(NSInteger)comentsCount;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user