Now can I display an image in a table view. The big thing is there will be multiple data sources and each one has a different image. I’m using pubsub to get the data.
Ex:
data source 1
image
-data
-data1
data source 2
image 1
-data 2
-data 3
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need a controller object that is set as the datasource of the table view. It is the job of that single controller to tell the table view what to display. You don’t implement multiple data sources for a table view.
Your controller should aggregate the data from the various sources and display it in your desired layout by returning appropriate values from the various
NSTableDataSourcemethods. How you do this is up to you.