Questions tagged [asyncdisplaykit]

Texture (formerly known as AsyncDisplayKit) is an open source iOS framework built on top of UIKit for creating smooth asynchronous user interfaces.

Texture (formerly known as AsyncDisplayKit) is an open source iOS framework built on top of UIKit that keeps even the most complex user interfaces smooth and responsive.

It allows you to move image decoding, text sizing and rendering, layout, and other expensive UI operations off the main thread, to keep the main thread available to respond to user interaction.

AsyncDisplayKit, as it was originally known, was created by Facebook to power their Paper app. At present it is further developed by Pinterest with a new name called Texture.


Resources

Articles

Videos

114 questions
0
votes
1 answer

ASTableNode setSelected Change Background Color of ASDisplayNode in ios

I have used AsyncDisplayKit in my ios application. I am using ASTableNode of ASCellNode using ASVideoNode. It looks like perfect & working fine. But problem occurs when i enabled allowsMultipleSelectionDuringEditing and Select Row its change…
Nimisha Ranipa
  • 8,304
  • 2
  • 14
  • 29
0
votes
0 answers

Is it possible to overflow an ASImageNode in Texture?

Before implementing Texture/AsyncDisplayKit, I used a negative bottom space constraint to have a background image overflow from the collection view header. This caused the header element to appear like it was underneath first row of collection view…
ciffa
  • 39
  • 2
  • 8
0
votes
0 answers

Xcode Instruments: Color Blended Layers (pink vs red)

I've just made some view background not transparent. But the blended layer remained while testing in Instruments. Only the color of blended layer changed from red to pink. I haven't found what does pink color mean. Any thoughts? From…
iWheelBuy
  • 5,470
  • 2
  • 37
  • 71
0
votes
0 answers

ASCellNode and ASNetworkImageNode cause flickering

I have an ASNetworkImageNode inside an ASCellNode, the problem is that when I call tableNode.reloadData() this cause flickering in imageNode, if I change imageNode with flat ASDisplayNode, no flickering is showed. How can I fix this? this is the…
Luca Becchetti
  • 1,210
  • 1
  • 12
  • 28
0
votes
1 answer

Wrong display of horizontal layout inside ASCellNode

I have this code written using AsyncDisplayKit: override open func layoutSpecThatFits(_ constrainedSize: ASSizeRange) -> ASLayoutSpec { let horizonTitleDate = ASStackLayoutSpec(direction: .horizontal, spacing: 5, justifyContent: .start,…
Luca Becchetti
  • 1,210
  • 1
  • 12
  • 28
0
votes
1 answer

ASyncDisplayKit (Texture) - Resizing a visible node

I have an ASStackLayoutSpec as the container for numerous other nodes. One of those subnodes is an ASTextNode with a maximumNumberOfLines set to 4. If a user clicks a "Read More" button underneath, I want to be able to remove the max lines and…
Joel
  • 199
  • 2
  • 10
0
votes
1 answer

Texture ASCollectionDataSourceInterop + Swift

Trying to use ASCollectionDataSourceInterop to combine UICollectionViewCell and ASCellNode in one data source as it is described here http://texturegroup.org/docs/uicollectionviewinterop.html However I run into issue here, because func…
Andrius Steponavičius
  • 8,074
  • 3
  • 22
  • 25
0
votes
1 answer

How to set nodes layouts in AsyncDisplayKit

I am trying to set layouts for the nodes in AsyncDisplayKit for a userProfile setting but not getting the desired result. I have a userProfile image userName label setting button posts, comments and likes button I want to set all the nodes in…
Sipa
  • 383
  • 1
  • 13
0
votes
1 answer

horizontal layout with dynamic width to fill parent

I have horizontal layout with 3 Children, the first has fix size, the third has fix size and align to .end and the second in center have to fill all parent size. +-----mainnode------------------------------------+ | …
Luca Becchetti
  • 1,210
  • 1
  • 12
  • 28
0
votes
1 answer

Using Texture (AsyncDisplayKit) in Swift, How do i prevent a flicker when I scroll past the bottom of the last ASCellNode in an ASTableNode?

Using Texture (AsyncDisplayKit) in Swift, How do i prevent a flicker when I scroll past the bottom of the last ASCellNode in an ASTableNode? In my implementation, I found one issue. I am not overriding the UIScrollViewDelegate, and if I scroll past…
Sethmr
  • 3,046
  • 1
  • 24
  • 42
0
votes
1 answer

Control ASdisplayNode height is consistent with cell height

How do you make the control ASdisplayNode highly consistent with the cell? - (ASLayoutSpec *)layoutSpecThatFits:(ASSizeRange)constrainedSize{ NSMutableArray *rightArray =[[NSMutableArray alloc]initWithObjects:_titleNode, _descNode,nil]; [rightArray…
freda
  • 1
  • 3
0
votes
1 answer

AsyncDisplayKey - stacklayout doesnt shows on screen

I try to create stacklayout inside cellnode, but nothing shows on screen class Node: ASCellNode { let blackNode = ASDisplayNode() let blueNode = ASDisplayNode() override init() { super.init() self.addSubnode(blueNode) …
Alexey K
  • 6,537
  • 18
  • 60
  • 118
0
votes
1 answer

How can i add authentication header in asnetworkimagenode url request?

I'm using AsyncDisplaykit in my swift application and ASNetworkImageNode as my imageview in collectionNode. I can load any external url with great performance but for my application I need to communicate with our api which requires authentication…
Nutan Niraula
  • 156
  • 1
  • 7
0
votes
1 answer

AsyncDisplayKit ASButtonNode how to set buttonType

I want to get a buttonNode as same as UIButton(type: .system). how to set it
Mr.Laity
  • 133
  • 1
  • 8
0
votes
0 answers

How to layout parent of ASDisplayNode in AsyncDisplayKit?

i want to do like on this picture: i do templateDisplayNode: @interface TemplateDisplayNode : ASDisplayNode @property (nonatomic, strong) ASDisplayNode *headerNode; @property (nonatomic, strong) ASDisplayNode *ContentNode; -…
arsenium
  • 571
  • 1
  • 7
  • 20