Objective-C#pragma mark
    
            
摘要:【Objective-C#pragma mark】链接:http://beike.iteye.com/blog/378916上文讲述非常详细,请参阅。
        
阅读全文
摘要:【Push NOtification 认证】【注解】 Push Notification认证包括两个方面,接入认证和传输认证。认证过程中,涉及到APNS与Provider,APNS与Client的相互认证,涉及三方的三个证书。APNS有一个惟一的公共证书,用来提供对外所有Provider和Client的认证。Provider有一个证书,用来传递给APNS认证,必须之前向Apple请求生成。Client有一个证书,有激活设备时产生,保存在本机,对开发者透明。
        
阅读全文
摘要:【JSON简介】 jsoncpp主要包含三种类型的class:Value、Reader、Writer。jsoncpp中所有对象、类名都在namespace Json中,包含json.h即可。【VALUE】 Json::Value是jsoncpp中最基本、最重要的类,用于表示各种类型的对象,jsoncpp支持的对象类型可见Json::ValueType枚举值。 可如下是用Json::Value类: Json::Value json_temp;//临时对象,供如下代码使用 json_temp["name"] = Json::Value("huchao"); 
        
阅读全文
摘要:【Responder Chain of iOS】 [First Responder]
        
阅读全文
摘要:【E文原文】 Although bundles and packages are sometimes referred to interchangeably, they actually represent very distinct concepts:Apackageis any directory that the Finder presents to the user as if it were a single file.Abundleis a directory with a standardized hierarchical structure that holds executa
        
阅读全文
摘要:【Protecting the Cocoa Frameworks】 For multithreaded applications, Cocoa frameworks use locks and other forms of internal synchronization to ensure they behave correctly. To prevent these locks from degrading performance in the single-threaded case, however, Cocoa does not create them until the appl.
        
阅读全文
摘要:<E版原文> Objective-C supports two mechanisms for memory management: automatic garbage collection and reference counting:Garbage Collection Programming Guidedescribes the garbage collection system used in MacOSX. (Not available for iOS—you cannot access this document through the iOS Dev Center.)
        
阅读全文