{"id":13719279,"url":"https://github.com/devxoul/RxViewController","last_synced_at":"2025-05-07T11:31:27.378Z","repository":{"id":21207558,"uuid":"91910288","full_name":"devxoul/RxViewController","owner":"devxoul","description":"RxSwift wrapper for UIViewController and NSViewController","archived":false,"fork":false,"pushed_at":"2022-03-28T09:39:21.000Z","size":27,"stargazers_count":349,"open_issues_count":6,"forks_count":65,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-05T23:48:46.426Z","etag":null,"topics":["rxswift"],"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/devxoul.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":"2017-05-20T19:03:10.000Z","updated_at":"2025-04-29T09:31:57.000Z","dependencies_parsed_at":"2022-08-18T23:11:18.335Z","dependency_job_id":null,"html_url":"https://github.com/devxoul/RxViewController","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoul%2FRxViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoul%2FRxViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoul%2FRxViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devxoul%2FRxViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devxoul","download_url":"https://codeload.github.com/devxoul/RxViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252868840,"owners_count":21816924,"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","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":["rxswift"],"created_at":"2024-08-03T01:00:45.557Z","updated_at":"2025-05-07T11:31:27.034Z","avatar_url":"https://github.com/devxoul.png","language":"Swift","funding_links":[],"categories":["Libraries","OOM-Leaks-Crash"],"sub_categories":["Rx Series"],"readme":"# RxViewController\n\n![Swift](https://img.shields.io/badge/Swift-5.0-orange.svg)\n[![CocoaPods](http://img.shields.io/cocoapods/v/RxViewController.svg)](https://cocoapods.org/pods/RxViewController)\n[![Build Status](https://travis-ci.org/devxoul/RxViewController.svg?branch=master)](https://travis-ci.org/devxoul/RxViewController)\n[![codecov](https://img.shields.io/codecov/c/github/devxoul/RxViewController.svg)](https://codecov.io/gh/devxoul/RxViewController)\n\nRxSwift wrapper for UIViewController and NSViewController.\n\n## At a Glance\n\nIn the view controller:\n\n```swift\nself.rx.viewDidLoad\n  .subscribe(onNext: {\n    print(\"viewDidLoad 🎉\")\n  })\n```\n\n## APIs\n\n```swift\nextension Reactive where Base: UIViewController {\n  var viewDidLoad: ControlEvent\u003cVoid\u003e\n\n  var viewWillAppear: ControlEvent\u003cBool\u003e\n  var viewDidAppear: ControlEvent\u003cBool\u003e\n\n  var viewWillDisappear: ControlEvent\u003cBool\u003e\n  var viewDidDisappear: ControlEvent\u003cBool\u003e\n\n  var viewWillLayoutSubviews: ControlEvent\u003cVoid\u003e\n  var viewDidLayoutSubviews: ControlEvent\u003cVoid\u003e\n\n  var willMoveToParentViewController: ControlEvent\u003cUIViewController?\u003e\n  var didMoveToParentViewController: ControlEvent\u003cUIViewController?\u003e\n\n  var didReceiveMemoryWarning: ControlEvent\u003cVoid\u003e\n}\n```\n\n```swift\npublic extension Reactive where Base: NSViewController {\n  var viewDidLoad: ControlEvent\u003cVoid\u003e\n\n  var viewWillAppear: ControlEvent\u003cVoid\u003e\n  var viewDidAppear: ControlEvent\u003cVoid\u003e\n\n  var viewWillDisappear: ControlEvent\u003cVoid\u003e\n  var viewDidDisappear: ControlEvent\u003cVoid\u003e\n\n  var viewWillLayout: ControlEvent\u003cVoid\u003e\n  var viewDidLayout: ControlEvent\u003cVoid\u003e\n}\n```\n\n## Installation\n\n* **Using [CocoaPods](https://cocoapods.org)**:\n\n    ```ruby\n    pod 'RxViewController'\n    ```\n\n* **Using [Carthage](https://github.com/Carthage/Carthage)**:\n\n    ```\n    github \"devxoul/RxViewController\"\n    ```\n\n## Contributing\n\nAny discussions and pull requests are welcomed 💖\n\nTo create a Xcode project:\n\n```console\n$ swift package generate-xcodeproj\n```\n\n## License\n\nRxViewController is under MIT license. See the [LICENSE](LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevxoul%2FRxViewController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevxoul%2FRxViewController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevxoul%2FRxViewController/lists"}