componentkit icon indicating copy to clipboard operation
componentkit copied to clipboard

Improve component appearance and disappearance events

Open eczarny opened this issue 9 years ago • 1 comments

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

eczarny avatar May 26 '16 22:05 eczarny

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

ocrickard avatar May 17 '18 16:05 ocrickard