10.10 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

Class NSClassFromString(NSString *aClassName)

NSGetSizeAndAlignment

const char *NSGetSizeAndAlignment(const char *typePtr, unsigned int *sizep, unsigned int *alignp)

NSLog

void NSLog(NSString *format, ...)

NSLogv

void NSLogv(NSString *format, va_list args)

NSSelectorFromString

SEL NSSelectorFromString(NSString *aSelectorName)

NSStringFromClass

NSString *NSStringFromClass(Class aClass)

NSStringFromSelector

NSString *NSStringFromSelector(SEL aSelector)



    Part II: API Quick Reference
    Chapter 13. Foundation Classes