码迷,mamicode.com
首页 > 其他好文 > 详细

[翻译] SvpplyTable

时间:2015-02-02 22:48:04      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

SvpplyTable

技术分享

https://github.com/liuminqian/SvpplyTable

SvpplyTable is a demo to realize expandable and collapsable menu animation, Like Svpply app.

SvpplyTable是一个demo,用来展开或者收缩tableView动画的,像Svpply这款app.

 

How to Use

You can replace categories.json with your content. And you should follow categories.json format.

你将下面的json文本替换成你的文本,你需要按照下面的json格式来完成你的需求. 

 

categories.json Format Sample

{"meta":{
    "status":200,
    "msg":"OK",
    "time":1335541016
},
"response":{
    "categories":[
    {
        "name":"All Products",
        "url":"https:\/\/api.svpply.com\/v1\/shop.json",
        "text_color":"#000000",
        "border_color":"#000000",
        "children":[
        {
            "name":"Men\u2019s",
            "url":"https:\/\/api.svpply.com\/v1\/shop\/mens.json",
            "text_color":"#FF5B54",
            "border_color":"#FFDEDD",
            "children":[
            {
                "name":"Clothing",
                "url":"https:\/\/api.svpply.com\/v1\/shop\/mens\/clothing.json",
                "text_color":"#FF5B54",
                "border_color":"#FFDEDD"
            }           
            ]
        }
        ]
    }
    ]
}
}

Sample Screenshot

技术分享

 

Contact

Email: liuminqian0211@gmail.com

 

Conclude

This is my first opensource code, so I need your help to improve this repo.

这是我的第一个开源项目,非常欢迎你来改进这个项目^_^.

If you have any advice or problem, please contact me.

如果你有任何的建议或者是问题,请联系我.


This project was made by Xcode5 DP2. If you want to use it in older Xcode, you need new project.

Thank you for devTang.

这个项目是在Xcode5的DP2上编译的,所以,如果你想在老的Xcode中使用,你需要重新建立一个新的工程.

感谢devTang.

 

License

SvpplyTable are available under the MIT license. See the LICENSE file for more info.

 

[翻译] SvpplyTable

标签:

原文地址:http://www.cnblogs.com/YouXianMing/p/4267785.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!