admin on July 30th, 2013

用NSLogger代替NSLog输出调试信息

继续阅读..

admin on July 23rd, 2013

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.–事情变得更糟

继续阅读..

admin on July 20th, 2013

open project .xcode file, delete  project.xcworkspace file,then Ok!

继续阅读..

admin on July 18th, 2013

继续阅读..

admin on July 13th, 2013

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.

继续阅读..

admin on July 13th, 2013

SDK not supporting NSDate objects

继续阅读..

admin on July 9th, 2013

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

继续阅读..

admin on July 5th, 2013

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.

继续阅读..

admin on July 3rd, 2013

I modify project  .pch  header file,then rebuild ,error disappers.

继续阅读..