{"schemaVersion":{"patch":0,"minor":3,"major":0},"sections":[],"abstract":[{"type":"text","text":"Creates a view that displays the specified habitat."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"kind":"attribute","text":"@"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"attribute"},{"kind":"text","text":" "},{"kind":"keyword","text":"init"},{"kind":"text","text":"("},{"text":"habitat","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:12SlothCreator7HabitatV","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Habitat","text":"Habitat","kind":"typeIdentifier"},{"text":")","kind":"text"}],"platforms":["macOS"]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/slothcreator\/habitatview\/init(habitat:)"]}],"metadata":{"roleHeading":"Initializer","externalID":"s:12SlothCreator11HabitatViewV7habitatAcA0C0V_tcfc","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"text":"habitat","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Habitat","kind":"typeIdentifier","preciseIdentifier":"s:12SlothCreator7HabitatV"},{"kind":"text","text":")"}],"title":"init(habitat:)","role":"symbol","symbolKind":"init","modules":[{"name":"SlothCreator"}]},"kind":"symbol","hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/HabitatView"]]},"identifier":{"url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/HabitatView\/init(habitat:)","interfaceLanguage":"swift"},"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/HabitatView":{"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/HabitatView","abstract":[{"type":"text","text":"A view that displays a sloth’s habitat."}],"kind":"symbol","url":"\/documentation\/slothcreator\/habitatview","type":"topic","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"HabitatView"}],"title":"HabitatView","navigatorTitle":[{"kind":"identifier","text":"HabitatView"}]},"slothCreator-icon.png":{"type":"image","alt":"A technology icon representing the SlothCreator framework.","variants":[{"url":"\/images\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/slothCreator-icon@2x.png","traits":["2x","light"]}],"identifier":"slothCreator-icon.png"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator":{"url":"\/documentation\/slothcreator","title":"SlothCreator","kind":"symbol","images":[{"type":"icon","identifier":"slothCreator-icon.png"}],"type":"topic","abstract":[{"type":"text","text":"Catalog sloths you find in nature and create new adorable virtual sloths."}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator","role":"collection"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/HabitatView/init(habitat:)":{"url":"\/documentation\/slothcreator\/habitatview\/init(habitat:)","title":"init(habitat:)","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/HabitatView\/init(habitat:)","role":"symbol","type":"topic","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"habitat","kind":"externalParam"},{"kind":"text","text":": "},{"text":"Habitat","kind":"typeIdentifier","preciseIdentifier":"s:12SlothCreator7HabitatV"},{"kind":"text","text":")"}],"kind":"symbol","abstract":[{"text":"Creates a view that displays the specified habitat.","type":"text"}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/Habitat":{"kind":"symbol","navigatorTitle":[{"text":"Habitat","kind":"identifier"}],"url":"\/documentation\/slothcreator\/habitat","abstract":[{"text":"The habitat where sloths live.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Habitat"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Habitat","role":"symbol","type":"topic","title":"Habitat"}}}