I used facebook's AsyncDisplayKi
t to run my project, Where I found a sample project named "ASDKgram". It uses Nodes instead of TableViewCells. By default, the 'AsTableNodes
' aka TableView are displayed to the bounds of the screen.
I want my tableView
or AsTableNodes
to be displayed 10pixels
from each edge of the uiScreen.
Question: How can I create the AsTableNodes with that specific frame?
If anybody had already gone through the AsyncDisplayKit
, Please respond with an answer.
Here is the link to that project https://github.com/facebook/AsyncDisplayKit/tree/master/examples/ASDKgram
Thanks in Advance.
Use ASCollectionNode
First, replace
with
Then add this to ASViewController
Result: