Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tableview row



Michel,
Try checking the location of the cell nib within your directory structure. If it inside a language directory (for example en.lproj) you must add with the localization function:


DataStore.Set("CDDB.MainResultsTable.columns.cdtitle.cell.nibURL", XMLQuery.localized_url("TableRow.nib/objects.nib"));

if it's nothing locale specific I'd recommend just moving it out of the language specific folder, readding it to the project, and referencing it as you're already doing.

There's also a discrepancy between your "Table row subview" email and this one. Previously you were using "cdlist" and now it's "cdtitle". Maybe there's still an old reference floating around after the name change?

--Sarah


On Sunday, December 29, 2002, at 10:52 AM, Michel Beaucourt wrote:

Hi all,

First of all, thanks again for all the answers to my previous
questions, they have been extremely helpfull, and my understanding of
Sherlock channel development has increased enormously.

I have another question about implementing a subview in a table row. I
tried to implement a view in a row based on some example channels
(LibPlussa and ImageExaminer) but something is going wrong in my
channel and i don't know what. Look at this picture:

[demime 0.98b removed an attachment of type application/pdf which had a name of Picture 2.pdf]
In this CD TItle column I have put a subview with the following code:
DataStore.Set("CDDB.MainResultsTable.columns.cdtitle.cell.nibURL","Tabl e
Row.nib/objects.nib");


DataStore.Set("CDDB.MainResultsTable.columns.cdtitle.dataCellType","She r
lockCell");


This subview contains 2 textfields, named albumNameTextField and
artistNameTextField. I used dictionaries in the result list but for
some reason they are displayed as dictionaries in the resulting rows as
you can see in the picture. It seems to me that the nib file of the
view isn't properly loaded.
One result looks like:
  {
         cdtitle = {
             albumNameTextField = {objectValue = " Why"; };
             artistNameTextField = {objectValue = "3T Feat. Michael
Jackson "; };
         };
         doubleClickURL =
http://www.freedb.org/freedb_search_fmt.php?cat=misc&id=2504a104;
     },

Any idea what i am doing wrong?

Best Regards,
Michael Beaucourt

PS: Has anyone got a step-by-step guide on how to implement a subview
in a table column? I think I am doing something wrong building the view
in interface builder, but i am not sure.
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel- development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Tableview row (From: Michel Beaucourt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.