摘要: 这种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 周宏伟 阅读(12948) 评论(1) 推荐(2) 编辑
摘要: MBProgressHUD(进展指示符库)地址:https://github.com/jdg/MBProgressHUD苹果的应用程序一般都会用一种优雅的,半透明的进度显示效果,不过这个API是不公开的,因此你要是用了,很可能被清除出AppStore。而 MBProgressHUD提供了一个替代方案,而且在用户角度上,实现的效果根本看不出和官方程序有什么差别。同时还提供了其他附加功能,比如虚拟进展 指示符,以及完成提示信息。整合到项目里也很容易,这里不细谈了。ASIHttpRequest(HTTP Network库)地址:http://allseeing-i.com/ASIHTTPReques 阅读全文
posted @ 2011-06-16 08:05 周宏伟 阅读(1137) 评论(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 周宏伟 阅读(1273) 评论(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 周宏伟 阅读(570) 评论(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 周宏伟 阅读(1008) 评论(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 周宏伟 阅读(979) 评论(0) 推荐(1) 编辑
摘要: 偶然的机会发现了博主易飞扬的文章,喜悦之情无以言表,我把博主文章的索引整理了一下,感谢博主的无私奉献!!!iPhone开发入门(1)—-程序员眼中的iPhoneiPhone开发入门(2)—从iPhone SDK开始iPhone开发入门(3)—Linux上构筑iPhone OS3.1.2开发环境iPhone开发入门(4)—应用程序开发的第一步iPhon... 阅读全文
posted @ 2010-09-17 16:31 周宏伟 阅读(2700) 评论(0) 推荐(2) 编辑
摘要: 将我在17EXT发的ExtJs框架系列汇总以下,便于大家查找讨论.ExtJs框架系列之GridCellActions http://www.17ext.com/showtopic-812.aspx ExtJs框架系列之youtubeplayer http://www.17ext.com/showtopic-810.aspx ExtJs框架系列之GroupCombobox http://www.17... 阅读全文
posted @ 2010-04-03 08:15 周宏伟 阅读(1661) 评论(0) 推荐(1) 编辑
摘要: Defining a DataGridFor any of these columns to be useful you are going to first need a DataGrid to add them to. The following creates a DataGrid, adds it as a child of the root layout Grid, and sets i... 阅读全文
posted @ 2010-01-13 16:46 周宏伟 阅读(2160) 评论(0) 推荐(1) 编辑
摘要: 1.MVC教程首页http://www.asp.net/learn/mvc/?lang=cs2.MVC概况2.1创建一个基于数据库的"电影"web应用http://www.asp.net/learn/mvc/tutorial-21-cs.aspx2.2MVC执行过程http://www.asp.net/learn/mvc/tutorial-22-cs.aspx2.3理解Models(模型),Vie... 阅读全文
posted @ 2009-12-06 13:13 周宏伟 阅读(3553) 评论(0) 推荐(1) 编辑
摘要: 在配置wsDualHttpBinding回调时,启动客户端会出现这样的错误,我是在Asp.net Web App中调试的解决方法:在客户端<bindings/>中添加clientBaseAddress例如:<bindings> <wsDualHttpBinding> <binding name="WSDualHttpBinding_ICalculatorD... 阅读全文
posted @ 2009-11-22 22:12 周宏伟 阅读(2729) 评论(3) 推荐(3) 编辑
摘要: 在证书受信任的前提下,主要是打开浏览权限解决办法:C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA将这个目录下的MachineKeys文件夹添加Everyone并赋予浏览权限即可解决这个错误! 阅读全文
posted @ 2009-11-18 22:27 周宏伟 阅读(2347) 评论(2) 推荐(4) 编辑