这是个超简单的苹果 iOS 小游戏,一个很贱的月亮晃来晃去,在屏幕底部按一下,就在所按的位置向上发射一颗导弹。击中月亮就得分,越是远射得分越高。音乐和月亮的表情特别贱,平时来开开心还是很有用的。看段游戏视频吧:
Shoot Moon 在苹果 App Store 应用商店的下载地址 https://itunes.apple.com/cn/app/shoot-moon-gan-diao-yue-liang/id809390893?mt=8
前几天在 Twitter 上看到 @greghe728 分享了一个有些虚幻效果的 Mac 屏保:SwiftBubble,感觉还行。看段演示视频吧:
SwiftBubble 屏保下载地址 https://github.com/nemesit/SwiftBubble
苹果 iPhone、iPad 里,要分享一个网址或者图片,分享菜单里每次都把微信按钮排在提醒事项.app 后面,不爽。今天才发现,iOS 分享菜单里的那些按钮,是可以拖拽调整顺序的。
现在买火车票的工具大多是手机 App,很久以前,有位苹果开发者在 V2EX 论坛上预告过自己制作的苹果电脑端工具:12306ForMac(订票助手)。今天这软件终于正式在 Mac App Store 应用商店发布了。免费无广告,简洁方便。支持账户登录、车票查询、订单查询、车票订购、自动打码等功能。
我在外面用手机写的这篇博客
苹果电脑 Mac OS X 系统上,可以通过 Automator 为鼠标右键添加一项服务。这样,选中一段文字后,右击就能在右键菜单里找到字数统计选项。或者更简单(但要付费)的:装个 PopClip 扩展。
方法一:软件 + 扩展
安装 PopClip 这个极大增强鼠标功能与效率的软件,然后去官网安装 Character Count 这个扩展。以后选中文字后,就能在弹出的选项里多出一个统计字数的按钮了。
方法二,自己动手添加一个「统计字数」的右键菜单
放心,支持汉字统计。我只是很喜欢这段话所以截图用了英文。
点击 Mac 屏幕右上角的放大镜按钮,Spotlight 搜索 “Automator”,如下图所示,选择 “服务”。
在搜索框里搜索 “run applescript”,把搜索结果拖拽到右侧的空白区域,如下图所示。
粘入下面这些代码:
on run {input, parameters}
tell application "System Events"
set _appname to name of first process whose frontmost is true
end tell
set word_count to count words of (input as string)
set character_count to count characters of (input as string)
tell application _appname
display alert "" & word_count & " words, " & character_count & " characters"
end tell
return input
end run
tell application "System Events"
set _appname to name of first process whose frontmost is true
end tell
set word_count to count words of (input as string)
set character_count to count characters of (input as string)
tell application _appname
display alert "" & word_count & " words, " & character_count & " characters"
end tell
return input
end run
保存,会让你取个名字。具体叫什么随便,到时候出现在右键菜单里的就是那几个字了。比如我设置成 “字数统计”。
效果就是上面截图里这样,选中文字,右击,服务 > 字数统计 …… 然后就能像本文第一张图片那样,弹出单词数和字母数统计结果。
方法译自 OSXDaily