Methods and system for collection view update handling using a diffable data source

    公开(公告)号:US11341125B2

    公开(公告)日:2022-05-24

    申请号:US16724056

    申请日:2019-12-20

    Applicant: Apple Inc.

    Abstract: This application relates to updating collection views in a computing device. A method includes receiving a first data array of a current view of a data collection and receiving a second data array of a future view of the data collection. The method also includes generating a difference data array that, based on a determination that the first data array element is equal to the second data array element, includes the second data array element. The method also includes, based on whether the first data array element is not included in the second data array and/or the second data array element is not included in the first data array, indicating, in the difference data array, that the first data array element is not in the future view or that the second data array element is not in the current view.

Patent Agency Ranking