自从把MacOS升级到10.8后svn不能用了。
svn命令也没有了,解决方法就是安装一个svn客户端。
一、安装MacPorts
下载最新的pkg包:https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg
直接双击安装就可以。
安装好之后port命令在:/opt/local/bin/port
更多安装方式:http://blog.chenapp.com/archives/383
MacPorts version 2.1.2 is available in various formats for download and installation (note, if you are upgrading your Mac OS X to a new major release, see the migration info page)
“pkg” installers for Mountain Lion, Lion and Snow Leopard, for use with the Mac OS X Installer. This is the simplest installation procedure that most users should follow after meeting the requirements listed below. Installer for legacy platform Leopard also available.In source form as either a tar.bz2 package or a tar.gz one for manual compilation, if you intend to customize your installation in any way.SVN checkout of the unpackaged sources, if you wish to follow MacPorts development.The selfupdate target of the port(1) command, for users who already have MacPorts installed and wish to upgrade to a newer release.一个曾经与我一起工作过的经验丰富的项目经理声称,他拿到程序员的时间估算以后,先将它乘以π,然后转化下一个时间数量级后,才能得到真正的值。1天转化成3.14周。他过去因为程序员不擅长估算时间而吃尽了苦头。我创建了一个用来翻译程序员时间估算的表格,来尽量缩小估算错误。
iphone中图像通常存储在4个地方【相册、应用程序包、沙盒、Internet】,通过这4个源,我们就可以存取应用图片。
iOS开发创建MD5字符串
contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。
拔打前会有提示,并且拔打结束后返回到自己的应用程序
[[UIApplicationsharedApplication] openURL:[NSURLURLWithString:@"telprompt://10086"]];
直接拔打,不会提示,拔打结束后停留在电话应用上
7.1 创建表
(1) 创建一个UITableViewController的子类
@interface MyTableViewController : UITableViewController {
}
-(id)init;
-(void)dealloc;
添加数据源, 由三个函数来回答数据绑定的请求:numberOfSectionsInTableView, numberOfRowsInSection 和 cellForRowAtInd...