Latest 1.0.8
Homepage https://github.com/kysonzhu/kz-watermelon
License MIT
Platforms ios 8.0, requires ARC
Dependencies AFNetworking, SSZipArchive, RealReachability
Authors

A extensibe Hybrid solution.

Getting started

iOS

Add the following line to your Podfile:

pod 'Watermelon'

run pod install

add package.zip to your project(this zip file is your local cache of package setted in ver.json)

  • usage
[Watermelon registeWatermelonServiceWithVerJsonURL:Your_VER_JSON_URL];

Server

  • Setting VerJson File

Your VerJson is liked:

{"errorMsg": "", "code": 0, "data": [{"zipDownloadUrl": "http://www.kyson.cn/demo/watermelon.zip", "version": "1.0.1"}]}
  • Setting Your H5 package

if your package is yourpackage.zip,and your host address is www.yourhost.com, then your verjson is liked

{"errorMsg": "", "code": 0, "data": [{"zipDownloadUrl": "http://www.yourhost.com/yourpackage.zip", "version": "1.0.1"}]}

Detail Useage

Discussion

You can add comments here : Hybrid 框架Watermelon详解

or join the chat group

Github

Sponsor

Github
Github

Latest podspec

{
    "name": "Watermelon",
    "version": "1.0.8",
    "license": "MIT",
    "summary": "A Hybrid solution for iOS.",
    "homepage": "https://github.com/kysonzhu/kz-watermelon",
    "authors": {
        "kysonzhu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kysonzhu/kz-watermelon.git",
        "tag": "1.0.8"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Watermelon/watermelon/**/*.{h,m}",
    "dependencies": {
        "AFNetworking": [
            "3.1.0"
        ],
        "SSZipArchive": [
            "1.8.1"
        ],
        "RealReachability": [
            "1.1.9"
        ]
    }
}

Pin It on Pinterest

Share This