Skip to content

Improve component appearance and disappearance events #559

Open

Description

@eczarny

Appearance/disappearance events can be inconsistent and unreliable, likely due to the fact they are typically driven by the underlying UICollectionView. We should investigate better alternatives that satisfy the following properties:

  1. Components that are added while a tree is onscreen should receive a -[CKComponentController componentTreeWillAppear] event
  2. Components that are removed while a tree is onscreen should receive a -[CKComponentController componentTreeDidDisappear] event
  3. There should be a guaranteed balance between both events; a-[CKComponentController componentTreeWillAppear] event should be followed by at most one -[CKComponentController componentTreeDidDisappear] event

Activity

  1. self-assigned this
    on May 26, 2016
  2. added this to the 0.2 milestone on Aug 20, 2016
  3. removed their assignment
    on Sep 21, 2016
  4. ocrickard commented on May 17, 2018

    @ocrickard
    Contributor

    I believe this was being managed by @kfirapps. @kfirapps any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions