get localSession(): (DropSession_LocalSession) | null
Swift declaration
var localSession: DropSession.LocalSession?
Provides additional information about a session
if it originated within the app.
This property is set to `nil` if drag originated outside the app.
set · iOS 26.0+
localSession
TypeScript
set localSession(value: (DropSession_LocalSession) | null)
Swift declaration
var localSession: DropSession.LocalSession?
Provides additional information about a session
if it originated within the app.
This property is set to `nil` if drag originated outside the app.
get · iOS 26.0+
itemsCount
TypeScript
get itemsCount(): number
Swift declaration
var itemsCount: Int
Number of items for the drop.
set · iOS 26.0+
itemsCount
TypeScript
set itemsCount(value: number)
Swift declaration
var itemsCount: Int
Number of items for the drop.
get · iOS 26.0+
debugDescription
TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }
A textual representation of this instance, suitable for debugging.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the `String(reflecting:)`
initializer. This initializer works with any type, and uses the custom
`debugDescription` property for types that conform to
`CustomDebugStringConvertible`:
struct Point: CustomDebugStringConvertible {
let x: Int, y: Int
var debugDescription: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(reflecting: p)
print(s)
// Prints "(21, 30)"
The conversion of `p` to a string in the assignment to `s` uses the
`Point` type's `debugDescription` property.
get · iOS 26.0+
suggestedOperations
TypeScript
get suggestedOperations(): DropOperation_Set
Swift declaration
var suggestedOperations: DropOperation.Set
Operations suggested by the drag source.
set · iOS 26.0+
suggestedOperations
TypeScript
set suggestedOperations(value: DropOperation_Set)
Swift declaration
var suggestedOperations: DropOperation.Set
Operations suggested by the drag source.
get · iOS 26.0+
id
TypeScript
get id(): DropSession_ID
Swift declaration
var id: DropSession.ID { get }
The unique identifier of the drop session.
get · iOS 26.0+
size
TypeScript
get size(): { width: number; height: number }
Swift declaration
var size: CGSize
Size of the drop destination view.
set · iOS 26.0+
size
TypeScript
set size(value: { width: number; height: number })
Swift declaration
var size: CGSize
Size of the drop destination view.
get · iOS 26.0+
phase
TypeScript
get phase(): DropSession_Phase
Swift declaration
var phase: DropSession.Phase { get }
The phase of the current drop session.
get · iOS 26.0+
location
TypeScript
get location(): { x: number; y: number }
Swift declaration
var location: CGPoint
Location of drop in the local coordinate space
set · iOS 26.0+
location
TypeScript
set location(value: { x: number; y: number })
Swift declaration
var location: CGPoint
Location of drop in the local coordinate space
Skipped declarations
2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.