{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/slothcreator\/slothview\/scaledtofit()"]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView\/scaledToFit()"},"kind":"symbol","metadata":{"platforms":[{"name":"iOS","unavailable":false,"beta":false,"deprecated":false,"introducedAt":"13.0"},{"name":"macOS","deprecated":false,"beta":false,"introducedAt":"10.15","unavailable":false},{"unavailable":false,"name":"tvOS","deprecated":false,"introducedAt":"13.0","beta":false},{"deprecated":false,"unavailable":false,"introducedAt":"6.0","name":"watchOS","beta":false}],"roleHeading":"Instance Method","externalID":"s:7SwiftUI4ViewPAAE11scaledToFitQryF::SYNTHESIZED::s:12SlothCreator0A4ViewV","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"scaledToFit","kind":"identifier"},{"text":"() -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"symbolKind":"method","extendedModule":"SwiftUICore","role":"symbol","modules":[{"relatedModules":["SwiftUICore"],"name":"SlothCreator"}],"title":"scaledToFit()"},"abstract":[{"type":"text","text":"Inherited from "},{"type":"codeVoice","code":"View.scaledToFit()"},{"type":"text","text":"."}],"schemaVersion":{"minor":3,"patch":0,"major":0},"hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView\/View-Implementations"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"text":"nonisolated","kind":"attribute"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"scaledToFit","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}],"platforms":["macOS"],"languages":["swift"]}]}],"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/SlothView":{"abstract":[{"text":"A view that displays a sloth.","type":"text"}],"navigatorTitle":[{"text":"SlothView","kind":"identifier"}],"url":"\/documentation\/slothcreator\/slothview","type":"topic","title":"SlothView","kind":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"SlothView"}],"role":"symbol"},"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"},"slothCreator-icon.png":{"type":"image","alt":"A technology icon representing the SlothCreator framework.","identifier":"slothCreator-icon.png","variants":[{"url":"\/images\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/slothCreator-icon@2x.png","traits":["2x","light"]}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/SlothView/View-Implementations":{"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView\/View-Implementations","kind":"article","url":"\/documentation\/slothcreator\/slothview\/view-implementations","title":"View Implementations","role":"collectionGroup","type":"topic","abstract":[]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/SlothView/scaledToFit()":{"kind":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/SlothView\/scaledToFit()","type":"topic","abstract":[],"title":"scaledToFit()","url":"\/documentation\/slothcreator\/slothview\/scaledtofit()","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"scaledToFit","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}]}}}