The Wayback Machine - http://web.archive.org/web/20200823025336/https://github.com/facebook/componentkit
Skip to content
master
Go to file
Code

Latest commit

Summary: Template argument deduction for classes in unavailable until C++17 which makes Optional construction cumbersome with older compilers. A standard forwarding function closes this gap.

Reviewed By: Andrey-Mishanin

Differential Revision: D23257670

fbshipit-source-id: 97411d1a4560c6cf78a50fe7f35dfd7cf9e28bdd
f4da21e

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Mar 25, 2015
Jan 2, 2020

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 Carthage. To get started add the following to your Cartfile:

github "facebook/ComponentKit" ~> 0.30

Opening the Xcode projects

ComponentKit has a few dependencies that need to be installed via Carthage. Before you open any of the Xcode projects in this repo, make sure you run:

carthage checkout

If Carthage isn't installed, you easily install it via Homebrew:

brew install carthage

If you can't use Homebrew, Carthage provides other installation methods.

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

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.

You can’t perform that action at this time.