DCFrame is a UI combination frame, it can be easily achieved:
- Assemble and manage complex UI modules;
- Reuse and migrate UI modules at no cost;
- Communication between UI modules without coupling.
- Xcode 10.2+
- iOS 11.0+
- Swift 5.0+
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate DCFrame into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'DCFrame' ~> 1.0.8
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate DCFrame into your Xcode project using Carthage, specify it in your Cartfile
:
github "bytedance/DCFrame" ~> 1.0.8
We can quickly get started with DCFrame through the following guides:
- Simple List: How to create a simple list through DCFrame;
- Post List: Through this example we learn to create a more complex combination list;
- Module Communication:How to perform module event and data sharing in the post list;
- More Examples: We provide more examples, simply pull the git repo and run 'DCFrame.xcworkspace' in the 'Example' folder.
DCFrame is available under the MIT license. See the LICENSE file for more info.