Einhugur macOS Bridge plugin. |

# NSView.FromIntegerPtr Method

Constructs NSView object from Integer handle coming from declares or 3rd party plugin.

shared FromIntegerPtr(
textIntPtr as Integer) as EinhugurMacOSBridge.NSView

#### Parameters

textIntPtr
  Integer handle coming from declare or 3rd party plugin that points to live NSView object.

#### Returns

EinhugurMacOSBridge.NSView

#### Remarks

Do not pass integer in here that is not actually NSView handle, doing so would generate crash.
The NSView class will handle retaining the object once and releasing once the object once the NSView class is no longer used.

#### See Also

NSView Class