Skip to content

The network call will happen here and the fetched post data will be appended to ... #185

@todo

Description

@todo

// TODO: The network call will happen here and the fetched post data will be appended to the snapshot
let posts: [Post] = [.init(id: 1), .init(id: 2)]
var snapShot = NSDiffableDataSourceSnapshot<Section, Post>()
snapShot.appendSections([.main])
snapShot.appendItems(posts)
dataSource.apply(snapShot)


This issue was generated by todo based on a TODO comment in d362bdb when #183 was merged. cc @FightPandemics.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions