Latest 0.0.2
Homepage https://github.com/yuanyuan100/YYDataFlow
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Introduce

正在开发的App为金融类型,后台频繁快速推送数据,UI界面需要及时响应。为了解决频繁reload UITableView等控件,解决办法是某个数据发生变化,仅刷新相应的独立UI元素(如,UILable,UIButton)。

利用单例作为观察者,所以大大简化了代码。利用对象必须先释放属性的特性,解决了频繁移除观察者的代码量,因此不再需要过分关注释放观察者的问题。默认单例不会释放,若意外释放,App将Crash。

Example

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

cell.textLabel.text = [self.dataSource[indexPath.row] name];
[cell.textLabel yyPassiveKeyPath:@"text" adjectiveObject:self.dataSource[indexPath.row] adjectiveKeyPath:@"name"];

Requirements

s.ios.deployment_target = '8.0'

Installation

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

pod 'YYDataFlow'

Update

0.0.2:更新了集合的匹配方法,优化查找效率。2018年01月03日10:51:26

Author

Yvan, [email protected]

License

YYDataFlow is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "YYDataFlow",
    "version": "0.0.2",
    "summary": "u53bbu4e2du5fc3u5316u7684KVOuff0cu6570u636eu9a71u52a8",
    "description": "u5bf9u8c61Au7684u5c5eu6027a,u4e0eu6570u636eu5bf9u8c61Bu7684u5c5eu6027bu7ed1u5b9auff0cu5f53u6570u636eu5bf9u8c61Bu7684u5c5eu6027bu53d1u751fu53d8u5316u65f6uff0cu5bf9u8c61Au7684u5c5eu6027au53efu4ee5u540cu6b65u83b7u53d6u6539u53d8",
    "homepage": "https://github.com/yuanyuan100/YYDataFlow",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Yvan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yuanyuan100/YYDataFlow.git",
        "tag": "0.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YYDataFlow/Classes/**/*",
    "public_header_files": "YYDataFlow/Classes/**/NSObject+YYDataFlow.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This