Latest 0.0.9
Homepage https://github.com/wongstar/GKKit
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, CoreFoundation, CoreText, CoreGraphics, CoreImage, QuartzCore, ImageIO, AssetsLibrary
Authors
  • 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

[email protected][@"one",@"two",@"",@"three",@"four"];
    [email protected][@"one_selected",@"two_selected",@"",@"three_selected",@"four_selected"];
    [email protected][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

  • Add pod ‘GKKit’ to your Podfile
  • Run pod install or pod update.
  • Import <GKKit/GKKit.h>

Manually

  • Download all the files in the ‘GKKit’ subdirectory.
  • Add the source files to your Xcode project.
  • 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!

Latest podspec

{
    "name": "GKKit",
    "version": "0.0.9",
    "summary": "A Sample GKKit framework.so you can use it",
    "description": "this is GKKit framework, use it for test your framework. we can use it as framework.",
    "homepage": "https://github.com/wongstar/GKKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tao": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/wongstar/GKKit.git",
        "tag": "0.0.9"
    },
    "source_files": "GKKit/GKKit.h",
    "public_header_files": "GKKit/GKKit.h",
    "resources": "GKKit/GKResource.bundle",
    "requires_arc": true,
    "frameworks": [
        "UIKit",
        "CoreFoundation",
        "CoreText",
        "CoreGraphics",
        "CoreImage",
        "QuartzCore",
        "ImageIO",
        "AssetsLibrary"
    ],
    "subspecs": [
        {
            "name": "Classes",
            "source_files": "GKKit/**/*.{h,m}"
        },
        {
            "name": "MJRefreshResource",
            "resources": "GKKit/ThirdPart/MJRefresh/MJRefresh.bundle"
        }
    ]
}

Pin It on Pinterest

Share This