Home
fozu的技术站
Cancel

asdisplaynode-internalhelpers

ASInternalHelpers.mm IMP ASReplaceMethodWithBlock(Class c, SEL origSEL, id block) { NSCParameterAssert(block); // Get original method Method origMethod = class_getInstanceMethod(c, origSE...

asdisplaynode-underthescene

ASDisplayNode.mm view - (UIView *)view { AS::UniqueLock l(__instanceLock__); ASDisplayNodeAssert(!_flags.layerBacked, @"Call to -view undefined on layer-backed nodes"); BOOL isLayerBacked ...

asdisplaynode-responder

#define HANDLE_NODE_RESPONDER_METHOD(__sel) \ /* All responder methods should be called on the main thread */ \ ASDisplayNodeAssertMainThread(); \ if (checkFlag(Synchronous)) { \ /* If th...

asdisplaynode-placeholder

ASDisplayNode.mm _locked_layoutPlaceholderIfNecessary - (void)_locked_layoutPlaceholderIfNecessary { ASAssertLocked(__instanceLock__); if ([self _locked_shouldHavePlaceholderLayer]) { [se...

asdisplaynode-load

_locked_shouldLoadViewOrLayer - (BOOL)_locked_shouldLoadViewOrLayer { ASAssertLocked(__instanceLock__); return !_flags.isDeallocating && !(_hierarchyState & ASHierarchyStateRasteri...

asdisplaynode-layout

ASDisplayNode.mm canLayoutAsynchronous - (BOOL)canLayoutAsynchronous { return !self.isNodeLoaded; } __setNeedsLayout - (void)__setNeedsLayout { [self invalidateCalculatedLayout]; } inval...

asdisplaynode-interfaceState

ASDisplayNode+InterfaceState.h typedef NS_OPTIONS(NSUInteger, ASInterfaceState) { /** The element is not predicted to be onscreen soon and preloading should not be performed */ ASInterface...

asdisplaynode-hierarchy-state

ASDisplayNode.mm isInHierarchy - (BOOL)isInHierarchy { MutexLocker l(__instanceLock__); return _flags.isInHierarchy; } __enterHierarchy - (void)__enterHierarchy { ASDisplayNodeAssertMain...

asdisplaynode-display

ASDisplayNode.mm NSString * const ASRenderingEngineDidDisplayScheduledNodesNotification = @"ASRenderingEngineDidDisplayScheduledNodes"; NSString * const ASRenderingEngineDidDisplayNodesScheduledBe...

ijkplayer readme

repo install homebrew, git, yasm If you prefer more codec/format cd config rm module.sh ln -s module-default.sh module.sh cd android/contrib # cd ios sh compile-ffmpeg.sh clean ...