GCD Global隊(duì)列創(chuàng)建線(xiàn)程進(jìn)行耗時(shí)操作的風(fēng)險(xiǎn) 先思考如下幾個(gè)問(wèn)題: 新建線(xiàn)程的方式有那些宇智?各自的優(yōu)缺點(diǎn)是什么格遭? dispatch_asyn...
內(nèi)存方面常見(jiàn)問(wèn)題:1、UIGraphicsEndImageContextUIGraphicsBeginImageContext和UIGraphi...
針對(duì)H.264數(shù)據(jù)格式的視頻編碼 網(wǎng)上這篇文章「Video Encoding Settings for H.264 Excellence」測(cè)試了...
簡(jiǎn)單的答案:首先在官方文檔《Programming with Objective-C》里面寫(xiě)到,初學(xué)閱讀的時(shí)候沒(méi)有注意到這個(gè)細(xì)節(jié):You sho...
一、FLAnimatedImage is a performant animated GIF engine for iOS: ①同時(shí)播放多個(gè)GI...
簡(jiǎn)介:本文主要從源碼的角度探究了Objective-C在runtime層的方法決議(Method resolveing)過(guò)程和方法緩存(Meth...
本文主要學(xué)習(xí)Objective-C的runtime源碼時(shí)整理所成群凶,主要剖析了category在runtime層的實(shí)現(xiàn)原理以及和category相...
一. id 與 NSObject * 1赔蒲、id是OC對(duì)象但不一定是NSObject對(duì)象,并非所有的Foundation/Cocoa對(duì)象都是繼承N...