We include “-ObjC” in other project parameter linker flags in Xcode, if we include any external libraries or frameworks, can someone tell me what the reason is and what it does if we include it.
Thanks at Advance ..
This was well explained in the Apple QA1490 .
Key excerpts:
Objective-C does not define linker symbols for each function (or method, in Objective-C) - instead, linker symbols are generated only for each class.
...
, -ObjC . , Objective-C
( Apple QA1490), , .
Objective-C - , , NSClassFromString() , C-, ( ), , , , , , NSSelectorFromString NSClassFromString.
NSClassFromString()
NSSelectorFromString
NSClassFromString
xib/nib, : , , , nib. , .
, , - Obj-C , .
-ObjC the linker flag causes the linker to ever load an object file into a library that defines an Objective-C class or category.
-ObjC
Why use the ObjC linker flag - Apple Documentation?
Source: https://habr.com/ru/post/1538678/More articles:Are there any scenarios in which dealloc will be called without viewWillDisappear, not called? - iosCan we add header information to a web socket sampler in JMeter? - javaHow to add class style or id or CSS to execCommand formatBlock 'p' tag? - javascriptAuthentication of Google Glass GDK using PHP - phpОшибка записи в установочный сокет при развертывании с помощью capistrano3 - gitException from reading and writing text file memory - c #Как выделяется память для переменной, объявленной вне vs inside main() - c++Google API 1.8.1 - GoogleWebAuthorizationBroker.AuthorizeAsync зависает под управлением Windows - google-oauthnodejs connecting to db only once - databaseJasmine testing an AngularJs application using angular translators - angularjsAll Articles