{"id":15286871,"url":"https://github.com/halowang/wcretaincyclechecker","last_synced_at":"2025-10-07T01:31:03.233Z","repository":{"id":56926262,"uuid":"82253266","full_name":"HaloWang/WCRetainCycleChecker","owner":"HaloWang","description":"Check retain-cycle automatically when developing iOS app","archived":true,"fork":false,"pushed_at":"2018-08-16T07:08:10.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T00:02:47.818Z","etag":null,"topics":["cocoapods","ios","objc-runtime","objective-c","retain-cycles"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/HaloWang.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-02-17T03:30:47.000Z","updated_at":"2024-06-14T12:31:55.000Z","dependencies_parsed_at":"2022-08-20T22:50:18.393Z","dependency_job_id":null,"html_url":"https://github.com/HaloWang/WCRetainCycleChecker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaloWang%2FWCRetainCycleChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaloWang%2FWCRetainCycleChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaloWang%2FWCRetainCycleChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaloWang%2FWCRetainCycleChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaloWang","download_url":"https://codeload.github.com/HaloWang/WCRetainCycleChecker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235575693,"owners_count":19012156,"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":["cocoapods","ios","objc-runtime","objective-c","retain-cycles"],"created_at":"2024-09-30T15:18:48.004Z","updated_at":"2025-10-07T01:31:02.882Z","avatar_url":"https://github.com/HaloWang.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WCRetainCycleChecker\n\n**WCRetainCycleChecker** is a tool to check the retain-cycle between UIViewController subclass and proterties it retains.\n\n🇨🇳 [中文](http://halowang.github.io/2017/02/21/WCRetainCycleChecker/)\n\n## How it work?\n\nWCRetainCycleChecker use method swizzling to change the implementation of `UIViewController.viewDidDisappear`.\n\n## Installation\n\n```ruby\npod 'WCRetainCycleChecker', :configurations =\u003e ['Debug']\n```\n\nThen:\n\n```\ncd YOUR_PODFILE_PATH \u0026\u0026 pod install\n```\n\nAfter finish it, WCRetainCycleChecker will effect in your project. If your UIViewController subclass has retain-cycle, WCRetainCycleChecker will warn you with following message:\n\n```\nWarning：\u003cRetainedViewController: 0x7fa789f01800\u003e still in memory after `-viewDidDisappear` (2s)\n```\n\n## More\n\nYou can also use [FBRetainCycleDetector](ttps://github.com/facebook/FBRetainCycleDetector) in `WCRetainCycleChecker.retainCycleFound` callback to get more infomation.\n\nThere is also a repo called [MLeaksFinder](https://github.com/Zepo/MLeaksFinder) which is more powerful than mine 👍.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalowang%2Fwcretaincyclechecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalowang%2Fwcretaincyclechecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalowang%2Fwcretaincyclechecker/lists"}