- 博客(7)
- 资源 (52)
- 问答 (1)
- 收藏
- 关注
原创 前端重写console.log方法
我们在开发前端的时候,有时候希望在开发和测试过程中,可以输出console.log日志,方便查看,但是在生产环境不需要再console.log的,于是想到重写console.log方法,以下有两种效果:1. 和原生console.log一样效果console.log = (function (oriLogFunc) { return function () { //判断配置文...
2019-05-22 14:13:22
8454
1
转载 iOS,面试必看,最全梳理
原文序言目前形势,参加到iOS队伍的人是越来越多,甚至已经到供过于求了。今年,找过工作人可能会更深刻地体会到今年的就业形势不容乐观,加之,培训机构一火车地向用人单位输送iOS开发人员,打破了生态圈的动态平衡。矫情一下,言归正传,我奉献一下,为iOS应聘者梳理一下面试题,希望能助一臂之力!OC的理解与特性OC作为一门面向对象的语言,自然具有面向对象的语言特性:
2016-03-23 12:00:27
774
原创 引用.xcodeproj生成静态链接库并引用头文件
引用.xcodeproj生成静态链接库并引用首先,将要引用的静态库及头文件拷贝到该项目的文件路径下,然后,在项目的Targets – Summary – Linked Frameworks and Libraries或者在Targets – Build Phases – Link Binary With Libraries添加第三方类库生成的静态链接库引用。接着,还需要在Targets – B
2015-08-17 17:55:33
768
原创 在iPad iOS8环境下打开相册或者拍照
在iPad下打开相册或者拍照,如果使用 UIImagePickerController 打开相册或者拍照,那必须要用到 UIPopoverController 去打开。UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:picker];
2015-08-17 17:52:10
997
原创 VS2013 Ultimate bug
When I create a web MVC project in VS2013 with update4, it have an unknown error: Exception from HRESULT: 0x80004005(E_FAIL).please see detail below: My computer is : macbook pro but install win7 x64. only have C disk and DVD RW driver.But when I crea
2015-05-27 12:09:27
912
原创 Silverlight 5.0应用prism的Mef容器总是报错的解决方案
如果本机安装的是Silverlight 5.0版本,而你要用prism版本的Mef容器,就会一直出错,出错的信息是:Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. 查看详细的错误信息是:System.Refl
2012-01-11 09:40:07
1185
原创 把google map地图图片保存下来的代码
mapView.layout(10,10,400,400); //mapView就是通过ID获得的那个地图显示控件 mapView.setDrawingCacheEnabled(true);Bitmap mBitmap = Bitmap.createBitmap(mapView.getDrawingCache()); mapView.setDrawingCacheEnabled
2011-11-28 09:57:49
931
Insert Plain Text and Images into RichTextBox at Runtime_src
2013-05-15
Windows+CE+API+手册+v2.0+.part2
2010-11-24
Microsoft .NET Compact Framework 开发常见问题解答区
2010-11-24
请问下大家有没遇到EF调用GetValidationErrors时出错
2014-10-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人