3
par exemple ...Peut-on comparer les NSString avec NSMutableString
NSString string1 = @"Hello world";
NSMutableString string2 = [NSMutableString stringWithString: string1];
alors ... alors peut-on comparer ces affirmations à l'aide suivante ..? ou il y a un autre moyen?
if(string1 isEqualToString:string2)
Aidez-moi s'il vous plaît ...
Tant que vous corrigez votre instruction if à lire: 'if ([chaîne1 isEqualToString: chaîne2])' alors oui, votre code est correct. – jer