Dealing with spaces in text titles for list views

Discussion in 'iPhone/iPad Programming' started by jimhanika, Sep 4, 2008.

  1. macrumors newbie

    Joined:
    Jun 3, 2006
    Location:
    London
    #1
    I have been playing with different forms of database lists, from sqlite to making an index system in an array. One of the issues I have come across is not being able to use two or more words in the entry name. For example:

    Entry *Man = [[Entry alloc] initWithName:mad:"Man" description:mad:"The male of the species."];

    If I used '*Man or boy', this would have all sorts of problems.

    Is there are way of having more than one word in this type of index?
     
  2. thread starter macrumors newbie

    Joined:
    Jun 3, 2006
    Location:
    London
    #2
    Answered my own question

    I've had a blonde moment!!

    I go back to my app in xcode and immediately realise that the initial naming is the variable, but the following entry name can be more than one word if I want it to be.

    Well there you go...
     

Share This Page