{"id":15561270,"url":"https://github.com/onmotion/asviewcontroller","last_synced_at":"2025-03-29T04:18:41.580Z","repository":{"id":56901108,"uuid":"120433523","full_name":"onmotion/ASViewController","owner":"onmotion","description":"iOS ViewController with auto scroll to active textField when keyboard is showing","archived":false,"fork":false,"pushed_at":"2018-02-21T13:45:11.000Z","size":9482,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-15T14:22:20.423Z","etag":null,"topics":["ios","keyboard-scroll-adjust","scroll","swift","textfield-scroll"],"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/onmotion.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":"2018-02-06T09:43:25.000Z","updated_at":"2019-05-09T13:32:33.000Z","dependencies_parsed_at":"2022-08-21T02:20:58.828Z","dependency_job_id":null,"html_url":"https://github.com/onmotion/ASViewController","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2FASViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2FASViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2FASViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2FASViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmotion","download_url":"https://codeload.github.com/onmotion/ASViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135891,"owners_count":20729072,"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":["ios","keyboard-scroll-adjust","scroll","swift","textfield-scroll"],"created_at":"2024-10-02T16:06:53.400Z","updated_at":"2025-03-29T04:18:41.557Z","avatar_url":"https://github.com/onmotion.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASViewController\n\n[![Version](https://img.shields.io/cocoapods/v/ASViewController.svg?style=flat)](http://cocoapods.org/pods/ASViewController)\n[![License](https://img.shields.io/cocoapods/l/ASViewController.svg?style=flat)](http://cocoapods.org/pods/ASViewController)\n[![Platform](https://img.shields.io/cocoapods/p/ASViewController.svg?style=flat)](http://cocoapods.org/pods/ASViewController)\n\n## Example\n\n![sample](https://github.com/onmotion/ASViewController/blob/captions/Screenshots/2.gif)\n\n\n## Requirements\n\niOS 8.0+\nSwift 4.0\n\n## Installation\n\nASViewController is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'ASViewController'\n```\n* Add import **ASViewController** to your **ViewController**\n\n* Inherit your **ViewController** from **ASViewController** instead **UIASViewController**\n\n* then wrap your view contains text fields into **UIScrollView**, add ```@IBOutlet``` and bind it to scrollableArea as so:\n\n![sample2](https://github.com/onmotion/ASViewController/blob/captions/Screenshots/1.gif)\n\n* Setup AutoLayout like so:\n\n![1](https://github.com/onmotion/ASViewController/blob/captions/Screenshots/1.png)\n\n![2](https://github.com/onmotion/ASViewController/blob/captions/Screenshots/2.png)\n\n## Settings\n\nAlso you can set up offset to text field (default = 20)\n\n```\nASViewController.offset = 10\n```\n```\nASViewController.dismissKeyboardWhenTapAnywhere = true // (default = false) keyboard will be hidden when tapped anywhere outside textfield\n```\n\n\n## Author\n\nAlexandr Kozhevnikov, onmotion1@gmail.com\n\n## License\n\nASViewController is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmotion%2Fasviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmotion%2Fasviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmotion%2Fasviewcontroller/lists"}