mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-06 12:43:58 +00:00
Expose public properties properly
Reviewers: rmalik Reviewed By: rmalik Differential Revision: https://phabricator.pinadmin.com/D82227
This commit is contained in:
parent
3bcbfb149d
commit
beba9031ef
@ -8,22 +8,9 @@
|
||||
|
||||
#import "ASImageNode.h"
|
||||
|
||||
#import "ASThread.h"
|
||||
|
||||
@interface ASImageNode ()
|
||||
{
|
||||
ASDN::RecursiveMutex _animatedImageLock;
|
||||
ASDN::Mutex _displayLinkLock;
|
||||
ASAnimatedImage *_animatedImage;
|
||||
CADisplayLink *_displayLink;
|
||||
|
||||
//accessed on main thread only
|
||||
CFTimeInterval _playHead;
|
||||
NSUInteger _playedLoops;
|
||||
}
|
||||
|
||||
@property (atomic, assign) BOOL animatedImagePaused;
|
||||
@property (atomic, assign) CFTimeInterval lastDisplayLinkFire;
|
||||
|
||||
@end
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#import "ASDisplayNodeExtras.h"
|
||||
#import "ASEqualityHelpers.h"
|
||||
#import "ASDisplayNode+FrameworkPrivate.h"
|
||||
#import "ASImageNode+AnimatedImagePrivate.h"
|
||||
|
||||
@interface ASWeakProxy : NSObject
|
||||
|
||||
|
23
AsyncDisplayKit/ASImageNode+AnimatedImagePrivate.h
Normal file
23
AsyncDisplayKit/ASImageNode+AnimatedImagePrivate.h
Normal file
@ -0,0 +1,23 @@
|
||||
//
|
||||
// ASImageNode+AnimatedImagePrivate.h
|
||||
// Pods
|
||||
//
|
||||
// Created by Garrett Moon on 3/30/16.
|
||||
//
|
||||
//
|
||||
|
||||
@interface ASImageNode ()
|
||||
{
|
||||
ASDN::RecursiveMutex _animatedImageLock;
|
||||
ASDN::Mutex _displayLinkLock;
|
||||
ASAnimatedImage *_animatedImage;
|
||||
CADisplayLink *_displayLink;
|
||||
|
||||
//accessed on main thread only
|
||||
CFTimeInterval _playHead;
|
||||
NSUInteger _playedLoops;
|
||||
}
|
||||
|
||||
@property (atomic, assign) CFTimeInterval lastDisplayLinkFire;
|
||||
|
||||
@end
|
@ -16,8 +16,9 @@
|
||||
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
||||
#import <AsyncDisplayKit/ASDisplayNodeExtras.h>
|
||||
#import <AsyncDisplayKit/ASDisplayNode+Beta.h>
|
||||
#import <AsyncDisplayKit/ASImageNode+AnimatedImage.h>
|
||||
#import <AsyncDisplayKit/ASTextNode.h>
|
||||
#import <AsyncDisplayKit/ASImageNode+AnimatedImage.h>
|
||||
#import <AsyncDisplayKit/ASImageNode+AnimatedImagePrivate.h>
|
||||
|
||||
#import "ASImageNode+CGExtras.h"
|
||||
#import "AsyncDisplayKit+Debug.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user