摘要: 1.去RegexKitLite下载类库,解压出来会有一个例子包及2个文件,其实用到的就这2个文件,添加到工程中。2.工程中添加libicucore.dylib frameworks。3.现在所有的nsstring对象就可以调用RegexKitLite中的方法了。NSString *email = @”kkk@aaa.com”;[email isMatchedByRegex:... 阅读全文
posted @ 2010-05-21 23:23 AlexLiu 阅读(5707) 评论(0) 推荐(3) 编辑
摘要: 本来想找一个如何能把HTML的String,解析出来的工具。暂时还没有找到。但是找到一段很不错的code。可以移调里面的标签。} 阅读全文
posted @ 2010-05-21 23:17 AlexLiu 阅读(1725) 评论(4) 推荐(1) 编辑
摘要: // start by retrieving day, weekday, month and year components for yourDate NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *todayCompon... 阅读全文
posted @ 2010-05-21 16:39 AlexLiu 阅读(1557) 评论(0) 推荐(0) 编辑