Using NSArray in detailTextLable (UITableViewCell)

Posts: 1
Joined: 2010.03
Post: #1
Hi there,
I've been looking around for examples where one passes an array of icons(images) to the detailTextLable (UITableViewCell). Of course there's loads on how to use imageView for a single icon/image/.png file in a row of a table, but I want a list of icons (that changes) for each row in the table. It's pretty simple looking, but just not sure how to make it happen.
The textLable is the date stamp and the detailTextLable is a list of icons.
If anyone has seen an example of this, I would love to know about it.

Many Thanks in advance,
Quote this message in a reply
Posts: 241
Joined: 2008.07
Post: #2
I don't know about textLabels and textViews specifically but I do understand NSArray and pointers. The data you pass into NSArray is not copied, it's just retained, so if you can modify the image data in memory without copying, the data pointed to by NSArray will also be modified.

I don't know if any copies are made internally for display but I would hope not, as that would be a terrible waste of memory. Try simply changing it.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NSData or NSArray to array of u32 sumiguchi 2 4,866 Apr 4, 2009 09:44 AM
Last Post: sumiguchi