# michaeltyson/TPKeyboardAvoiding

A drop-in universal solution for moving text fields out of the way of the keyboard in iOS

Repository: https://github.com/michaeltyson/TPKeyboardAvoiding
Canonical: https://ross.abutalabs.com/products/tpkeyboardavoiding
Homepage: http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/
Language: Objective-C
License: Zlib
License Family: permissive
Last push: 2023-09-15T07:38:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5620, "days_push": 1083, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5787, forks 913 (observed 2026-08-28T04:09:29.602382+00:00)

## What it is
A drop-in Objective-C library providing UIScrollView and UITableView subclasses that automatically keep text fields visible above the iOS keyboard. It adjusts content insets and offsets with keyboard-matched animations and wires up 'Next' keyboard buttons.

## Use cases
- keep text fields visible when the keyboard appears in iOS forms
- avoid keyboard covering UITextField in a scroll view
- auto-scroll UITableView when editing text fields
- wire up Next button to move between text fields
- drop-in keyboard avoidance for UITableViewController

## When to choose
- building UIKit-based iOS apps with forms and no existing keyboard handling
- wanting a zero-configuration subclass-based solution
- supporting older iOS codebases using Objective-C

## When to avoid
- building with SwiftUI, which has built-in keyboard avoidance
- needing actively developed Swift-first alternatives
- requiring customization beyond content inset adjustment

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, developer-tools
- platform: -
- tags: objective-c, keyboard-avoidance, uikit, scrollview, drop-in, ios, mobile

## Member repositories
- michaeltyson/TPKeyboardAvoiding (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:29.602382+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:52:49.277271+00:00, confidence not recorded.
  - readme: https://github.com/michaeltyson/TPKeyboardAvoiding (fetched 2026-08-28T04:09:29.602382+00:00, sha 7fbbabd79e64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
