测试MarsEdit

 
-(void)myBtnAction:(UIButton *)sender{ if (sender == myBtnname) { [ppp setValue:textField.text forKey:@"name"]; NSLog(@"%@",ppp); }else if(sender == myBtnage){ [ppp setValue:textField.text forKey:@"age"]; }else if(sender == myBtn){ label.font = [UIFont fontWithName:@"Arial" size:20]; }else if (sender == myBtn2){ label.font = [UIFont fontWithName:@"Helvetica-Light" size:20]; // label.font = UIFontWeightThin; }else{ [ppp setValue:textField.text forKey:@"sex"]; } }
-(void)myBtnAction:(UIButton *)sender{

    if (sender == myBtnname) {
[ppp setValue:textField.text forKey:@"name"];
NSLog(@"%@",ppp);
}else if(sender == myBtnage){
[ppp setValue:textField.text forKey:@"age"];
}else if(sender == myBtn){
label.font = [UIFont fontWithName:@"Arial" size:20];
}else if (sender == myBtn2){
label.font = [UIFont fontWithName:@"Helvetica-Light" size:20];
// label.font = UIFontWeightThin;
}else{
[ppp setValue:textField.text forKey:@"sex"];
} }
05-04 08:52