转载

ComponentKit - 一个基于 React 思想的 iOS 视图框架

ComponentKit - 一个基于 React 思想的 iOS 视图框架

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 on CocoaPods . Add the following to your Podfile:

pod 'ComponentKit', '~> 0.9'

To quickly try WildeGuess, the ComponentKit demo project:

pod try ComponentKit

Learn more

  • Read the Getting Started guide
  • Get thesample projects
  • Read the objc.io article by Adam Ernst
  • Watch the @Scale talk by Ari Grant

Contributing

See theCONTRIBUTING 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.

正文到此结束
Loading...