Latest 1.1.2
Homepage https://github.com/tang335976123/TLTools
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TLTools is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "TLTools" 1.1.1

Author

tang335976123, [email protected]

License

有错误的地方欢迎提出来 也可以在我简书经我留言 http://www.jianshu.com/u/9d3ddb989614

——————KGfineKeyChain类用法———————-

//NSString * const KEY_USERNAME_PASSWORD = @"com.company.app.usernamepassword";

//NSString * const KEY_USERNAME = @"com.company.app.username";

//NSString * const KEY_PASSWORD = @"com.company.app.password";

类用法:

1、存入数据 [KGfineKeyChain save:KEY_USERNAME_PASSWORD data:self.saveInfomation];

  2、读数据 一般在写程序过程中,应该尽量避免直接访问KeyChain,一般会创建一个NSDictionary来同步对应的数据,所以两者需要做转换。

NSMutableDictionary readUserInfoamtion = (NSMutableDictionary )[KGfineKeyChain load:KEY_USERNAME_PASSWORD];
self.one.text = [readUserInfoamtion objectForKey:KEY_USERNAME];
self.two.text = [readUserInfoamtion objectForKey:KEY_PASSWORD];
3. 删除 [KGfineKeyChain delete:KEY_USERNAME_PASSWORD];

————————-TLCellRegister用法—————————–

注册cell时调用的方法    [_tabVie TL_registerCellsWithClasses:@[[KGPhoneTableViewCell class]]];
代理方法创建时写法 KGPhoneTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:NSStringFromClass([KGPhoneTableViewCell class])forIndexPath:indexPath];

——————-TL_Tools—#import "NSString+LXExtension.h"

——————-UIView_LXExtension.h————快速设置控件

添加NSString 工具类

———————-TLDownloadTask——————————-

self.taskdownload= [[TLDownloadTask alloc]init];
[self.taskdownload dowloadTaskWithURL:[NSURL URLWithString:@"https://github.com/tang335976123/TLTools.git"]];
####本次更新添加了 获取设备所有信息类,自定的网络请求提示

Latest podspec

{
    "name": "TLTools",
    "version": "1.1.2",
    "summary": "TLToolsu5e38u7528u5f00u53d1u5de5u5177u7c7b",
    "description": "u5e38u7528u5f00u53d1u5de5u5177u6587u4ef6",
    "homepage": "https://github.com/tang335976123/TLTools",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tang335976123": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tang335976123/TLTools.git",
        "tag": "1.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "TLTools/Classes/**/*.{h,m}"
}

Pin It on Pinterest

Share This