Jul
13
Xcode: TODO 的实现
Published 12:07 Jul 13, 2014 by @ezra.
#Programming# 自从 Xcode Ghost 事件之后苹果就开始收缩插件功能了, 直到现在的 Xcode 已经去掉了旧形式的插件。
安全性在很大程度上算是提高了, 但是也随之带来一些不便, 比如之前不能再使用 TOD...
Apr
07
__block directive, a simple explanation
Published 12:04 Apr 07, 2014 by @ezra.
#Programming# Nowadays, if you pass a variable inside a block and try to assign a new value to it, you will encoun...
Mar
16
iOS: XCTest
Published 12:03 Mar 16, 2014 by @ezra.
#Programming# XCode自带的单元测试工具已经从OCUnit演变到了XCTest,但其本质还是差不多的,其好处在于XCode集成,简单方便在XCode5中新建一个工程的时候,会默认带一个用于单元测试的target,...
Mar
16
iOS: 测试 View Controllers
Published 12:03 Mar 16, 2014 by @ezra.
#Programming# 我们不是迷信测试,但它应该帮助我们加快开发进度,并且让事情变得更有趣。
让事情保持简单
测试简单的事情很简单,同样,测试复杂的事会很复杂。就像我们在其他文章中指出的那样,让事情保持简单小巧总是好的。除...
Mar
03
Optimizing NSPredicates
Published 12:03 Mar 03, 2014 by @ezra.
#Programming# This week I'm gonna throw three strategies you can use to improve the performance of your NSPredicat...
Feb
17
Game of Life Cellular Automata
Published 12:02 Feb 17, 2014 by @ezra.
#Programming# For this week I want to share a concept and an example repository of something called Cellular Autom...
Feb
02
Easier debugging using breakpoints with actions
Published 12:02 Feb 02, 2014 by @ezra.
#Programming# If you debug solely through NSLog you are missing the better insight the debugger can provide you. A...
Jan
20
Xcode: LLVM Error
Published 12:01 Jan 20, 2014 by @ezra.
#Programming# 在使用Xcode5进行iOS7开发时,在打开SDK文件后,可能会不小心对其中的代码进行了一些操作,那么在下一次 Build 或者 Run 的时候就会出现类似以下的错误:
After modifying...
Dec
09
Renaming Variables in Xcode
Published 12:12 Dec 09, 2013 by @ezra.
#Programming# For both persons and programming variables, a good name is an invitation to a prosperous life.
Lucki...
Dec
02
Pebble Smart-watch, Xcode 5 and OS X Mavericks
Published 12:12 Dec 02, 2013 by @ezra.
#Programming# After stumbling a few times while setting up my development environment for the Pebble Smart-watch,...
Nov
22
Command that Terminal
Published 12:11 Nov 22, 2013 by @ezra.
#Programming# In case somebody else is using the left and right arrows to navigate through typed commands, I've co...
Nov
03
The data beyond the JPEG
Published 12:11 Nov 03, 2013 by @ezra.
#Programming# JPEG files from a digital camera include lots of information beyond the actual picture. Camera setti...