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

AsyncDisplayKit Error (Using ASDK as static Library)

I have added the ASDK as a static library to my project. I want to test it out so I add a ASTextnode. I then get the following errors and I do not know why. Any help would be appreciated Ld…
athanatos
  • 9
  • 3
0
votes
0 answers

Setting backgroundColor on ASScrollNode, draws black background

I have a few instances of ASScrollNodes in my UIScrollViewController, and in my viewDidLayoutSubviews I'm doing the following, where someScrollNode is an instance of ASSCrollNode: someScrollNode.backgroundColor = UIColor.redColor() However when the…
0
votes
1 answer

AsyncDisplayKit CellNode setting highlighted color

I'm using Async Display Kit to display cell nodes in an ASTableView. How can I set a custom color for the cell node's selected state. With normal tableView cells I would just override (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated…
user3719120
  • 97
  • 1
  • 7
0
votes
1 answer

calculatedSize of ASNetworkImageNode bigger than the constrainedSize after -measure

I have an ASNetworkImageNode that goes inside of a collection view that has a constrainedSize of (320, 320), but after measuring the log shows that image.calculatedSize is (375, 375). Is there something I'm doing wrong here? #pragma mark -…
jimmy
  • 159
  • 2
  • 7
0
votes
2 answers

Add padding around ASTextNode

I am working with AsyncDisplayKit (for the first time) and have an ASTextNode inside a ASCellNode. I want to adding padding or an inset around the text inside the ASTextNode. I attempted to wrap it with a ASDisplayNode but whenever I calculated it's…
CWitty
  • 4,488
  • 3
  • 23
  • 40
0
votes
0 answers

I'm having trouble adding AsyncDisplayKit to my Xcode project

I've been here a few times in the past and was hoping to get some help from you guys. I have experience in Xcode and iOS but I have just come a cross cocoapods. I want to use AsyncDisplayKit and I've added it in my podfile like they explain on their…
viktorg
  • 115
  • 1
  • 9
0
votes
2 answers

Dispatch Barrier on Main Queue

So I am reading Facebook's awesome AsyncDisplayKit source code. Specifically, I am reading the implementation behind ASDealloc2MainObject. One thing caught my eye. In _AS-objc-internal.h, line 423 to 424, there is the programmer dispatching some…
-1
votes
1 answer

Texture(AsyncDisplayKit)

I am using Texture(AsyncDisplayKit) But i am facing one problem in below code let videoNode = ASVideoNode() Error is: Use of unresolved identifier 'ASVideoNode' I used pod "Texture" for installation And also added #import…
Neelam Pursnani
  • 246
  • 3
  • 17
-3
votes
1 answer

Swift - Is it possible to move to the next cell in tableview with the click of a button?

I have a tableview and custom cells which take up the fullscreen however I am wondering if upon click of a button in my cells I could move to the next cell automatically, kind of like how when you scroll more than half in TikTok it automatically…
1 2 3 4 5 6 7
8