Latest 0.0.1
Homepage https://github.com/yuanyuan100/YYApplicationModule
License MIT
Platforms ios 8.0
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

Introduce

管理组件化的AppDelegate。方便、快速新建或集成组件工程,保持运行环境的一致性。在需要启动信息的组件中实现YYApplicationModuleDelegate协议,实现组件需要的协议函数,如果YYApplicationModule类中未实现协议方法,则需要自己添加(最好自己做成私库使用,按需添加)或issue我来添加。

在组件工程中只需额外维护1.YYConfigurationClass的分类(不需要打包到组件中,或者通过宏注释协议的实现),实现YYConfigurationProtocol;2.在main方法中替换为NSStringFromClass([YYApplicationModule class])为即可。

实现以上步骤,导入该库即可运行,无需修改过多代码,快速方便集成组件。

如果觉得该库还不错,欢迎交流。

Example

见Demo

Requirements

s.ios.deployment_target = '8.0'

Installation

YYApplicationModule is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'YYApplicationModule'

Author

yuanyuan100, [email protected]

License

YYApplicationModule is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "YYApplicationModule",
    "version": "0.0.1",
    "summary": "u7ba1u7406u7ec4u4ef6u5316u7684Application",
    "description": "u7ba1u7406u7ec4u4ef6u5316u7684Applicationu3002u65b9u4fbfu7ec4u4ef6u5316u65b0u5efau7ec4u4ef6u5de5u7a0bu7684u8fd0u884cuff0cu4fddu6301u8fd0u884cu73afu5883u7684u4e00u81f4u6027u3002u5728u6bcfu4e2au5de5u7a0bu4e2du53eau9700u989du5916u7ef4u62a4'YYConfigurationClass'u7684u5206u7c7buff0cu5b9eu73b0'YYConfigurationProtocol'u5373u53efu5febu901fu3001u72ecu7acbu642du5efau7ec4u4ef6u5de5u7a0bu3002",
    "homepage": "https://github.com/yuanyuan100/YYApplicationModule",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yuanyuan100": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yuanyuan100/YYApplicationModule.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YYApplicationModule/Classes/**/*.{h,m}",
    "frameworks": [
        "UIKit",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This