MKCommons 1.15.0

MKCommons 1.15.0

测试已测试
Lang语言 Obj-CObjective C
许可协议 MIT
发布最后发布2016年11月

Michael Kuck维护。



 
依赖关系
PureLayout~> 3.0.0
MKLog~> 0.1.2
 

MKCommons 1.15.0

  • 作者
  • Michael Kuck

虽然我不介意分享代码,但这主要是我个人的零散收藏,其中很多经常使用。在这里,您不会找到很多文档或概览,而且很多东西也很旧。

我想将我经常需要的代码提取到单独的pods中(比如用https://github.com/mikumi/MKLog做的例子),但是对于……您知道这怎么一回事。有一天:-)

要求

安装

MKCommons可以通过CocoaPods提供。要安装它,只需将以下行添加到Podfile中

pod "MKCommons"

注意

如果您想在App Extension中使用MKCommons,请将此构建步骤添加到Podfile中

post_install do |installer_representation|
  installer_representation.project.targets.each do |target|
    if target.name.end_with? "MKCommons"
      target.build_configurations.each do |build_configuration|
        if build_configuration.build_settings['APPLICATION_EXTENSION_API_ONLY'] == 'YES'
          build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = ['$(inherited)', 'MKCOMMONS_APP_EXTENSIONS=1']
        end
      end
    end
  end
end

作者

Michael Kuck,[email protected]

许可协议

MKCommons在MIT许可下提供。有关更多信息,请参阅LICENSE文件。