摘要: 1.首先我们如果要做这个效果就要知道这个(UIDocumentInteractionController) _docController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWit... 阅读全文
posted @ 2015-11-19 10:33 信仰NSLog 阅读(836) 评论(3) 推荐(0)
摘要: 1.首先我们如果要做这个效果就要知道这个(UIDocumentInteractionController) _docController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWit 阅读全文
posted @ 2015-11-19 10:30 信仰NSLog 阅读(187) 评论(0) 推荐(0)
摘要: +(NSString*)strmethodComma:(NSString*)string{ NSString*sign = nil; if ([stringhasPrefix:@"-"]||[string hasPrefix:@"+"]) {sign = [string substringToInd... 阅读全文
posted @ 2015-09-21 15:57 信仰NSLog 阅读(239) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor yellowColor]; //这个是你请求的 东西 NSString *stringlabel = @"hello的期望Word的期望";... 阅读全文
posted @ 2015-07-28 15:12 信仰NSLog 阅读(343) 评论(0) 推荐(0)
摘要: 这个我们就是可以直接宏定义到 我们的工程中,这样我们就可以用我们UI小妹,给我们16进制的颜色表示,愉快的编程了。。。#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16... 阅读全文
posted @ 2015-06-15 13:27 信仰NSLog 阅读(379) 评论(0) 推荐(0)
摘要: WIDTH:(([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait || [UIApplication sharedApplication].statusBarOrienta... 阅读全文
posted @ 2015-06-11 14:35 信仰NSLog 阅读(143) 评论(0) 推荐(0)
摘要: + (BOOL)isNil:(NSObject*)obj { if (obj == nil || obj == NULL) { return YES; } if ([obj isKindOfClass:[NSNull class]]) { return YES; } retur... 阅读全文
posted @ 2015-06-01 17:39 信仰NSLog 阅读(266) 评论(0) 推荐(0)