{"id":16835204,"url":"https://github.com/hackiftekhar/iqkeyboardtoolbarmanager","last_synced_at":"2025-06-28T01:02:40.849Z","repository":{"id":249804613,"uuid":"832257136","full_name":"hackiftekhar/IQKeyboardToolbarManager","owner":"hackiftekhar","description":"Used for maintaining IQKeyboardToolbar throughout the app.","archived":false,"fork":false,"pushed_at":"2025-02-15T15:05:50.000Z","size":363,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T19:11:46.966Z","etag":null,"topics":[],"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/hackiftekhar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T16:31:35.000Z","updated_at":"2025-06-03T08:16:37.000Z","dependencies_parsed_at":"2024-07-23T13:19:30.467Z","dependency_job_id":"56ca483c-1f1f-494b-9449-0b9f0b3ff331","html_url":"https://github.com/hackiftekhar/IQKeyboardToolbarManager","commit_stats":null,"previous_names":["hackiftekhar/iqkeyboardtoolbarmanager"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/hackiftekhar/IQKeyboardToolbarManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackiftekhar%2FIQKeyboardToolbarManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackiftekhar%2FIQKeyboardToolbarManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackiftekhar%2FIQKeyboardToolbarManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackiftekhar%2FIQKeyboardToolbarManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackiftekhar","download_url":"https://codeload.github.com/hackiftekhar/IQKeyboardToolbarManager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackiftekhar%2FIQKeyboardToolbarManager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262357507,"owners_count":23298458,"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-10-13T12:09:17.174Z","updated_at":"2025-06-28T01:02:40.808Z","avatar_url":"https://github.com/hackiftekhar.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IQKeyboardToolbarManager\n\n[![CI Status](https://img.shields.io/travis/hackiftekhar/IQKeyboardToolbarManager.svg?style=flat)](https://travis-ci.org/hackiftekhar/IQKeyboardToolbarManager)\n[![Version](https://img.shields.io/cocoapods/v/IQKeyboardToolbarManager.svg?style=flat)](https://cocoapods.org/pods/IQKeyboardToolbarManager)\n[![License](https://img.shields.io/cocoapods/l/IQKeyboardToolbarManager.svg?style=flat)](https://cocoapods.org/pods/IQKeyboardToolbarManager)\n[![Platform](https://img.shields.io/cocoapods/p/IQKeyboardToolbarManager.svg?style=flat)](https://cocoapods.org/pods/IQKeyboardToolbarManager)\n\n![Screenshot](https://raw.githubusercontent.com/hackiftekhar/IQKeyboardToolbarManager/master/Screenshot/IQKeyboardToolbarManagerScreenshot.png)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n## Installation\n\nIQKeyboardToolbarManager is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'IQKeyboardToolbarManager'\n```\n\n## Usage\n\nEnable toolbar handling in AppDelegate\n\n```swift\nimport UIKit\nimport IQKeyboardToolbarManager\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -\u003e Bool {\n        IQKeyboardToolbarManager.shared.isEnabled = true\n        return true\n    }\n```\n\nCuistomize Behavior\n```swift\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.useTextInputViewTintColor = true\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.tintColor = UIColor.systemGreen\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.barTintColor = UIColor.systemYellow\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.previousNextDisplayMode = .alwaysShow\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.manageBehavior = .byPosition\n\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.previousBarButtonConfiguration = ... // BarButton configuration to change title, image or system image etc\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.nextBarButtonConfiguration = ... // BarButton configuration to change title, image or system image etc\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.doneBarButtonConfiguration = ... // BarButton configuration to change title, image or system image etc\n\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.placeholderConfiguration.showPlaceholder = false\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.placeholderConfiguration.font = UIFont.italicSystemFont(ofSize: 14)\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.placeholderConfiguration.color = UIColor.systemPurple\n        IQKeyboardToolbarManager.shared.toolbarConfiguration.placeholderConfiguration.buttonColor = UIColor.systemBrown // This is used only if placeholder is an action button\n\n        IQKeyboardToolbarManager.shared.playInputClicks = false\n\n        IQKeyboardToolbarManager.shared.disabledToolbarClasses.append(ChatViewController.self)\n        IQKeyboardToolbarManager.shared.enabledToolbarClasses.append(LoginViewController.self)\n        IQKeyboardToolbarManager.shared.deepResponderAllowedContainerClasses.append(UIStackView.self)\n```\n\nUseful functions and variables\n```swift\n        if IQKeyboardToolbarManager.shared.canGoPrevious {\n          ...\n        }\n\n        if IQKeyboardToolbarManager.shared.canGoNext {\n          ...\n        }\n\n        IQKeyboardToolbarManager.shared.goPrevious()\n        IQKeyboardToolbarManager.shared.goNext()\n\n        IQKeyboardToolbarManager.shared.reloadInputViews() // If some textInputView hierarchy are changed on the fly then use this to reload button states\n```\n\nUseful functions and variables for TextInputView\n```swift\n        textField.iq.ignoreSwitchingByNextPrevious = false\n```\n\n## Author\n\nIftekhar Qurashi hack.iftekhar@gmail.com\n\n## License\n\nIQKeyboardToolbarManager 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%2Fhackiftekhar%2Fiqkeyboardtoolbarmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackiftekhar%2Fiqkeyboardtoolbarmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackiftekhar%2Fiqkeyboardtoolbarmanager/lists"}