Your item class needs to return the URL you want to navigate to in the URLValue method. URLValue is implemented in a category on NSObject and uses the URLMap to create URL for objects. If your item is subclass of TTTableLinkedItem, it has a URL property, which is used instead.
Have a look at TTTableViewController didSelectObject:(id)object atIndexPath:(NSIndexPath*)indexPath and TTTableViewDelegate tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath.
Is execution anytime reaching TTOpenURLFromView(URL, self. View); in either of these methods? What does the URL you are trying to open look like?
– tonklon Jul 8 at 8:41 Maybe I am not giving enough information here, I have a custom cell that subclasses the TTTableLinkedItemCell and everything is set via the setObject:(id)object method. Yes the item is a subclass of TTTableLinkedItem, but the URL is not set yet before the setObject method. I did a NSLog on the - (void)didSelectObject:(id)object atIndexPath:(NSIndexPath*)indexPath , that prints the URL of object, but it is null.
Why is this? I have set this URL on the setObject. – adit Jul 8 at 23:50 Ok, I think I understand what you are trying to do.
I don't see any reason why this should not work, but I do not see a reason why you would want to do it that way, either. Why can't you set the URL before? What dataSource class are you using?
Does your dataSources tableView:objectForRowAtIndexPath: implementation use any kind of copying? – tonklon Jul 9 at 18:08 let me ask the question this way, I actually want a TTTableTextItem which has an image and a description text under the main text area. How do I do this?
Should I subclass it an just add a TTImage and a text area under neath it? How do I set the position of the TTImage, etc – adit Jul 10 at 2:34.
Your item class needs to return the URL you want to navigate to in the URLValue method. URLValue is implemented in a category on NSObject and uses the URLMap to create URL for objects.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.