Leaving this complexity aside for a moment—–抛开复杂性
fit our mental model of coding very well—-使什么更好
spawn their own threads--派生
the increasing numbers of
This alleviates the problem of
which would be non-trivial--非凡的
a mutually exclusive way–互斥
one-size-fits-all
定时器runing in default model will stop while user scorll view.
things get tricky really fast.–事情变得更糟
open project .xcode file, delete project.xcworkspace file,then Ok!
2012-01-19 20:31:37.864 ToDoSync[3455:fb03] CoreData: sql: SELECT 0,
t0.Z_PK, t0.Z_OPT, t0.ZCOMPLETE, t0.ZCREATEDAT, t0.ZNOTE, t0.ZTITLE FROM
ZTASK t0 ORDER BY t0.ZCREATEDAT LIMIT 1
2012-01-19 20:31:37.875 ToDoSync[3455:fb03] CoreData: annotation: sql
connection fetch time: 0.0742s
2012-01-19 20:31:37.875 ToDoSync[3455:fb03] CoreData: annotation: total
fetch execution time: 0.0784s for 1 rows.
SDK not supporting NSDate objects
H: Horizontal Orirntation.Default Oritation is Hirizontal so The H: Can bei omitted.
V: Vertaical Oritation
| Indicates the superCiew
- Statdard space
-N- an N-sized spacing
[view] indicates a subview
==,>=,<= Relation opreations.Can only be used in size constaints.
@N Constaints priority. Can only be used in size constaits. Default priorirt is 1000.
http://stackoverflow.com/questions/6617472/why-does-valueforkey-on-a-uitextfield-throws-an-exception-for-uitextinputtraits
swizzled valueForKey: for every class implementing thetextInputTraits method. If the key is a UITextInputTraits key, then call valueForKey: on the object’s textInputTraits instead of the object itsel
you connect any UI Controll like a UITextFiled IBOutlet var name myTextFiled ,select strong qualifier , when you remove myTextFiled superview from controller’s view , the myTextFiled cannot release Immediately because controller has a strong refrence.if myTextFiled qualifier is weak,when its superview is removed,myTextFiled can be release.
I modify project .pch header file,then rebuild ,error disappers.