美文网首页
GKKit ReadMe

GKKit ReadMe

作者: wongstar | 来源:发表于2017-07-25 18:25 被阅读18次

GKKit

  • An easy way to use pull-to-refresh
  • Collect a lot of useful Category.
  • An easy way to use Tab UI
  • An easy way to use Navigation
  • Collect a lot of useful view.
79A6981A-D83D-48C4-B692-5E4A3456CF77.png

Code Parsing
Base -->GKBaseUIController,GKBaseTableViewController,GKTabbar and some useful category.
GKResource.bundle -->put all the resource in this bundle.
Utils -->some utils class
View -->custom views such as Toast

Demo Project

Screen Shot 2017-07-25 at 下午6.00.05.png
self.tabNormalImages=@[@"one",@"two",@"",@"three",@"four"];
    self.tabSelectedImages=@[@"one_selected",@"two_selected",@"",@"three_selected",@"four_selected"];
    self.tabTexts=@[LSTR(@"tab_one_title"),LSTR(@"tab_two_title"),LSTR(@""),LSTR(@"tab_three_title"),LSTR(@"tab_four_title")];
    
    [self initTabWithVC:vc];
    
    //
    [self addCenterButtonWithBlock:^(id sender, id obj) {
        debugLog(@".... click...");
    }];

add tarbar normal list icons and selected list icons ,if you want add button in the

Screen Shot 2017-07-25 at 下午6.00.12.png

   self.hasPullToRefresh=true; //show pull refresh action
   self.hasLoadMore=true;//show load more action
   self.isGifHeader=true; //show gif animation

//loadMore will callback
-(void)loadMore{
    debugLog(@"LoadMore...");
}
//pull to refresh will call back.
-(void)pullToRefresh{
    debugLog(@"pull to referesh..");
    
    dispatch_after(dispatch_time_delay(2), dispatch_get_main_queue(), ^{
        [self headerEndFrefreshing];
    });
}

Installation


CocoaPods
1.Add pod 'GKKit' to your Podfile
2.Run pod install or pod update.
3.Import <GKKit/GKKit.h>

Manually
1.Download all the files in the 'GKKit' subdirectory.
2.Add the source files to your Xcode project.
3.Import <GKKit/GKKit.h>


License

GKKit is provided under the MIT license. See LICENSE file for details.

if you like it, please click star button .Thanks!

相关文章

  • GKKit ReadMe

    GKKit An easy way to use pull-to-refresh Collect a lot of...

  • WHID设备刷入开源控件

    先看ReadMe,先看ReadMe,先看ReadMe!!! 踩坑 问题1 ser_open(): can't se...

  • Git的远程单人操作

    Github是托管代码的远程仓库 README.md(README,README.markdown)可以将文件内容...

  • 06.给文件重命名的简便方法

    一般操作:mv readme.txt readme.mdgit add readme.mdgit rm rea...

  • 网易c++------课时37---EaxyX快速入门

    https://easyx.cn/readme/[https://easyx.cn/readme/]

  • 把demo放到GitHub上

    echo "# imagePicker" >> README.md git init git add README...

  • GitHub项目查找

    in:name example 名字中有“example”in:readme example readme中有“e...

  • Readme

    学习的途径 *《看透SpringMVC》

  • README

    背景 起这个标签(前端架构),主要是因为自己最近一直在从更高层级上去思考一些前端的问题,想专门建个tag,分类一下...

  • README

    这个专题呢就放一些临时抱佛脚的东西 反正也要一边看ppt一边写写免得看得不仔细嘛 记下来的话说不定有些感兴趣的点可...

网友评论

      本文标题:GKKit ReadMe

      本文链接:https://www.haomeiwen.com/subject/sycgkxtx.html