{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"viewContext"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftlibspersistence\/service\/viewcontext"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service\/viewContext","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"The main managed object context."}],"kind":"symbol","metadata":{"role":"symbol","title":"viewContext","roleHeading":"Instance Property","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"viewContext"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"}],"symbolKind":"property","externalID":"s:20SwiftLibsPersistence7ServiceP11viewContextSo015NSManagedObjectF0Cvp","required":true,"modules":[{"name":"SwiftLibsPersistence"}]},"hierarchy":{"paths":[["doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence","doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service"]]},"references":{"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence/Service":{"role":"symbol","title":"Service","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"Service"}],"abstract":[],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Service"}],"url":"\/documentation\/swiftlibspersistence\/service"},"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence/Service/viewContext":{"role":"symbol","title":"viewContext","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"viewContext"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"NSManagedObjectContext","preciseIdentifier":"c:objc(cs)NSManagedObjectContext"}],"abstract":[{"type":"text","text":"The main managed object context."}],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence\/Service\/viewContext","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/swiftlibspersistence\/service\/viewcontext"},"doc://SwiftLibsPersistence/documentation/SwiftLibsPersistence":{"role":"collection","title":"SwiftLibsPersistence","abstract":[],"identifier":"doc:\/\/SwiftLibsPersistence\/documentation\/SwiftLibsPersistence","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibspersistence"}}}