UIKitCore 0.0.3

UIKitCore 0.0.3

Manish Pandey 维护。



UIKitCore 0.0.3

  • Manish Pandey

Project Logo

License MIT CI Tests Carthage compatibility pod Plateform compatibility

概览

基础 MVVM,辅助函数和扩展

查看 示例项目

使用方法

  // Step 1 - Import
  import UIKitCore
  
  // Step 2 - Use
  // constraints
  myLabel
    .add(to: parentView)
    .centerX(to: parentView.centerX)
    .centerY(to: parentView.centerY)
    .with(width: 200, height: 100)
    
  // extensions
  myView.layer.border(.gray, width: 1, edge: .all)
  
  // register cells
  myCollectionView.register(CustomCell.self)
  

查看更多 扩展


安装指南

Carthage

步骤 1:将以下内容添加到 CartFile 中

github "LenisDev/UIKitCore" ~> 0.0.3

步骤 2:从当前项目目录运行 carthage update

这样就安装完成了。


CocoaPods

步骤 1:将 pod 'UIKitCore', '~> 0.0.3' 添加到 Podfile

target 'MyApp' do
  pod 'UIKitCore', '~> 0.0.3'
end

步骤 2:从当前项目目录运行 pod install

这样就安装完成了。


使用以下命令尝试

pod try UIKitCore

Swift 包管理器

dependencies: [
    .package(url: "https://github.com/LenisDev/UIKitCore.git", .upToNextMajor(from: "0.0.3"))
]

贡献

  • 尝试使用并报告错误
  • 修复问题并创建PR
  • 添加文档和新增功能