How do you write multiple texts?

Discussion in 'iOS Programming' started by beesbane, Oct 16, 2010.

  1. beesbane macrumors newbie

    Oct 16, 2010
    I'm working with a text=

    I want it to write a string of things, for example:

    myAddress.text = aBook.address, @" • Mackinaw City • ", aBook.zipCode;

    the "," isn't the right way to connect them, nor is "+". How do I write it?
  2. Matthew Yohe macrumors 68020

    Oct 12, 2006
    You need to read the NSString Class Reference.

    Namely, stringWithFormat: and stringWithString:

Share This Page