string format

Discussion in 'iPhone/iPad Programming' started by webznz, Apr 26, 2011.

  1. macrumors member

    Joined:
    Mar 8, 2011
    Location:
    Hobbitin
    #1
    Hey, I'm not sure how to refer to this.. I think its a string format but thought I would come here to get some help.

    I am wanting to get my user to enter a 20 character string, they will be numbers and I want to after every fifth number to insert a hyphen.. as the person is typing... how can this be done?

    thanks.
     
  2. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    this would take a bit of work i think, but u should use the delegate method of a textField, didchangecharactersinrange or somewhat?
    Think that should set u off..
     

Share This Page