+0
日增长
5,737
stars
570
forks
171
watchers
582
prs
373
issues
11
releases
README
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 Read the Getting Started guide Get the sample projects Read the objc.io article by Adam Ernst Watch the @Scale talk by Ari Grant 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.
Top issues
#810Provide and example of embedding a collection view inside a cell7 comments · 2017-05-09#756CKTextComponent and links again5 comments · 2017-02-15#744Add a BUCK file for ComponentKit5 comments · 2017-02-09#953question - docs (docusaurus) repo?2 comments · 2020-07-15#947Carthage Update Issue2 comments · 2020-04-05#977ComponentKit/ComponentKit.xcconfig is compiled as source code1 comments · 2023-06-21#964Compile Error: Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior1 comments · 2021-05-15#959question: My component is not getting full width in screen landscape mode.1 comments · 2021-01-19
Latest release
Xcode 12.5 0.31 2021-06-04Fixed compilation errors for Xcode 12.5