06 2011 档案

摘要:一个人的努力,是加法效应;一个团队的努力,是乘法效应“质量”迎来的是顾客的再次光顾,而非卖出去的货物的再次光顾踏着别人的脚步前进,超越就无从谈起我们并不是拥有太少的时间,而是拥有太多我们不用的时间很多时候我们都知道要做什么,但是知道了以后,仍然会不做脑袋之所以是圆的,那是为了满足我们不断转换思路的需要思想的巨人,通常是行动的矮子请在点餐前注意价格!安全无小事找解决方案要比去找事情原因的优先级高如果自己脚上没磨出老茧,就不要(拿鞭子)赶别人过多的会议是一个糟糕的组织的明显标志彼此尊重才能达成彼此的理解帮助别人成功,本身也是一种成功真正的创新只有在经历过擦肩而过后才能实现过而不改,是谓过矣想要看得 阅读全文
posted @ 2011-06-29 08:45 周宏伟 阅读(562) 评论(1) 推荐(0) 编辑
摘要:+ (UIColor *) colorWithHexString: (NSString *) stringToConvert{ NSString *cString = [[stringToConvert stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString]; // String should be 6 or 8 characters if ([cString length] < 6) return DEFAULT_VOID_COLOR; // 阅读全文
posted @ 2011-06-27 19:47 周宏伟 阅读(699) 评论(0) 推荐(1) 编辑
摘要:这种UITextField实现效果如下: UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 45, 21)]; lbl.backgroundColor = [UIColor clearColor]; lbl.textColor = [UIColor lightGrayColor]; lbl.text = @"Start:"; UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(50, 100, 150, 31)]; tf.b 阅读全文
posted @ 2011-06-24 14:58 周宏伟 阅读(12949) 评论(1) 推荐(2) 编辑
摘要:NSMutableArray *ma1 = [[NSMutableArray alloc] init]; [ma1 addObject:@"2"]; [ma1 addObject:@"1"]; [ma1 addObject:@"3"]; NSSortDescriptor *sd1 = [NSSortDescriptor sortDescriptorWithKey:@"self" ascending:NO]; NSArray *arr1 = [ma1 sortedArrayUsingDescriptors:[NSAr 阅读全文
posted @ 2011-06-16 15:58 周宏伟 阅读(5082) 评论(0) 推荐(1) 编辑
摘要:MBProgressHUD(进展指示符库)地址:https://github.com/jdg/MBProgressHUD苹果的应用程序一般都会用一种优雅的,半透明的进度显示效果,不过这个API是不公开的,因此你要是用了,很可能被清除出AppStore。而 MBProgressHUD提供了一个替代方案,而且在用户角度上,实现的效果根本看不出和官方程序有什么差别。同时还提供了其他附加功能,比如虚拟进展 指示符,以及完成提示信息。整合到项目里也很容易,这里不细谈了。ASIHttpRequest(HTTP Network库)地址:http://allseeing-i.com/ASIHTTPReques 阅读全文
posted @ 2011-06-16 08:05 周宏伟 阅读(1140) 评论(0) 推荐(0) 编辑
摘要:when I wrote about local notifications one thing that I left out was the ability to schedule a repeating notification. One of the reasons I did not bother to mention the ability to set a repeat interval is that the function is very limited. At least it is with iOS 4.1 at the time of writing. To show 阅读全文
posted @ 2011-06-15 14:33 周宏伟 阅读(1274) 评论(0) 推荐(1) 编辑
摘要:NSDate *fooDate = [NSDate date];unsigned units = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSWeekdayCalendarUnit;NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];NSDateComponents *components = [calendar components:units fromDate:fooDate] 阅读全文
posted @ 2011-06-13 15:44 周宏伟 阅读(571) 评论(0) 推荐(1) 编辑
摘要:If you’ve installed Xcode 3.2.3 you quickly became aware that the only SDK’s packaged with this version are 4.0 and 3.2. Until 4.x has widespread adoption, chances are you’ll want your applications to run on earlier versions of the iPhone OS (iOS) SDK. You can accomplish this feat through two config 阅读全文
posted @ 2011-06-02 11:52 周宏伟 阅读(1011) 评论(0) 推荐(1) 编辑
摘要:ShareKit is incredibly easy to add to any existing project. Follow the steps below and you can be up and running in under 15 minutes. Step 1: DownloadDownload ShareKit Version 0.2.1 - Download includes ShareKit and an example project. Step 2: Adding ShareKit to your ProjectCopy Files from Example P. 阅读全文
posted @ 2011-06-02 11:34 周宏伟 阅读(980) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示