Containers Overview Edit on GitHub
Use Nodes in Node Containers
For optimal performance, use nodes within a node container. ASDK offers the following node containers
ASViewControllerin place of UIKit'sUIViewControllerASCollectioNodein place of UIKit'sUICollectionViewASTableNodein place of UIKit'sUITableViewASPagerNodein place of UIKit'sUIPagerView
Examples
Examples of these node containers can be found in the sample projects. Example code and specific sample apps are highlighted in the documentation for each node container.
For a guide on porting your UIKit app to ASDK see Porting Your App (INCLUDE LINK).
For the More Curious Developer...
To optimize performance of an app, ASDK uses intelligent preloading to determine when content will become visible to a user. The node containers above asynchronously trigger data downloading, decoding and rendering of images and text before they reach the device's onscren display area. The node containers above manage all of this automatically for their subnodes. For reference, UIKit does not render images or text before content comes on screen.
It is possible to use nodes directly, without an ASDK container, but unless you add additional calls, they will only start displaying once they come onscreen, which can lead to performance degredation and flashing of content.