Objective-C Runtime
These functions are used to obtain
Objective-C runtime data types such
as selectors and class objects. NSLog and
NSLogv are used to print information to the
standard output of an application.
-
NSClassFromString ClassNSClassFromString(NSString*aClassName)-
NSGetSizeAndAlignment constchar*NSGetSizeAndAlignment(constchar*typePtr,unsignedint*sizep,unsignedint*alignp)-
NSLog voidNSLog(NSString*format,...)-
NSLogv voidNSLogv(NSString*format,va_listargs)-
NSSelectorFromString SELNSSelectorFromString(NSString*aSelectorName)-
NSStringFromClass NSString*NSStringFromClass(ClassaClass)-
NSStringFromSelector NSString*NSStringFromSelector(SELaSelector)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access