摘要:
避免更多的写c的基本函数 例如switch等可以用数组+index查询获得字符串中的第n个字符charcterAtIndex:n分割字符componentsSeparatedByString: objectAtIndex n索引样式是:n(1)符n(2)符n(3)代理是先执行的去实现协议后执行的定义代理 //设置UITextField边框样式[field setBorderStyle:UITextBorderStyleRoundedRect];//查询field开头的字符串是否是http://[field.text hasPrefix:@"http://"]//设置nav的 阅读全文