What is the difference between NSMutableArrayand CFMutableArray?
NSMutableArray
CFMutableArray
In which case (s) should we use one or the other?
CFMutableArrayand NSMutableArrayare C- and Objective-C equivalents of the same type. They are considered a pair of "paid free bridges" type, which means that you can use CFMutableArrayReffor NSMutableArray*(and vice versa), and everything will work. The cases in which you will use one on top of the other are ease of use (are you using C or Objective-C?) Or compatibility with the API that you would like to use. See here for more details .
CFMutableArrayRef
NSMutableArray*
. , - ( ) .
, .
CFMutableArrayRef - C NSMutableArray * - Objective-C
, - , , , objc.
, (sorta - , ) NSMutableArray objc.
API- OSX , API-, , API-, , API- .
CFMutableArray CoreFoundation API . NSMutableArray ( , NS NextStep) Foundation API , AppKit Cocoa.
, , . , Cocoa, NSMutableArray - . , - , CoreFoundation, CFMutableArray.
, , CF/NS , API- CoreFoundation, , Cocoa .
Source: https://habr.com/ru/post/1723187/More articles:JQuery UI Dialog Post for ASP.Net MVC Controller Action - jquery-uiДиалоговое окно подтверждения jQuery UI и обратная передача asp.net - jqueryWeb.config: displaying detailed error information from a subdirectory - asp.netInteger parsing - c #how to create this mysql database - databaseQt Python radiobutton: fire event - python128-битное ключ AES-шифрование приложения в Java - javaнепрерывный цикл с div и jquery - jqueryизображения непрерывно перемещаются с помощьюи jQuery - jqueryQt4.5: using localsocket based on event loop before app.exec - multithreadingAll Articles