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
12
votes
6 answers

UITableViewCell content flickers while reloading cells individually

I have a table view linked to a NSFetchedResultController (i.e. loading data and also tracking changes to data is bound to the FRC) I'm not using AutoLayout in my cells (due to huge performance drop it introduces in iOS 8). I'm laying out my cells'…
M. Porooshani
  • 1,797
  • 5
  • 34
  • 42
8
votes
3 answers

'Failed to import bridging header', 'file not found', when archiving my project

I was having some trouble when archiving a project with a swift bridging header, and a framework. It was giving me errors, but only when I Archive. So I made a new project to test this further. Here are my steps: New swift project. Add an…
Andrew
  • 7,693
  • 11
  • 43
  • 81
6
votes
1 answer

Re-layout ASTableView from AsyncDisplayKit after downloading images using ASNetworkImageNode

Context: I am using AsyncDisplayKit to load a table with text and images. The images are downloaded from the Internet and the image sizes are unknown until the image is finished downloading. What I'm trying to do: After the image is finished…
5
votes
1 answer

Import of framework in swift bridging header not recognised upon archive

I import the Facebook AsyncDisplayKit framework into my app using the swift bridging header, like so: #import It's always worked fine for building and running my app, but when I go to archive, it gives me an…
Andrew
  • 7,693
  • 11
  • 43
  • 81
4
votes
0 answers

AsyncDisplayKit aka Texture v/s UIKit. Which is better and Why? - iOS

I have read about pros and cons of AsyncDisplayKit and UIKit. But I am still not sure that which one I should opt out. In my scenario, I have to create a view having collection view inside table view with so many images, videos and audios and action…
nikita
  • 145
  • 8
4
votes
2 answers

Detect Link or URL in ASTextNode AsyncDisplayKit

I been trying to use AsyncDisplayKit framework , I have an requirement to detect url's in text. I have used ASTextNode but couldn't find any api to detect links. I read that there is property linkAttributeNames used for url detection but unable to…
Mukesh
  • 3,680
  • 1
  • 15
  • 32
3
votes
1 answer

AsyncDisplayKit issue playing multiple video at the same time in Swift

I am using Texture (AsyncDisplayKit). In which, I have created ASTableNode and added pagination and I want to create video feed like tiktok. My code is working but two videos playing at a same time. I want one video should play at a time on full…
3
votes
1 answer

Activity indicator view disappears when scroll down

I make an overlay on a button with a custom node LoadingIndicatorNode this button is placed in an ASCellNode when I scroll down and up UIActivityIndicatorView from LoadingIndicatorNode disappears. Here is the code of LoadingIndicatorNode…
astrolka
  • 133
  • 1
  • 11
3
votes
1 answer

How can I Implement ASButtonNode target using RxSwift

I currently have a UIButton that uses rx.tap function of RxSwift to dismiss a UIVIewController button.rx.tap .subscribe(onNext: { [weak self] in self?.navigationController?.dismiss(animated: true, completion: nil) }) …
3
votes
4 answers

Change NSAttributedString html links color

Trying to display a ASTextNode (same as UILabel from AsyncDisplayKit) to display an html text. I simply have to set the label's attributed text. There is how i work my string : Using this extension i transform the HTML text into a…
user2206906
  • 1,310
  • 2
  • 13
  • 18
2
votes
0 answers

Trying to reload data for ASCollectionNode using AsyncDisplayKit / Texture

I am trying to properly refresh an ASCollectionNode from Texture/AsyncDisplayKit whenever a user pulls down to refresh or decides to filter what they see. By using Texture's shouldBatchFetch and willBeginBatchFetchWith delegate and setting the…
2
votes
1 answer

Replace/update layout in ASCollectionNode

I'm trying to switch layouts in a ASCollectionNode. When using standard UICollectionView you can call self.collectionView.setCollectionViewLayout(layout, animated: true) to replace/update existing layout. This, however, doesn't work with…
Pavlo Muratov
  • 317
  • 1
  • 14
2
votes
1 answer

ASyncDisplayKit - Multiple nodes in one container

Is it possible to have multiple Texture nodes inside one container? For example, I need to have an ASTableNode on the top half of a screen, and an ASDisplayNode with a UIView block underneath that. I have tried using an ASViewController with a…
Joel
  • 199
  • 2
  • 10
2
votes
1 answer

How to make a segment controller using AsyncDisplayKit in swift 3

I have two ASTableNode 1. Notifications tabelNode 2.Comments tabelNode now I want to make a segment controller as a sticky header on the table, when I click on Notifications segment the notificationTable should appear and when I click on comments…
Sipa
  • 383
  • 1
  • 13
2
votes
2 answers

ComponentKit vs AsyncdisplayKit

I'm developing a social app, there is a main feature, "feeds". so far It works with auto layout, everything is fine, but considering the cost of advanced development and maintenance in the future, I am looking for other async UI solutions. I think…
PatrickSCLin
  • 1,419
  • 3
  • 17
  • 45
1
2 3 4 5 6 7 8