{"id":19313639,"url":"https://github.com/geektree0101/rxasdiff","last_synced_at":"2025-10-11T21:37:24.055Z","repository":{"id":56921775,"uuid":"135843775","full_name":"GeekTree0101/RxASDiff","owner":"GeekTree0101","description":"Texture Reactive Diff Library built on DeepDiff","archived":false,"fork":false,"pushed_at":"2018-08-03T05:56:08.000Z","size":64,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T21:37:23.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeekTree0101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-02T18:49:21.000Z","updated_at":"2020-10-06T08:27:43.000Z","dependencies_parsed_at":"2022-08-21T04:50:08.902Z","dependency_job_id":null,"html_url":"https://github.com/GeekTree0101/RxASDiff","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GeekTree0101/RxASDiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FRxASDiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FRxASDiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FRxASDiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FRxASDiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeekTree0101","download_url":"https://codeload.github.com/GeekTree0101/RxASDiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeekTree0101%2FRxASDiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008859,"owners_count":26084518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T00:40:32.220Z","updated_at":"2025-10-11T21:37:24.027Z","avatar_url":"https://github.com/GeekTree0101.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RxASDiff\n\n[![CI Status](https://img.shields.io/travis/Geektree0101/RxASDiff.svg?style=flat)](https://travis-ci.org/Geektree0101/RxASDiff)\n[![Version](https://img.shields.io/cocoapods/v/RxASDiff.svg?style=flat)](https://cocoapods.org/pods/RxASDiff)\n[![License](https://img.shields.io/cocoapods/l/RxASDiff.svg?style=flat)](https://cocoapods.org/pods/RxASDiff)\n[![Platform](https://img.shields.io/cocoapods/p/RxASDiff.svg?style=flat)](https://cocoapods.org/pods/RxASDiff)\n\n\n![alt text](https://github.com/GeekTree0101/RxASDiff/blob/master/resource/banner.png)\n**RxASDiff** is Texture Reactive Diff Library built on DeepDiff(ref: https://github.com/onmyway133/DeepDiff)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n### create diff output\n```swift\n\nlet relay = BehaviorRelay\u003c[HashableObject]\u003e(value: [])\n// Behavior or Publich or etc all Observer available\n\nDiffObserver\u003cHashableObject\u003e.rxDiff(relay.asObservable()).subscribe( ... ).disposed(by: ...)\n// output: Array\u003cChange\u003cHashableObject\u003e\u003e ref: https://github.com/onmyway133/DeepDiff\n\n```\n\n### convert diff to indexPaths object\n```swift\n\nlet relay = BehaviorRelay\u003c[HashableObject]\u003e(value: [])\n// Behavior or Publich or etc all Observer available\n\nDiffObserver\u003cHashableObject\u003e.rxDiff(relay.asObservable(), section: Int).subscribe().disposed()\n// output: ChangeWithIndexPath ref: https://github.com/onmyway133/DeepDiff\n\n```\n\n### convenience apply diff output onto tableNode or collectionNode\n```swift\n    func case1() {\n        DiffObserver\u003cTestModel\u003e\n            .rxDiff(relay.asObservable(), section: 1)\n            .subscribe(onNext: { iter in\n                self.tableNode.applyDiff(iter, completion: nil)\n            }).disposed(by: bag)\n    }\n    \n    func case2() {\n        let diffObserver = DiffObserver\u003cTestModel\u003e.rxDiff(relay.asObservable())\n        tableNode.rx\n            .applyDiff(diffObserver, section: 1, completion: nil)\n            .disposed(by: bag)\n    }\n```\n\n## Requirements\n\n- Xcode \u003c~ 9.3\n- Swift \u003c~ 4.1\n- iOS \u003c~ 9.3\n\n## Installation\n\nRxASDiff is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'RxASDiff'\n```\n\n## Author\n\nGeektree0101, h2s1880@gmail.com\n\n## License\n\nRxASDiff is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeektree0101%2Frxasdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeektree0101%2Frxasdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeektree0101%2Frxasdiff/lists"}