Hi,
I solved this problem by adding
NSString* _queryKey;
NSObject* _queryObject;
@property (nonatomic,copy) NSString* queryKey;
@property (nonatomic,retain) NSObject* queryObject;
to TTTableLinkedItem and then added the following to
TTTableViewDelegate
if (item.queryKey && item.queryObject) {
NSMutableDictionary* q = [NSMutableDictionary
dictionaryWithObject:item.queryObject forKey:item.queryKey];
TTOpenURLWithQuery(item.URL,q);
} else {
TTOpenURL(item.URL);
}
I had originally tried URL encoding my queryObject onto the URL, but
that failed miserably as the object I was dealing with was a large
amount of XML. Even after encoding it didn't quite work.
The limitation of my work around is that you can't add multiple query
objects/keys for a tableitem.
Can anyone suggest a better implementation that allows me to pass many
objects along a TTTableLinkedItem?
Regards,
CV