I have the following line of code:
if( !self.isLoading && TTIsEmptyString !TTIsEmptyString(_username) )
and it results in the following error:
Undefined symbols: "_TTIsEmptyString", referenced from: -[UserModel load:more:] in UserModel.o ld: symbol(s) not found collect2: ld returned 1 exit status
I've read, that linker errors come from 'not included' libraries, but the three20 lib is included in my project.
Any ideas?
I believe the latest version of Three20 removed this method without really making as big of a news flash about it as it should have. It took me a while to troubleshoot this, but basically you just need to change all calls to TTIsEmptyString to TTIsSetWithItems, for example:
if( !self.isLoading && !TTIsSetWithItems(_username) )
I hope this works for you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.