Alright, no additional introductions this time — I’ll just cut straight to the point:
NSCache is an amazing Cocoa API which is often overlooked by the developers. NSHipster has an amazing article on it, so I’ll go straight to business.
NSCache
UITextField
Dependency injection exists for a reason. Without it our code would be almost impossible to test. However, there are some major drawbacks when using the most…