【总结】iOS的自动引用计数(ARC,Automatic Reference Counting)
crifan 12年前 (2012-09-18) 2647浏览 0评论
下面总结一下,关于iOS中的ARC的来龙去脉和作用,好处等。 Object-C/iOS中的内存管理简介 写iOS程序,用的编程语言是Object-C。 面向对象的Object-C中,对于对象的管理,主要是通过引用计数来实现的: 如果引...
crifan 12年前 (2012-09-18) 2647浏览 0评论
下面总结一下,关于iOS中的ARC的来龙去脉和作用,好处等。 Object-C/iOS中的内存管理简介 写iOS程序,用的编程语言是Object-C。 面向对象的Object-C中,对于对象的管理,主要是通过引用计数来实现的: 如果引...
crifan 12年前 (2012-09-18) 2374浏览 1评论
【问题】 打开自己的wordpress网站: crifan.com 时,出现错误: “建立数据库连接时出错”: 【解决过程】 1.这个问题,之前没有出现过的。 2.最近出现过好几次了。但是之前几次都是没过一会,大概几分钟之类的时间,问题就消失了,可...
crifan 12年前 (2012-09-17) 6880浏览 2评论
【问题】 BirdWatching的iOS app,现在想要去多多折腾,搞懂不同property的setter修饰符:assign,copy,retain等的更深层的含义。 所以,专门去把代码改为: //@property (nonatomic, w...
crifan 12年前 (2012-09-16) 3052浏览 0评论
之前已经折腾过: 【记录】让Win7支持4G/8G内存(突破默认的3G限制) -> 用ReadyFor4GB会导致蓝屏 ->已恢复原先系统 由于用破解的办法会蓝屏,所以现在只能是考虑虚拟磁盘了。 1. 网上找了下,参考: 32位WIN7...
crifan 12年前 (2012-09-15) 2798浏览 1评论
【问题】 从别处看到了面包屑,才想起来,之前折腾drupal的时候,知道这个东西的。 所以,现在去给当前wordpress的retina主题添加一下。 【解决过程】 1。从wordpress后台管理界面的插件部分,搜索breadcrumb,找到评价最...
crifan 12年前 (2012-09-14) 7787浏览 0评论
【问题】 之前折腾了个C#的项目: WLW (Windows Live Writer) Plugin–InsertSkydriveFiles 然后又弄了个对应的Installer: 【已解决】给一个C#的Dll库的项目,制作msi安装包 + 【已彻底...
crifan 12年前 (2012-09-14) 2005浏览 0评论
对于: 【记录】给WordPress的Retina主题中的标题添加编号/标号 中所涉及的几个CSS2的参数: counter() counter-increment counter-reset 想要搞懂主流浏览器,对其支持程度。 所以去去查了查资料,...
crifan 12年前 (2012-09-14) 2774浏览 1评论
【问题】 wordpress所用主题是retina,其显示出来的页面page/帖子post中(对应HTML中的h1,h2之类)的标题,都是没有编号的: 【解决过程】 1.目前所能想到的,给标题添加索引标号,是如下可能: A。html的css控制的 ...
crifan 12年前 (2012-09-14) 4975浏览 9评论
【记录给BlogsToWordpress添加新版百度空间的支持 】 新版百度空间,虽然是html5,外在清爽了,但是内在也还是有些问题的。 1.返回的评论数据中,是非法的json字符串,导致python中解析json有误,需要手动处理,给key加上对...
crifan 12年前 (2012-09-13) 5034浏览 0评论
【问题】 当前有个C#的项目,想要获得对应的该项目中的程序集: 中的文件版本信息,即那个:文件版本: 4 3 0 0 中的主版本号4和次版本号3。 【解决过程】 1.网上搜了一堆资料,最后还是这里解释的清楚: C# AssemblyFileVers...