mac tips

来源:互联网 发布:数控车床车凹圆弧编程 编辑:程序博客网 时间:2024/06/05 10:56

发现mac每天永达最后多很慢,真是也要清理内存,整理碎片的么:)


1. commad+option+w 关于当前此类所有窗口,慎用,但好用


You're navigating the Finder working on an important project. You're opening folder after folder. Next thing you know, your knee deep in folders.

 

Instead of clicking on each folder or using Command-W (⌘-W) to close them, use Command-Option-W (⌘-Option-W) to close all the windows at once.

// // // //并列移动...  ... ... 

凡是来自uiscrollview的子类的,多可以考虑这个,但动画效果,也就是如果两个手指一个往左,一个往右,该如何动?,,,,当一个scroll在移动的时候,把scroll enable关闭?


Try to use the - (void)scrollViewDidScroll:(UIScrollView *)scrollView ofUIScrollViewDelegate.
The table view is a sub-class of UIScrollView.