Latest 0.0.3
Homepage https://github.com/StoneStoneStoneWang/WLUserPackage
License MIT
Platforms ios 10.0
Frameworks UIKit, Foundation
Authors

WLUserKit

A lib for user model

欢迎界面

pod  'WLUserPackage/Welcome'

// 实现协议

class WLWelcomSetting: WLWelComeConfig {

 var welcomeImgs: [String] { return ["1","2","3"] }

 var itemColor: String { return "#1e7507"}
}

创建欢迎界面VC

Swift WLWelComeBaseViewController.createWelcome(.two, config: WLWelcomSetting(), delegate: self)
oc [WLWelComeBaseViewController createWelcomeWithWithStyle:1 andConfig:[WLWelcomSetting new] andDelegate:self];

Latest podspec

{
    "name": "WLUserPackage",
    "version": "0.0.3",
    "summary": "A Lib For user package.",
    "description": "WLUserPackageu4e00u4e2au5bf9u7528u6237u6a21u5757u7684u5c01u88c5",
    "homepage": "https://github.com/StoneStoneStoneWang/WLUserPackage",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "StoneStoneStoneWang": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_versions": "5.0",
    "pod_target_xcconfig": {
        "DEFINES_MODULE": "YES"
    },
    "static_framework": true,
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "source": {
        "git": "https://github.com/StoneStoneStoneWang/WLUserPackage.git",
        "tag": "0.0.3"
    },
    "subspecs": [
        {
            "name": "BaseVC",
            "source_files": "Code/Base/BaseVC/*.{swift}",
            "dependencies": {
                "WLToolsKit/WLColor": [],
                "WLBaseViewController/WLLoading": [],
                "WLBaseViewController/WLInner": [],
                "RxSwift": []
            }
        },
        {
            "name": "RXCocoa",
            "subspecs": [
                {
                    "name": "Button",
                    "source_files": "Code/RXCocoa/Button/*.{swift}",
                    "dependencies": {
                        "RxSwift": [],
                        "RxCocoa": []
                    }
                }
            ]
        },
        {
            "name": "Welcome",
            "subspecs": [
                {
                    "name": "Style",
                    "source_files": "Code/Project/Welcome/Style/*.{swift}"
                },
                {
                    "name": "Delegate",
                    "source_files": "Code/Project/Welcome/Delegate/*.{swift}",
                    "dependencies": {
                        "WLBaseViewModel": []
                    }
                },
                {
                    "name": "Config",
                    "source_files": "Code/Project/Welcome/Config/*.{swift}"
                },
                {
                    "name": "VM",
                    "source_files": "Code/Project/Welcome/VM/*.{swift}",
                    "dependencies": {
                        "WLBaseViewModel": [],
                        "WLUserPackage/Welcome/Style": [],
                        "WLToolsKit/WLCommon": [],
                        "RxSwift": [],
                        "RxCocoa": []
                    }
                },
                {
                    "name": "View",
                    "source_files": "Code/Project/Welcome/View/*.{swift}",
                    "dependencies": {
                        "WLBaseTableView/WLBTV": [],
                        "WLBaseTableView/WLBaseTableViewCell": [],
                        "SnapKit": [],
                        "WLToolsKit/WLThen": []
                    }
                },
                {
                    "name": "Base",
                    "source_files": "Code/Project/Welcome/Base/*.{swift}",
                    "dependencies": {
                        "WLUserPackage/BaseVC": [],
                        "WLUserPackage/Welcome/VM": [],
                        "WLUserPackage/Welcome/View": [],
                        "WLUserPackage/Welcome/Config": [],
                        "WLUserPackage/Welcome/Delegate": [],
                        "WLToolsKit/WLColor": [],
                        "WLBaseTableView/WLSectionModel": [],
                        "WLUserPackage/RXCocoa/Button": [],
                        "RxDataSources": []
                    }
                },
                {
                    "name": "VC",
                    "source_files": "Code/Project/Welcome/VC/*.{swift}",
                    "dependencies": {
                        "WLUserPackage/Welcome/Base": []
                    }
                },
                {
                    "name": "Create",
                    "source_files": "Code/Project/Welcome/Create/*.{swift}",
                    "dependencies": {
                        "WLUserPackage/Welcome/VC": []
                    }
                }
            ]
        },
        {
            "name": "WLPrepare",
            "subspecs": [
                {
                    "name": "WLBean",
                    "source_files": "Code/Project/Bean/*.{swift}",
                    "dependencies": {
                        "ObjectMapper": []
                    }
                },
                {
                    "name": "WLCache",
                    "source_files": "Code/Project/Cache/*.{swift}",
                    "dependencies": {
                        "WLUserPackage/WLPrepare/WLBean": [],
                        "WLThirdUtil/Cache": []
                    }
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This