A React-inspired view framework for iOS.
Objective-C++ Objective-C Other
Latest commit 20102ba Feb 23, 2017 @eczarny eczarny committed on GitHub Merge pull request #759 from robspychala/remove-scenepath-1
removed unused scenePath object from CK signatures
Permalink
Failed to load latest commit information.
Carthage/Checkouts Move Availability to CKAvailability Dec 9, 2016
ComponentKit.xcodeproj Merge pull request #739 from eromanc/ReportLCAOnScopeComponentCollisions Feb 10, 2017
ComponentKit Merge pull request #759 from robspychala/remove-scenepath-1 Feb 23, 2017
ComponentKitApplicationTests removed unused scenePath object from CK signatures Feb 17, 2017
ComponentKitApplicationTestsHost Xcode recommended project updates Oct 4, 2015
ComponentKitTestHelpers State update documentation improvements and clean up Feb 13, 2017
ComponentKitTests Merge pull request #727 from DeskConnect/generics-stateful-controller Feb 16, 2017
ComponentSnapshotTestCase Remove CKComponentLifecycleManager Jan 31, 2017
ComponentTextKit Add missing range checks Jul 27, 2016
ComponentTextKitApplicationTests Remove 32-bit iOS 9 reference images Sep 19, 2016
Examples Fold pending modifications into the state used to verify changesets Oct 19, 2016
.gitignore Update the .gitignore file May 4, 2016
.gitmodules Switch from CocoaPods to Carthage for development Apr 19, 2016
.travis.yml Fix Travis CI by removing the duplicate iPhone 5s simulator before in… Feb 14, 2017
CONTRIBUTING.md Switch from CocoaPods to Carthage for development Apr 19, 2016
Cartfile.private Upgrade ios-snapshot-test-case Sep 27, 2016
Cartfile.resolved Move Availability to CKAvailability Dec 9, 2016
ComponentKit.podspec Version 0.15.1 Sep 2, 2016
LICENSE Initial commit Mar 25, 2015
PATENTS Update Patent Grant Apr 10, 2015
README.md Version 0.15 Aug 29, 2016
build.sh Upgrade Travis CI to Xcode 8.2 Feb 13, 2017

README.md

ComponentKit

Build Status

ComponentKit is a view framework for iOS that is heavily inspired by React. It takes a functional, declarative approach to building UI. It was built to power Facebook's News Feed and is now used throughout the Facebook iOS app.

Quick start

ComponentKit is available to install via CocoaPods or Carthage.

If you are using CocoaPods, add the following to your Podfile:

pod 'ComponentKit', '~> 0.15'

If you are using Carthage, add the following to your Cartfile:

github "facebook/ComponentKit" ~> 0.15

Opening the Xcode projects

If you want to try out ComponentKit just clone the GitHub repository and open the Xcode project. To get started with the example app:

open Examples/WildeGuess/WildeGuess.xcodeproj

Build and run the WildeGuess target to try it out!

If you're interested in viewing only the ComponentKit source code in Xcode:

open ComponentKit.xcodeproj

There is no need to run any special commands prior to opening either Xcode project.

Learn more

Contributing

See the CONTRIBUTING file for how to help out.

License

ComponentKit is BSD-licensed. We also provide an additional patent grant.

The files in the /Examples directory are licensed under a separate license as specified in each file; documentation is licensed CC-BY-4.0.