{"id":15037570,"url":"https://github.com/iosdevgarg/resizable-views","last_synced_at":"2026-04-06T06:03:27.406Z","repository":{"id":143698020,"uuid":"120269907","full_name":"iOSDevGarg/Resizable-Views","owner":"iOSDevGarg","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-05T07:41:47.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T08:23:10.694Z","etag":null,"topics":["containerview","gesture-recognizer","pan-gesture","swift","swift-3","swift-4","table-view","tableview"],"latest_commit_sha":null,"homepage":null,"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/iOSDevGarg.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":"2018-02-05T07:28:26.000Z","updated_at":"2023-06-06T16:12:22.000Z","dependencies_parsed_at":"2023-06-14T11:45:14.309Z","dependency_job_id":null,"html_url":"https://github.com/iOSDevGarg/Resizable-Views","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/iOSDevGarg%2FResizable-Views","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevGarg%2FResizable-Views/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevGarg%2FResizable-Views/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevGarg%2FResizable-Views/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iOSDevGarg","download_url":"https://codeload.github.com/iOSDevGarg/Resizable-Views/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243402707,"owners_count":20285289,"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":["containerview","gesture-recognizer","pan-gesture","swift","swift-3","swift-4","table-view","tableview"],"created_at":"2024-09-24T20:35:00.454Z","updated_at":"2025-12-29T06:40:05.529Z","avatar_url":"https://github.com/iOSDevGarg.png","language":"Swift","readme":"# Resizable-Views\n\nThis sample Project make A View Being Dragged in View and Change its And other used views Height According to the Requirement and changes made\n\nProject Hierarchy \n \n     --\u003e Main View\n       --\u003e 2 ContainerViews\n          --\u003e Subviews in ContainerView\n       --\u003e Container View At Bottom Draggable (Pan Gesture)\n       \n# Pan Gesture\n    func addPanGesture()\n    {\n        let gesture : UIPanGestureRecognizer = UIPanGestureRecognizer(target: self, action:#selector(ViewController.handlePanGesture(panGesture:)))\n        self.bottomContainerView.addGestureRecognizer(gesture)\n    }\n    \n# View Translation\n\n    ///Move view to required Position\n    panGesture.view?.frame = CGRect(x: 0, y: currentPoint.y, width: self.view.frame.size.width, height: self.view.frame.size.height-currentPoint.y)\n    self.upContainerView.frame = CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.view.frame.size.height-(panGesture.view?.frame.height)!)\n    panGesture.setTranslation(CGPoint.zero, in: self.view)\n       \n# Output \n\n![draggableview](https://user-images.githubusercontent.com/26831784/35792834-0d8106d4-0a75-11e8-8182-afe4990fed0c.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiosdevgarg%2Fresizable-views","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiosdevgarg%2Fresizable-views","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiosdevgarg%2Fresizable-views/lists"}