Refactoring 3 different UI components into one UIView into a CocoaPod
问题 in my iOS project i've been re-using the same 3 different types of UI elements: Label input check mark (or X ). And the logic is the same: when the user is entering text, validate. while validation fails, red check mark,etc. So, the next obvious stage is to refactor this into one UIView so that I can just drag and drop. And I want this into a Cocoa pod. Refactoring the elements into a UIview, etc is not hard. But I'm stuck on putting this logic into a Cocoa Pod. The XIB doesn't load so the