title: How to Input Dash After Every 4th Character in Objective-C
body: <p>I have a UITextField that gets a credit card input. How can I automatically insert a dash after the user inputs a 4th character just like how the Groupon app for iOS does it when a user is typing his credit card number? Thanks in advance.</p>