Function 関数

objc_getRequiredClass

Returns the class definition of a specified class.

Declaration 宣言

Class objc_getRequiredClass(const char *name);

Parameters パラメータ

name

The name of the class to look up.

Return Value 戻り値

The Class object for the named class.

Discussion 解説

This function is the same as objc_getClass, but kills the process if the class is not found.

This function is used by ZeroLink, where failing to find a class would be a compile-time link error without ZeroLink.

See Also 参照

Obtaining Class Definitions