NSObject

extension NSObject
  • Much nicer to type than unsafeBitCast(, to:)

    Returns the object at the given memory address cast to the type the method is called on.

    Example

    po UIView.at(0x7fd53e720630)
    

    Declaration

    Swift

    public static func at(_ address: Int) -> Self