Latest 1.0.0
Homepage https://github.com/jiisd/YHAutoCoding
License MIT
Platforms ios , requires ARC
Authors

YHAutoCodingYHAutoCoding

利用运行时原理一句话实现对象所有成员变量的归档解档!!

使用方式

一、使用 pod 安装

    在 Podfile 文件中添加:

        pod 'YHAutoCoding'

    执行 pod install 命令

二、手动集成

1、往 Xcode 中拖入文件夹 YHAutoCoding

2、在需要归档解档的类中引入头文件

#import "YHAutoCoding.h"

3、在类中实现如下方法即可

/** 一句话实现对象自动归档解档 */
yh_autoCoding

/** 添加忽略归档的变量 */
- (NSArray *)ignoredMemberNames {
    return @[@"_zs_balance"];
}

icon

Latest podspec

{
    "name": "YHAutoCoding",
    "version": "1.0.0",
    "summary": "u5229u7528u8fd0u884cu65f6u4e00u53e5u8bddu5b9eu73b0u5bf9u8c61u7684u5f52u6863u89e3u6863!!",
    "description": "A longer description of YHAutoCoding in Markdown format.nn* Think: Why did you write this? What is the focus? What does it do?n* CocoaPods will be using this to generate tags, and improve search results.n* Try to keep it short, snappy and to the point.n* Finally, don't worry about the indent, CocoaPods strips it!",
    "homepage": "https://github.com/jiisd/YHAutoCoding",
    "license": "MIT",
    "authors": {
        "u90d1u4e9au6052": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/jiisd/YHAutoCoding.git",
        "tag": "1.0.0"
    },
    "source_files": "YHAutoCoding/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This