Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add umbrella header #97

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions ComponentKit/ComponentKit.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/

//Accessibility
#import <ComponentKit/CKComponentAccessibility.h>
//Components
#import <ComponentKit/CKButtonComponent.h>
#import <ComponentKit/CKImageComponent.h>
#import <ComponentKit/CKNetworkImageComponent.h>
#import <ComponentKit/CKNetworkImageDownloading.h>
//Core
#import <ComponentKit/CKComponent.h>
#import <ComponentKit/CKComponentAnimation.h>
#import <ComponentKit/CKComponentAnimationHooks.h>
#import <ComponentKit/CKComponentBoundsAnimation.h>
#import <ComponentKit/CKComponentController.h>
#import <ComponentKit/CKComponentLayout.h>
#import <ComponentKit/CKComponentLifecycleManager.h>
#import <ComponentKit/CKComponentLifecycleManagerAsynchronousUpdateHandler.h>
#import <ComponentKit/CKComponentSize.h>
#import <ComponentKit/CKComponentViewAttribute.h>
#import <ComponentKit/CKComponentViewConfiguration.h>
#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/CKDimension.h>
#import <ComponentKit/CKComponentScope.h>
//Datasources
#import <ComponentKit/CKCollectionViewDataSource.h>
#import <ComponentKit/CKComponentConstantDecider.h>
#import <ComponentKit/CKComponentDataSource.h>
#import <ComponentKit/CKComponentDataSourceOutputItem.h>
#import <ComponentKit/CKComponentDeciding.h>
#import <ComponentKit/CKComponentPreparationQueueListener.h>
#import <ComponentKit/CKComponentPreparationQueueTypes.h>
#import <ComponentKit/CKComponentProvider.h>
//HostingView
#import <ComponentKit/CKComponentFlexibleSizeRangeProvider.h>
#import <ComponentKit/CKComponentHostingView.h>
#import <ComponentKit/CKComponentHostingViewDelegate.h>
#import <ComponentKit/CKComponentRootView.h>
#import <ComponentKit/CKComponentSizeRangeProviding.h>
//LayoutComponents
#import <ComponentKit/CKBackgroundLayoutComponent.h>
#import <ComponentKit/CKCenterLayoutComponent.h>
#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKOverlayLayoutComponent.h>
#import <ComponentKit/CKRatioLayoutComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>
#import <ComponentKit/CKStaticLayoutComponent.h>
//Utilities
#import <ComponentKit/CKArrayControllerChangeset.h>
#import <ComponentKit/CKArrayControllerChangeType.h>
#import <ComponentKit/CKComponentAction.h>
#import <ComponentKit/CKComponentContext.h>
#import <ComponentKit/CKComponentGestureActions.h>
#import <ComponentKit/CKOptimisticViewMutations.h>
#import <ComponentKit/CKSectionedArrayController.h>
//Text
#import <ComponentKit/CKLabelComponent.h>
#import <ComponentKit/CKTextComponent.h>
#import <ComponentKit/CKTextKitAttributes.h>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@class QuoteContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

#import "FrostedQuoteComponent.h"

#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import <ComponentKit/CKLabelComponent.h>

#import "QuoteWithBackgroundComponent.h"
#import "QuoteContext.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@class Quote;
@class QuoteContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@

#import "InteractiveQuoteComponent.h"

#import <ComponentKit/CKComponentGestureActions.h>
#import <ComponentKit/CKComponentScope.h>
#import <ComponentKit/CKComponentSubclass.h>
#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/CKOverlayLayoutComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import "Quote.h"
#import "QuoteComponent.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@class QuoteContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@

#import "MonochromeQuoteComponent.h"

#import <ComponentKit/CKBackgroundLayoutComponent.h>
#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKOverlayLayoutComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import <ComponentKit/CKLabelComponent.h>

#import "QuoteWithBackgroundComponent.h"
#import "QuoteContext.h"

Expand Down
2 changes: 1 addition & 1 deletion Examples/WildeGuess/WildeGuess/Components/QuoteComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import "CKCompositeComponent.h"
#import <ComponentKit/ComponentKit.h>

@class Quote;
@class QuoteContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@interface QuoteWithBackgroundComponent : CKCompositeComponent

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

#import "QuoteWithBackgroundComponent.h"

#import <ComponentKit/CKBackgroundLayoutComponent.h>

@implementation QuoteWithBackgroundComponent

+ (instancetype)newWithBackgroundImage:(UIImage *)backgroundImage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@class QuoteContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

#import "SombreQuoteComponent.h"

#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import <ComponentKit/CKLabelComponent.h>

#import "QuoteWithBackgroundComponent.h"
#import "QuoteContext.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

/** A component indicating whether a quote belongs to Oscar Wilde. */
@interface SuccessIndicatorComponent : CKCompositeComponent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@

#import "SuccessIndicatorComponent.h"

#import <ComponentKit/CKBackgroundLayoutComponent.h>
#import <ComponentKit/CKCenterLayoutComponent.h>
#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import <ComponentKit/CKLabelComponent.h>

@implementation SuccessIndicatorComponent

+ (instancetype)newWithIndicatesSuccess:(BOOL)indicatesSuccess
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#import <ComponentKit/CKCompositeComponent.h>
#import <ComponentKit/ComponentKit.h>

@class QuoteContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@

#import "WarmQuoteComponent.h"

#import <ComponentKit/CKImageComponent.h>
#import <ComponentKit/CKInsetComponent.h>
#import <ComponentKit/CKRatioLayoutComponent.h>
#import <ComponentKit/CKStackLayoutComponent.h>

#import <ComponentKit/CKLabelComponent.h>

#import "QuoteWithBackgroundComponent.h"
#import "QuoteContext.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,14 @@

#import "WildeGuessCollectionViewController.h"

#import <ComponentKit/CKComponentProvider.h>

#import <ComponentKit/CKCollectionViewDataSource.h>
#import <ComponentKit/ComponentKit.h>

#import "InteractiveQuoteComponent.h"
#import "QuoteModelController.h"
#import "Quote.h"
#import "QuoteContext.h"
#import "QuotesPage.h"

#import <ComponentKit/CKArrayControllerChangeset.h>
#import <ComponentKit/CKComponentFlexibleSizeRangeProvider.h>

@interface WildeGuessCollectionViewController () <CKComponentProvider, UICollectionViewDelegateFlowLayout>
@end

Expand Down