One Logo Pool Ball
CoreData · IOS API REFERENCE

NSManagedObjectContext.ConcurrencyType

struct · iOS 15.0+ · SDK 27.1

struct ConcurrencyType

Members (5)

get · iOS 15.0+

privateQueue

TypeScript
get privateQueue(): NSManagedObjectContext_ConcurrencyType
Swift declaration
static let privateQueue: NSManagedObjectContext.ConcurrencyType
init · iOS 15.0+

init

TypeScript
init(rawValue: NSManagedObjectContextConcurrencyType): NSManagedObjectContext_ConcurrencyType
Swift declaration
init(rawValue: NSManagedObjectContextConcurrencyType)

Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.

get · iOS 15.0+

rawValue

TypeScript
getRawValue($self: NSManagedObjectContext_ConcurrencyType): NSManagedObjectContextConcurrencyType
Swift declaration
var rawValue: NSManagedObjectContextConcurrencyType

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"

set · iOS 15.0+

rawValue

TypeScript
setRawValue($self: NSManagedObjectContext_ConcurrencyType, value: NSManagedObjectContextConcurrencyType): void
Swift declaration
var rawValue: NSManagedObjectContextConcurrencyType

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 15.0+

mainQueue

TypeScript
get mainQueue(): NSManagedObjectContext_ConcurrencyType
Swift declaration
static let mainQueue: NSManagedObjectContext.ConcurrencyType

Skipped declarations

No declarations were skipped in this snapshot.

All CoreData types →