Re: NEWBIE: double backslash in NSStrings
Re: NEWBIE: double backslash in NSStrings
- Subject: Re: NEWBIE: double backslash in NSStrings
- From: ber <email@hidden>
- Date: Sun, 18 Aug 2002 15:09:50 +0200
Thanks Andrew,
I went with componentsJoinedByString and that displays the text
accurately. I wish the Apple docs provided hyperlinks to the
terminology they use like "common value classessuch as NSString,
NSNumber, and so on" in the Using a Table Data Source discussion.
brian
On Sunday, August 18, 2002, at 05:03 AM, Andrew Pinski wrote:
>
Can you try to read this:
>
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/
>
ProgrammingTopics/TableView/Tasks/UsingTableDataSource.html
>
>
It seems that you do not want to return an NSArray from this message
>
but you want to return the NSString itself.
>
>
Thanks,
>
Andrew Pinski
>
>
>
On Saturday, August 17, 2002, at 10:51 , ber wrote:
>
>
> In (id)tableView:(NSTableView *)aTableView
>
> objectValueForTableColumn:(NSTableColumn *)aTableColumn
>
> row:(int)rowIndex
>
>
>
> I return myArray which is an array or NSStrings.
>
>
>
> brian
>
>
>
> On Sunday, August 18, 2002, at 04:46 AM, Andrew Pinski wrote:
>
>
>
>>
>
>> On Saturday, August 17, 2002, at 10:38 , ber wrote:
>
>>
>
>>> I'm afraid I don't understand what you mean by "expected to be
>
>>> copied into c code".
>
>>>
>
>>> How do I get the display (the table on the screen in my
>
>>> application) to show the same number of backslashes that
>
>>> are in the string?
>
>>
>
>> How are you displaying it on the screen right now and then maybe I
>
>> can help.
>
>>
>
>> Thanks,
>
>> Andrew Pinski
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.