---
title: get()
framework: Scripting Bridge
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 13.0+, macOS 10.5+]
path: scriptingbridge/sbobject/get()
---

# get()

Forces evaluation of the receiver, causing the real object to be returned immediately.

## Declaration

```swift
func get() -> Any?
```

## Return Value

Return Value For most properties, the result is a Foundation object such as an NSString. For properties with no Foundation equivalent, the result is an NSAppleEventDescriptor or another SBObject for most elements.

## Discussion

Discussion This method forces the current object reference (the receiver) to be evaluated, resulting in the return of the referenced object. By default, Scripting Bridge deals with references to objects until you actually request some concrete data from them or until you call the get method.
