tingxins / InputKit

📝InputKit, an Elegant Kit to limits your input text, inspired by BlocksKit, written in both Objective-C & ⚡️Swift.

Home Page:https://tingxins.com/2017/06/input-kit-introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is is possible using category rather than Inheritance

beforeold opened this issue · comments

TXLimitTextField is cool, thanks for saving me from struggling.

one question as the issue title.

Yep. First, thanks for your cool @beforeold . Well, it’s a good idea. but I have considered Category ever. for some reasons. I implemented InputKit with Inheritance. sometimes, especially in some projects. I think it’s unnecessary to limits users input contents somewhere. not like BlocksKit, it’s defines as category. But InputKit defines as a component. if you want to use InputKit. Just Inherit it. if not. nothing will happens. 🐵

Gotcha.