用文件选取窗选定目标文件是件麻烦事,用任何一种 View(Icon, List, Columns, Cover Flow)都避免不了在文件系统中游走。 例如,在下图中,我在给 Apple 报 bug,要提交一个 Sample Code,位于 /Users/an0/dev/Projects/iOS/Bugs/CoreDataBug.zip。可见我要往下走三层目录,而且考虑到每一层目录下不光有我的目标路径,还有其他干扰项,这一路走到最后不容易。 我所知道的快速方法有两种,一种应该是资深用户所知道的,另一种是我自己刚发现的。 Finder 快捷键法 显然,文件选取窗长的很像 Finder 窗口,事实上也确实是。不显然的是,Finder 的快捷键在文件选取窗也是有效的。所以我们可以使用 Go 菜单下的这些快捷键来快速定位。其中最强大的是 Go to Folder…,但是需要你熟知目标路径,而且 Finder 的路径补全很慢。 直接拖拽法 这我是用 Lion 后无意间发现的,不确定 Lion 之前是否就支持了。 一般来说,我们要选取的目标文件是刚操作过的或常操作的文件,它们所在的目录已经在 Finder 中打开。比如,我这里要上传的 Sample Code 就是刚压缩好的,就在眼前。 很自然的,我就想把它直接拖拽到文件选取窗。令人惊喜的是,竟然真的可以!文件选取窗会自动跳转到目标目录并选中目标文件!太爽快了! 事实上,直接拖拽的源头不仅限于 Finder,其他支持拖拽的 app 也可作为文件来源。比如,我们可以直接从 iPhoto 中拖拽一张照片到文件选取窗。 Tweet
CAMediaTiming Protocol offers a small set of eight properties. But it is sufficient to do all kinds of time warps, if you know what exactly every property means and how to use it. The most used and simple one is duration: duration Specifies the basic duration of the animation, in seconds. Nothing needs further explanation [...]
Core Animation is cool, beautiful, and easy to use; but not easy to use correctly. First of all, you should RTFM(Read The Fabulous Manual). Secondly, of course, you should watch the nice Session Video 424 of WWDC 2010 and play with the sample code Animation101. Now, I assume you’ve done all the prerequisite work so [...]
© Wangling. Powered by WordPress using the DePo Skinny Theme.