Einhugur macOS Bridge plugin. |

# NSOpenPanel.Cast Method

Does deep cast on incoming NSObject to NSOpenPanel.

shared Cast(
obj as EinhugurCoreBridge.NSObject) as EinhugurMacOSBridge.NSOpenPanel

#### Parameters

obj
  The NSObject to be casted.

#### Returns

EinhugurMacOSBridge.NSOpenPanel
  The casted object or nil if the object could not be casted to NSOpenPanel.

#### Remarks

#### See Also

NSOpenPanel Class