One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

Edge.Corner.Set

struct · iOS 26.0+ · SDK 27.1

struct Set

An efficient set of corners.

Members (15)

get · iOS 26.0+

topLeading

TypeScript
get topLeading(): Edge_Corner_Set
Swift declaration
static let topLeading: Edge.Corner.Set

The top leading corner.

get · iOS 26.0+

topTrailing

TypeScript
get topTrailing(): Edge_Corner_Set
Swift declaration
static let topTrailing: Edge.Corner.Set

The top trailing corner.

get · iOS 26.0+

bottomLeading

TypeScript
get bottomLeading(): Edge_Corner_Set
Swift declaration
static let bottomLeading: Edge.Corner.Set

The bottom leading corner.

get · iOS 26.0+

bottomTrailing

TypeScript
get bottomTrailing(): Edge_Corner_Set
Swift declaration
static let bottomTrailing: Edge.Corner.Set

The bottom trailing corner.

get · iOS 26.0+

debugDescription

TypeScript
getDebugDescription($self: Edge_Corner_Set): 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+

all

TypeScript
get all(): Edge_Corner_Set
Swift declaration
static let all: Edge.Corner.Set

All corners.

get · iOS 26.0+

top

TypeScript
get top(): Edge_Corner_Set
Swift declaration
static let top: Edge.Corner.Set

The top leading and trailing corners.

get · iOS 26.0+

none

TypeScript
get none(): Edge_Corner_Set
Swift declaration
static let none: Edge.Corner.Set

No corners.

get · iOS 26.0+

bottom

TypeScript
get bottom(): Edge_Corner_Set
Swift declaration
static let bottom: Edge.Corner.Set

The bottom leading and trailing corners.

get · iOS 26.0+

leading

TypeScript
get leading(): Edge_Corner_Set
Swift declaration
static let leading: Edge.Corner.Set

The top and bottom leading corners.

method · iOS 26.0+

contains

TypeScript
contains($self: Edge_Corner_Set, corner: Edge_Corner): boolean
Swift declaration
func contains(_ corner: Edge.Corner) -> Bool

Returns true only if `corner` is a member of the calling set.

init · iOS 26.0+

init

TypeScript
initRawValue(rawValue: number): Edge_Corner_Set
Swift declaration
init(rawValue: Int8)

Creates a corner set given a raw value.

get · iOS 26.0+

rawValue

TypeScript
getRawValue($self: Edge_Corner_Set): number
Swift declaration
let rawValue: Int8

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 26.0+

trailing

TypeScript
get trailing(): Edge_Corner_Set
Swift declaration
static let trailing: Edge.Corner.Set

The top and bottom trailing corners.

init · iOS 26.0+

init

TypeScript
init(corner: Edge_Corner): Edge_Corner_Set
Swift declaration
init(_ corner: Edge.Corner)

Creates set of corners containing only the specified corner. - Parameter corner: the specific corner.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →