Wilson Tang’s Blog

I am a slow walker, but I never walk backwards.

当AutoLayout遇到UIView Animation

| Comments

最近在项目中遇到一个关于AutoLayoutUIView Animation约束的问题。

Storyboard中, 界面布局采用了AutoLayout, 界面背景用2个UIImageView切换不同的UIImage, 通过UIView Animation来实现一个无限循环的动画效果,图层上面还有UILabel等控件。

Mac下如何显示隐藏文件

| Comments

可以通过“终端”,用命令行设置这个选项,命令如下:

显示
1
defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏
1
defaults write com.apple.finder AppleShowAllFiles -bool false