Rename CKComponentDataSourceAttachController to CKComponentAttachController

Summary:
`CKComponentDataSourceAttachContrlller` doesn't have to be tied with datasource. It's totally legit to use it in hosting view as well.
Renaming it to `CKComponentAttachController` and move it to `Core` folder.

Reviewed By: priteshrnandgaonkar

Differential Revision: D14526150

fbshipit-source-id: f48a8d27a3bfa5170e22a397fe1b32e806bc3c55
This commit is contained in:
Kevin Lin
2019-03-20 06:05:32 -07:00
committed by Facebook Github Bot
parent 3b53aff55c
commit deef14d3a2
3 changed files with 19 additions and 1 deletions

View File

@@ -11,8 +11,14 @@
#import <ComponentKit/CKComponent.h>
#import <ComponentKit/CKComponentRootView.h>
// TODO T41966103 Remove conditional imports
#if FLIPPER_OSS
#import <ComponentKit/CKComponentDataSourceAttachController.h>
#import <ComponentKit/CKComponentDataSourceAttachControllerInternal.h>
#else
#import <ComponentKit/CKComponentAttachController.h>
#import <ComponentKit/CKComponentAttachControllerInternal.h>
#endif
#import <ComponentKit/CKInspectableView.h>
static char const kLayoutWrapperKey = ' ';