- 博客(20)
- 资源 (5)
- 收藏
- 关注
转载 How to Make Great App Store Screenshots
What do apps like Cut the Rope 2, 7 Minute Workout Challenge, andScribblenauts Remix all have in common?Click the above links to see for yourself. Notice that each has a particularly interes
2014-08-21 10:25:35 1268
转载 Use Archive Utility preferences for control over archives
by TJ Luoma @tjluoma | Oct 21st 2010 at 5:00PMShare:11940Most users know that you can easily create .zip files in OS X by selecting a file in Finder and choosing File » Comp
2014-08-20 11:53:06 684
原创 Mac OS X 右盘菜单的Open With(打开方式)中多余的菜单项的清除
Mac OS X 右盘菜单的Open With(打开方式)的清除
2014-08-20 10:53:10 7983
转载 Box2D: 错误variable length array of non-POD element type 'b2Vec2'
Variable length of non-POD element type 'b2Vec2'!!怎么会报出这个错误呢?真有点儿搞不懂了,刚进入ios开发的时候用的是一个朋友的mac笔记本他的系统是雪豹的,在雪豹的XCode下面我记得是一点儿问题都没有的,警告也就是某某变量声明过后未被使用蛋疼了,再看代码,操了,标准的c、c++写法啊...在栈上定义一个b2Vec
2014-08-18 15:37:24 1525
转载 GTK+安装笔记
计划在Ubuntu Lucid Lynx x86机器上面安装GTK+1)首先打开 http://www.gtk.org/download/linux.php找到相关的 几个主要下载包[css] view plaincopyprint?Stable Release To build GTK+ 3.6
2014-08-18 13:55:52 1400
转载 intltool 的安装
linux下编译遇到intltool is too old 或 The intltool scripts were not found. Please install intltool. 提示,解决办法很简单,就是安装intltool.在ubuntu之类的LINUX安装intltool只需 sudo apt-get install intltool其它版本也许没有打好包的intlt
2014-08-18 13:18:56 9537
转载 PHP采集程序原理分析篇
由于需要,要写一个简单的PHP采集程序,照例是到网上找了一堆教程,然后照猫画虎,可是发现网上的教程全是似是而非,没有一个真正能用的。苦想了几天,终于弄明白了里面的道理。在这里写出来,请高手指正。采集程序的思路很简单,无非就是先打一个页面,一般都是列表页,取得里面全部链接的地址,然后打开逐条链接,寻找我们感兴趣的东西,如果找到,就把它入库或别的处理。下面以一个很简单的例子来说说。首先确定一个
2014-08-17 14:59:17 587
转载 php采集
PHP采集 抓取今天被安排做一下搜狐首页新闻部分抓取。本来很简单的事情,谁知到了搜狐页面抓过来的一直是乱码,怎么转都不行。只好深入研究了一下,也学到不少东西,写下来分享一下。一、 什么是php采集程序?二、 为什么要采集?三、 采集些什么?四、 如何采集?五、 采集思路六、 采集范例程序七、 采集心得 什么
2014-08-17 14:09:46 818
转载 Mac开发 - icns图标集的制作 相关命令(iconutil)
将 文件夹名为XXXX.iconset的文件夹(包含若干个png图片) 打包成XXXX.icns文件:To convert a set of icons to an icns file:iconutil -c icns 将XXX.icns文件 转成 包含若干个png图片的文件夹:To convert an icns file to a set o
2014-08-16 17:45:59 3690
转载 iOS archive(归档)的总结
iOS 归档的记录 归档是一种很常用的文件储存方法,几乎任何类型的对象都能够被归档储存(实际上是一种文件保存的形式),浏览网上的一些资料后,并结合自己的一些经验,总结成此文。一、使用archiveRootObject进行简单的归档 使用NSKeyedArichiver进行归档、NSKeyedUnarchiver进行接档,这种方式会在写入、读出数据之前对数据进
2014-08-15 14:30:47 532
转载 在Sandbox中调用系统工具的问题
n an app that is on the Mac App Store, I was doing the following:system("/usr/bin/nice -n 20 /usr/bin/purge &> /dev/null &");This worked fine, but now I'm trying to submit a new version, and the
2014-08-15 11:45:11 2034
转载 Mac App Rejection - Temporary Exception Entitlement Key for Safari
Let's consider an app doing the following steps using AppleScript, in order to auto-login to some website:1- Open "Safari" and navigate to website2- Fill the username and password fields with
2014-08-15 09:51:38 1051
转载 How to Run a Shell Script with Mac App Sandbox Enabled?
Is it possible to have an app, that runs within the sandbox, execute a shell script? The script makes use of two basic commands:defaults writekillallI know that there are some exceptions to th
2014-08-15 09:35:35 1717
转载 断点继续的原理
多线程下载的原理就是首先建立一个SOCKET连接(HTTP或者FTP)获取要下载文件的长度,在内存或硬盘中创建相同大小的区域,建立相应数据结构,接着多开几个线程分别从不同的地方开始下载(HTTP的RANGE,FTP的REST命令应该都会吧),并把下载的数据填入区域,什么地方填了,什么地方没填,根据下载数据的长度,各段起点,很容易判断的。就是如此简单而已。
2014-08-14 15:42:48 849
转载 chinese character recognition using Tesseract OCR
I have been using Tesseract 3.0.2 OCR SDK for image text extraction. But if I use chinese text images and pass through OCR then Tesseract doesn't provide me the chinese characters instead of that
2014-08-14 14:28:37 4734
原创 dyld: Library not loaded Reason: image not found解决办法
dyld: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle Referenced from: /Users/songping/Library/Developer/Xcode/DerivedData/TestCapture-fgntrtzakrtbkcacvqjagvptjx
2014-08-13 14:10:53 16692
转载 iOS应用国际化教程(2014版)
本文最初由Sean Berry撰写,由Ali Hafizji针对iOS 7进行了更新。开发一款伟大的iOS应用程序是件了不起的事情,但是还有比优秀的代码、华丽的设计以及直观化交互更多的事要做。跻身在App Store排行榜前列还需要正合时宜的产品营销、扩大用户群的能力、实用的工具以及尽可能广泛地获得用户的技术。 对很多开发者来说,国际市场是事后的想法,但由于App St
2014-08-07 14:25:05 815
原创 Localizable.strings:0: error: read failed: The data couldn’t be read because it isn’t in the correct
zh-Hans.lproj/Localizable.strings:0: error: read failed: The data couldn’t be read because it isn’t in the correct format.
2014-08-06 15:25:11 12434 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人