![]() ![]() For more about Combine see Apple Combine docs here. It'll be particularly helpful to understand Combine publishers work, receiving and handling events in Combine, and how cancellables work to complete this guide. Combine: Spaces Swift SDK exposes state updates via an event-based API that uses Combine, an Apple framework for declaratively processing values over time.Check out this dedicated guide from Apple on working UICollectionView and UICollectionViewDiffableDataSource. Collection View Diffable Data Sources: To build a UI driven by real-time updates this guide sets up a diffable data source to consume events from a Space.For more on UICollectionView check out a dedicated series of guides and sample code from Apple. Collection Views: We'll use basic features of UICollectionView and UICollectionViewLayout to display videos from participants in a grid.We are working on a SwiftUI version of this guide as well as an example project, watch this space! We should also mention that storyboards aren't required to use the Spaces SDK in your app! The example app includes a more complex UI section that does not use Storyboards. ![]() This retired but still helpful Apple document dicusses important terms like scene that are referred to in the guide. For more check out this comprehensive Apple WWDC video on working with Interface Builder and Storyboards in Xcode. Xcode Interface Builder and Storyboard: We're editing a storyboard using interface builder in this example. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |