Einhugur macOS Bridge plugin. |

# NSNumber.FromIntegerPtr Method

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

shared FromIntegerPtr(
numberIntPtr as Integer) as EinhugurCoreBridge.NSNumber

#### Parameters

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

#### Returns

EinhugurCoreBridge.NSNumber

#### Remarks

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

#### See Also

NSNumber Class