{"id":25157582,"url":"https://github.com/podkovyrin/apnumberpad","last_synced_at":"2025-04-05T20:09:43.162Z","repository":{"id":17096780,"uuid":"19862137","full_name":"podkovyrin/APNumberPad","owner":"podkovyrin","description":"Full clone of iOS number keyboard with the customizable function button.","archived":false,"fork":false,"pushed_at":"2022-11-10T09:02:19.000Z","size":693,"stargazers_count":295,"open_issues_count":3,"forks_count":46,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T19:07:59.235Z","etag":null,"topics":["ios","keyboard","objective-c","swift"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/podkovyrin.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":"2014-05-16T15:52:37.000Z","updated_at":"2025-02-26T21:50:18.000Z","dependencies_parsed_at":"2022-09-13T22:23:58.378Z","dependency_job_id":null,"html_url":"https://github.com/podkovyrin/APNumberPad","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podkovyrin%2FAPNumberPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podkovyrin%2FAPNumberPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podkovyrin%2FAPNumberPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podkovyrin%2FAPNumberPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/podkovyrin","download_url":"https://codeload.github.com/podkovyrin/APNumberPad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393574,"owners_count":20931813,"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","objective-c","swift"],"created_at":"2025-02-09T01:40:52.737Z","updated_at":"2025-04-05T20:09:43.134Z","avatar_url":"https://github.com/podkovyrin.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APNumberPad\n\n[![CI Status](http://img.shields.io/travis/podkovyrin/APNumberPad.svg?style=flat)](https://travis-ci.org/podkovyrin/APNumberPad)\n[![Version](https://img.shields.io/cocoapods/v/APNumberPad.svg?style=flat)](http://cocoapods.org/pods/APNumberPad)\n[![License](https://img.shields.io/cocoapods/l/APNumberPad.svg?style=flat)](http://cocoapods.org/pods/APNumberPad)\n[![Platform](https://img.shields.io/cocoapods/p/APNumberPad.svg?style=flat)](http://cocoapods.org/pods/APNumberPad)\n\nAPNumberPad is a custom keyboard for iOS allows you to create a keyboard `inputView` that looks and feels just like the iPhone keyboard with `UIKeyboardTypeNumberPad` as `keyboardType`. Also APNumberPad provides customizable left-function button.\n\n\u003cimg src=\"https://raw.github.com/podkovyrin/APNumberPad/master/apnumberpad_demo.gif\" alt=\"APNumberPad\" title=\"APNumberPad demo\" style=\"display:block; margin: 10px auto 30px auto; align:center\"/\u003e\n\n## Features\n - FULLY repeats default iOS keyboard look'n'feel (input with \"tap by tap\", pan over keyboard and release finger on button, holding clear button, ...)\n - Device rotation\n - Customizable left function button\n - Customizable keyboard appearence (see `APNumberPadStyle.h`)\n - `UITextField` and `UITextView` support (or any other `UIResponder` object that responds to `UITextInput` protocol)\n - Input clicks\n - iPhone X (safe area) support\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n```obj-c\n// in .h:\n#import \u003cAPNumberPad/APNumberPad.h\u003e\n\n@interface ExampleViewController : UIViewController \u003cAPNumberPadDelegate\u003e\n\n// in .m:\n\nUITextField *textField = [[UITextField alloc] initWithFrame:CGRectZero];\ntextField.inputView = ({\n    APNumberPad *numberPad = [APNumberPad numberPadWithDelegate:self];\n    // configure function button\n    //\n    [numberPad.leftFunctionButton setTitle:@\"Func\" forState:UIControlStateNormal];\n    numberPad.leftFunctionButton.titleLabel.adjustsFontSizeToFitWidth = YES;\n    numberPad;\n});\n\n#pragma mark - APNumberPadDelegate\n\n- (void)numberPad:(APNumberPad *)numberPad functionButtonAction:(UIButton *)functionButton textInput:(UIResponder\u003cUITextInput\u003e *)textInput {\n    [textInput insertText:@\"#\"];\n}\n```\n\n## Requirements\niOS 8.0 or later.\n\n## Notes\nInspired by https://github.com/kulpreetchilana/Custom-iOS-Keyboards and http://stackoverflow.com/questions/13205160/how-do-i-retrieve-keystrokes-from-a-custom-keyboard-on-an-ios-app/13205494#13205494\n\nAPNumberPad very gratefully makes use of backspace icon from Typicons set by Stephen Hutchings (http://typicons.com/), under Creative Commons (Attribution-Share Alike 3.0 Unported) license.\n\n## Installation via CocoaPods\n\nAPNumberPad is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"APNumberPad\"\n```\n\n## Installation via Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate APNumberPad into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"podkovyrin/APNumberPad\"\n```\n\n## Author\n\nAndrew Podkovyrin, podkovyrin@gmail.com\n\n## License\n\nAPNumberPad 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%2Fpodkovyrin%2Fapnumberpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpodkovyrin%2Fapnumberpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodkovyrin%2Fapnumberpad/lists"}