{"id":15527724,"url":"https://github.com/toni77777/pinanchor","last_synced_at":"2026-05-04T03:33:48.666Z","repository":{"id":62450772,"uuid":"389075844","full_name":"Toni77777/PinAnchor","owner":"Toni77777","description":"PinAnchor is a library to make views layout easy on iOS and macOS. The library is based on Anchors","archived":false,"fork":false,"pushed_at":"2021-07-25T20:34:01.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T09:48:32.595Z","etag":null,"topics":["anchor","autolayout","ios","macos","nsview","swift","uiview"],"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/Toni77777.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-07-24T11:04:35.000Z","updated_at":"2021-07-25T20:34:04.000Z","dependencies_parsed_at":"2022-11-01T23:31:56.701Z","dependency_job_id":null,"html_url":"https://github.com/Toni77777/PinAnchor","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/Toni77777%2FPinAnchor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toni77777%2FPinAnchor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toni77777%2FPinAnchor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toni77777%2FPinAnchor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toni77777","download_url":"https://codeload.github.com/Toni77777/PinAnchor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100581,"owners_count":20723479,"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":["anchor","autolayout","ios","macos","nsview","swift","uiview"],"created_at":"2024-10-02T11:08:46.559Z","updated_at":"2026-05-04T03:33:48.626Z","avatar_url":"https://github.com/Toni77777.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PinAnchor\n\n# Usage \n\n## Quick Start\n\n```swift\n\nimport PinAnchor\n\nlet greenView = UIView()\ngreenView.backgroundColor = .green\nview.addSubview(greenView)\ngreenView.translatesAutoresizingMaskIntoConstraints = false\n\ngreenView\n    .pinToTop(inset: 50)\n    .pinToLeft(inset: 30)\n    .pinToRight(inset: 30)\n    .pinToBottom(inset: 50)\n```\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"Assets/QuickStart_iphone8.png\" width=\"375px\" height=\"100%\"\u003e\u003c/div\u003e\n\n# Installation\n\n## CocoaPods \n\n```\npod 'PinAnchor', '~\u003e 1.0'\n```\n\n\nPinAnchor is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni77777%2Fpinanchor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoni77777%2Fpinanchor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoni77777%2Fpinanchor/lists"}