Three20 - SIGABRT on setting TTTableLongTextItem to TTStyledText
Posted
by gavinblair
on Stack Overflow
See other posts from Stack Overflow
or by gavinblair
Published on 2010-03-26T15:54:09Z
Indexed on
2010/03/26
16:03 UTC
Read the original article
Hit count: 191
My code is as follows
TTTableLongTextItem *descItem = [[TTTableLongTextItem alloc] autorelease];
TTStyledText *styledDesc = [[TTStyledText alloc] autorelease];
styledDesc = [TTStyledText textWithURLs:@"howdy http://www.google.com"];
//this line causes the SIGABRT:
descItem.text = styledDesc;
//I also get a warning on this line that says "warning: passing argument 1 of 'setText:' from distinct Objective-C type"
What am I missing here? Any help is muchly appreciated - Three20 documentation is a little sparse!
© Stack Overflow or respective owner