02 2012 档案
摘要:http://www.subfurther.com/blog/2010/04/30/what-you-missed-at-360idev/http://www.cnblogs.com/encounter/archive/2010/12/02/2188529.html
阅读全文
摘要:Creating an HTTP request with CFHTTP requires four steps:Generate a CFHTTP message object using theCFHTTPMessageCreateRequestfunction.Set the body of the message using the functionCFHTTPMessageSetBody.Set the message's headers using theCFHTTPMessageSetHeaderFieldValuefunction.Serialize the messa
阅读全文
摘要:Stream是单向的,Reading From Input Streams:1.Create and initilize an instance of NSInputStream from s source of data;2.Sechedule the stream object on a run loop and open the stream;3.Handle the events that the stream object reports to its delegate;4.When there is no data to read,dispose the stream object
阅读全文
摘要:Blocks objects are c-based language feature that you can used in C/C++ or objective-C code.A block is actually represented by an underlying data structure that resembles an object and is created and managed for you by the compiler.The compiler packages up the code you provide (along with any related
阅读全文
摘要:All dispatch queues are first-in,first-out data structures.Types of dispatch queues:serial (as private dispatch queues)concurrent (as global dispatch queue)main dispatch queueAdvantage:The most advantage is the simplicity of the work-queue programming model.Dispatch queues let you focus on the work
阅读全文

浙公网安备 33010602011771号