{"id":13610490,"url":"https://github.com/casatwy/HandyAutoLayout","last_synced_at":"2025-04-12T22:33:56.097Z","repository":{"id":20149548,"uuid":"23419948","full_name":"casatwy/HandyAutoLayout","owner":"casatwy","description":"handy categories for generate NSLayoutConstraint programmatically, and layout your Frame easy","archived":false,"fork":false,"pushed_at":"2018-04-28T14:29:54.000Z","size":36,"stargazers_count":1264,"open_issues_count":5,"forks_count":248,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-04-09T19:42:54.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casatwy.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":"2014-08-28T07:56:26.000Z","updated_at":"2025-03-17T07:12:42.000Z","dependencies_parsed_at":"2022-08-20T20:50:34.199Z","dependency_job_id":null,"html_url":"https://github.com/casatwy/HandyAutoLayout","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casatwy%2FHandyAutoLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casatwy%2FHandyAutoLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casatwy%2FHandyAutoLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casatwy%2FHandyAutoLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casatwy","download_url":"https://codeload.github.com/casatwy/HandyAutoLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642159,"owners_count":21138348,"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-08-01T19:01:45.173Z","updated_at":"2025-04-12T22:33:55.820Z","avatar_url":"https://github.com/casatwy.png","language":"Objective-C","readme":"# HandyAutoLayout\n\n[![CocoaPods compatible](https://img.shields.io/badge/CocoaPods-0.1.1-green.svg?style=flat)](https://cocoapods.org) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http:// opensource.org/licenses/MIT)\n\n`HandyAutoLayout` are handy categories for generate NSLayoutConstraint programatically.\n\n# New features\n\n## Add new methods for 1.1.0\n```objective-c\n- (void)fromTheTop:(CGFloat)distance ofView:(UIView *)view;\n- (void)fromTheBottom:(CGFloat)distance ofView:(UIView *)view;\n- (void)fromTheLeft:(CGFloat)distance ofView:(UIView *)view;\n- (void)fromTheRight:(CGFloat)distance ofView:(UIView *)view;\n```\n# Install\n\nif you are using AutoLayout:\n\n```\npod 'HandyAutoLayout'\n```\n\nif you are using Frame:\n\n```\npod 'HandyFrame'\n```\n\n\n# Examples\n\nfor auto layout:\n\n```objective-c\n[self.view addConstraint:[self.tableView constraintCenterXEqualToView:self.view]];\n[self.view addConstraint:[self.tableView constraintWidthEqualToView:self.view]];\n\n[self.view addConstraints:[self.nextStepButton constraintsSize:CGSizeMake(300.0f, 40.0f)]];\n[self.view addConstraint:[self.nextStepButton constraintCenterXEqualToView:self.view]];\n```\nfor frame:\n\n```objective-c\n[self.subtitleLabel leftEqualToView:self.titleLabel];\n[self.subtitleLabel top:14 FromView:self.timeLabel];\n\n[self.createPost centerXEqualToView:self.view];\n[self.createPost bottomInContainer:19.0f shouldResize:NO];\n```\n","funding_links":[],"categories":["Objective-C","Objective-C  Stars 1000以内排名整理"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasatwy%2FHandyAutoLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasatwy%2FHandyAutoLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasatwy%2FHandyAutoLayout/lists"}