I´m making a dictionary (this is my test app) here is my code which not work:
- (IBAction) btnClickMe_Clicked:(id)sender {
NSString *kw = s.text;
NSString *encodedkw = [kw stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSString *mms = [NSString stringWithFormat: @"%@", encodedkw];
if (mms=NULL){
iMessageLabel.text=@"put text";
} else if (mms=@"a"){
iMessageLabel.text=@"this is a";
} else if (mms=@"b"){
iMessageLabel.text=@"this is b";
}
}
anybody have some idea with this ? thanks ALex