local_fire_departmentHoneystax
search⌘K
loginLog Inperson_addSign Up
layers
HONEYSTAX TERMINAL v1.0
HomeNewsSavedSubmit
Back to the live board
T

TextFieldCounter

SKILL

UITextField character counter with lovable UX. No math skills required.

Copy the install, test the workflow, then decide if it earns a permanent slot.

436
Why nowLower urgency

The signal is softer here. Treat it like a pattern source unless it solves a very specific gap.

DecisionHigh-conviction move

Copy the install, test the workflow, then decide if it earns a permanent slot.

Trial costMedium lift

Not hard to test, not trivial to unwind. Worth trying if it closes a sharp gap.

Risk44/100

GitHub health 71/100. no security policy. 4 open issues make this testable, but not something to trust blind.

What You Are Adopting

AI Agent

Universal

Model

Multiple

Build Time

Instant

Test This In Your Stack

One command inClean rollbackLow commitment
folderLocalClones to current directory. Delete the folder to remove.

Fastest way to find out if TextFieldCounter belongs in your setup.

Copy the install command, run a real test, and back it out cleanly if it slows you down.

Try now
# Visit: https://github.com/serralvo/TextFieldCounter

Run this first. You will know quickly if the workflow earns a permanent slot.

Back out
# No automated removal — visit https://github.com/serralvo/TextFieldCounter

No messy cleanup loop. If it misses, remove it and keep moving.

Install Location

~/  └─ .claude/      ├─ commands/      ├─ agents/      │   └─ textfieldcounter/ ← installs here      └─ settings.json

About

UITextField character counter with lovable UX. No math skills required.. An open-source skill for the AI coding ecosystem.

README

TextFieldCounter

UITextField character counter with lovable UX 💖. No math skills required 🙃.

Swift Version License Build Status codecov CocoaPods

Features

  • Set max length of UITextField.
  • A beautiful and animated label about the limits. Show it by ascending or descending way.
  • Haptic Feedback.
  • Easy setup with @IBInspectable.

TextFieldCounter

Requirements

TextFieldCounter Version 1.1.0 1.0.4
iOS Version 10.0+ 8.0+
Xcode Version 11.2 8

Installation

CocoaPods

You can use CocoaPods to install TextFieldCounter by adding it to your Podfile:

platform :ios, '10.0'
use_frameworks!
pod 'TextFieldCounter'

To get the full benefits import TextFieldCounter wherever you import UIKit

import UIKit
import TextFieldCounter

Manually

  1. Download and drop TextFieldCounter.swift in your project.
  2. Congratulations 🚀

Usage example

By Inspector

  1. Set the class and configure the options.

Inspector

Programmatically

import TextFieldCounter

let frame = CGRect(x: 20, y: 80, width: 320, height: 30)
let textField = TextFieldCounter(frame: frame, limit: 20, animate: true, ascending: true, counterColor: .black, limitColor: .red)

view.addSubview(textField)
Use Delegate

Set counterDelegate and enjoy it 🚀:

override func viewDidLoad() {
    super.viewDidLoad()
    textField.counterDelegate = self
}

func didReachMaxLength(textField: TextFieldCounter) {
    print("didReachMaxLength")
}

Next Steps

  • Add UIAppearance support
  • Add More tests
  • Add Carthage support

Contribute

We would ❤️ to see your contribution! To contribute to TextFieldCounter, check the LICENSE file for more info.

License

Distributed under the MIT license. See LICENSE for more information.

About

Created by Fabricio Serralvo – serralvo.co

Special thanks 👍 to @ciceroduarte and @rogerluan

Tech Stack

Swift
Open Live ProjectAudit Repo

Reviews0

Log in to write a review.

StaleLast commit 77mo ago
bug_report4open issues
Submitted December 3, 2016

auto_awesomeYour strongest next moves after TextFieldCounter