Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyuan100/yydataflow
KVO Center, Convenient call, No need to be removed; 不需要移除。
https://github.com/yuanyuan100/yydataflow
kvo
Last synced: about 1 month ago
JSON representation
KVO Center, Convenient call, No need to be removed; 不需要移除。
- Host: GitHub
- URL: https://github.com/yuanyuan100/yydataflow
- Owner: yuanyuan100
- License: mit
- Created: 2018-01-02T06:21:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T02:52:59.000Z (almost 7 years ago)
- Last Synced: 2024-10-31T15:54:27.500Z (2 months ago)
- Topics: kvo
- Language: Objective-C
- Homepage:
- Size: 50.8 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YYDataFlow
[![CI Status](http://img.shields.io/travis/Yvan/YYDataFlow.svg?style=flat)](https://travis-ci.org/Yvan/YYDataFlow)
[![Version](https://img.shields.io/cocoapods/v/YYDataFlow.svg?style=flat)](http://cocoapods.org/pods/YYDataFlow)
[![License](https://img.shields.io/cocoapods/l/YYDataFlow.svg?style=flat)](http://cocoapods.org/pods/YYDataFlow)
[![Platform](https://img.shields.io/cocoapods/p/YYDataFlow.svg?style=flat)](http://cocoapods.org/pods/YYDataFlow)## 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.
```objc
cell.textLabel.text = [self.dataSource[indexPath.row] name];
[cell.textLabel yyPassiveKeyPath:@"text" adjectiveObject:self.dataSource[indexPath.row] adjectiveKeyPath:@"name"];
```
## Requirements```ruby
s.ios.deployment_target = '8.0'
```## Installation
YYDataFlow is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
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.