{"id":19136581,"url":"https://github.com/gbmiranda/iosalignmentindicatorviews","last_synced_at":"2025-05-06T20:08:37.389Z","repository":{"id":95375109,"uuid":"97013644","full_name":"gbmiranda/iOSAlignmentIndicatorViews","owner":"gbmiranda","description":"iOS views alignment indicator","archived":false,"fork":false,"pushed_at":"2017-07-12T14:11:04.000Z","size":691,"stargazers_count":38,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T14:57:29.086Z","etag":null,"topics":["aligment","aligning","apple","ios","ios-swift","layer","lines","swift","swift-3","uiimageview","uiview"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbmiranda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-12T13:52:28.000Z","updated_at":"2025-03-06T09:00:04.000Z","dependencies_parsed_at":"2023-03-30T10:54:21.200Z","dependency_job_id":null,"html_url":"https://github.com/gbmiranda/iOSAlignmentIndicatorViews","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbmiranda%2FiOSAlignmentIndicatorViews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbmiranda%2FiOSAlignmentIndicatorViews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbmiranda%2FiOSAlignmentIndicatorViews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbmiranda%2FiOSAlignmentIndicatorViews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbmiranda","download_url":"https://codeload.github.com/gbmiranda/iOSAlignmentIndicatorViews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252761192,"owners_count":21800124,"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":["aligment","aligning","apple","ios","ios-swift","layer","lines","swift","swift-3","uiimageview","uiview"],"created_at":"2024-11-09T06:34:47.609Z","updated_at":"2025-05-06T20:08:37.358Z","avatar_url":"https://github.com/gbmiranda.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOSAlignmentIndicatorViews\n\nThis is an iOS component to assist in aligning Views by creating lines similar to image editing programs such as Photoshop and Sketch.\n\n![iOSAlignmentIndicatorViews](https://raw.githubusercontent.com/gbmiranda/iOSAlignmentIndicatorViews/master/Example.png)\n\n# How to use\n\n1. Add AlignmentIndicatorViews.swift to your project.\n2. Call AlignmentIndicatorViews shared instance.\n\n```swift\nAlignmentIndicatorViews.shared.identifyViews(currentView: viewDrag, parentView: self.view, otherViews: self.draggableViews)\n```\n\n# Customization\n\n## width\nUse the width property to set the width of the lines.\n\n```swift\nprivate var lineWidth: CGFloat = 0.6\n```\n\n## color\nUse the color property to set the color of the lines.\n\n```swift\nprivate var lineColor = UIColor.red\n```\n\n## More Properties\nBefore inserting new lines it is necessary to clean existing ones.\n\n```swift\nAlignmentIndicatorViews.shared.clearLayersLines()\n```\n\n# Author\nGabriel Braga | http://www.gabrielbraga.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbmiranda%2Fiosalignmentindicatorviews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbmiranda%2Fiosalignmentindicatorviews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbmiranda%2Fiosalignmentindicatorviews/lists"}