get(objCClass:castTo:)

Gets an Objective-C class from the library.

linking.swift:97
func get<T>(objCClass className: String, castTo: T.Type = T.self) -> T?

Parameters

className

The name of the class.

castTo

The type to cast the class to (should be a protocol).

Returns

The class, or nil if the class could not be found.