{"id":21722285,"url":"https://github.com/jinjunhan/hjextensions","last_synced_at":"2025-03-20T21:47:06.117Z","repository":{"id":56913465,"uuid":"379847064","full_name":"JinjunHan/HJExtensions","owner":"JinjunHan","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-24T09:22:05.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-03-15T04:46:58.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/JinjunHan.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":"2021-06-24T07:53:37.000Z","updated_at":"2023-03-01T07:59:06.000Z","dependencies_parsed_at":"2022-08-20T20:50:26.452Z","dependency_job_id":null,"html_url":"https://github.com/JinjunHan/HJExtensions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JinjunHan%2FHJExtensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JinjunHan%2FHJExtensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JinjunHan%2FHJExtensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JinjunHan%2FHJExtensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JinjunHan","download_url":"https://codeload.github.com/JinjunHan/HJExtensions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244694458,"owners_count":20494649,"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":[],"created_at":"2024-11-26T02:23:15.336Z","updated_at":"2025-03-20T21:47:06.081Z","avatar_url":"https://github.com/JinjunHan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HJExtensions\n\n## Installation\n### CocoaPods\n\n```\npod 'HJExtensions', '~\u003e 1.0'\n```\n\n## Usage\n初始化一个类，并执行某些操作\n```\nlazy view1 = UIView.hj.make { make in\n    // doing something with make\n}\n```\n对已初始化的对象执行操作\n```\nlazy view1 = UIView(frame: .zero).hj.setup { make in\n    // doing something with make\n}\n```\n一些UIView的链式调用操作，如添加到视图并布局，这样就避免忘记addSubview\n```\nview1.hj.add(to: view).snp.makeConstraints {  }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinjunhan%2Fhjextensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjinjunhan%2Fhjextensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinjunhan%2Fhjextensions/lists"}