04 2013 档案
摘要:1.获取调用者所在视图控制器的类名NSString *className = [NSString stringWithUTF8String:class_getName([self class])];2.UIPopoverController的用法引入头文件:。h《UIPopoverControllerDelegate 》。mUIPopoverController *_popover = [[UIPopoverController alloc] initWithContentViewController:_reportListViewController]; _popover.delegate
阅读全文
摘要:1、数字字符校验#defineNUMBERSPERIOD@"0123456789."-(BOOL)CheckInput:(NSString*)string{ NSCharacterSet*cs; cs=[[NSCharacterSetcharacterSetWithCharactersInString:NUMBERSPERIOD]invertedSet];NSString*filtered=[[stringcomponentsSeparatedByCharactersInSet:cs]componentsJoinedByString:@""];BOOLb
阅读全文

浙公网安备 33010602011771号