CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Watermelon 1.0.8

Watermelon 1.0.8

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2017

Maintained by kysonzhu.



 
Depends on:
AFNetworking= 3.1.0
SSZipArchive= 1.8.1
RealReachability= 1.1.9
 

  • By
  • kysonzhu

A extensibe Hybrid solution.

Getting started

iOS

  • integrate to your application
  • CocoaPods

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