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 05:13:25 +0200
Okay, I'll read that more closely. I was hoping the tableView would
figure out what to do with an array of strings. And
it does, except, as far as I can tell, the backslash. I believe I can
convert the array into a string using componentsJoinedByString before
sending it along. We'll see if that works tomorrow as it's 5AM here and
I need to get some sleep.
Thanks for your help.
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.