Crashing Strings.... :( objective-c

Posted by Ruiter on Stack Overflow See other posts from Stack Overflow or by Ruiter
Published on 2010-05-24T22:40:27Z Indexed on 2010/05/25 21:21 UTC
Read the original article Hit count: 120

Filed under:
|
|
|

I have in the .h file :

NSString *dataHML; 
NSString *dataHML2;
NSString *dataHML3;
NSString *dataHML4;
NSString *dataHML5;
NSString *dataHML6;
NSString *dataHMLtotal;

in the .m file i merge them with :

NSString *dataHtmlTotal = [NSString stringWithFormat:@"%@%@%@%@%@%@", dataHtml, dataHtml2, dataHtml3, dataHtml4,dataHtml5,dataHtml6];

But unfortunately it crashes at some point because of this. Could anyone give me a other solution and post it please, because i already tried nsuserdefault or a nsarray, but without i coudn't get it working :(

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about data