View Full Version : Dealing with spaces in text titles for list views

Sep 4, 2008, 07:33 AM
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:@"Man" description:@"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?

Sep 4, 2008, 07:49 AM
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...