{"kind":"symbol","primaryContentSections":[{"declarations":[{"platforms":["visionOS"],"tokens":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Activity"}],"languages":["swift"]}],"kind":"declarations"}],"schemaVersion":{"major":0,"patch":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator"]]},"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Activity"},"abstract":[{"text":"A type that declares an activity a Sloth can perform.","type":"text"}],"topicSections":[{"title":"Performing an Activity","anchor":"Performing-an-Activity","identifiers":["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Activity\/perform(with:)","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Speed"]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/slothcreator\/activity"]}],"metadata":{"externalID":"s:12SlothCreator8ActivityP","symbolKind":"protocol","roleHeading":"Protocol","modules":[{"name":"SlothCreator"}],"role":"symbol","title":"Activity","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Activity"}],"navigatorTitle":[{"text":"Activity","kind":"identifier"}]},"seeAlsoSections":[{"generated":true,"anchor":"Care-and-Feeding","identifiers":["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/CareSchedule","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/FoodGenerator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Sloth\/Food"],"title":"Care and Feeding"}],"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/FoodGenerator":{"type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"FoodGenerator","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/FoodGenerator","title":"FoodGenerator","role":"symbol","abstract":[{"type":"text","text":"A type that generates food."}],"url":"\/documentation\/slothcreator\/foodgenerator","navigatorTitle":[{"text":"FoodGenerator","kind":"identifier"}]},"slothCreator-icon.png":{"type":"image","variants":[{"url":"\/images\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/slothCreator-icon@2x.png","traits":["2x","light"]}],"alt":"A technology icon representing the SlothCreator framework.","identifier":"slothCreator-icon.png"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/Activity/perform(with:)":{"role":"symbol","url":"\/documentation\/slothcreator\/activity\/perform(with:)","kind":"symbol","type":"topic","title":"perform(with:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"perform","kind":"identifier"},{"text":"(","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"inout"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:12SlothCreator0A0V","text":"Sloth","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"Speed","preciseIdentifier":"s:12SlothCreator5SpeedO","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"Performs the work or sequence of actions for an activity."}],"required":true,"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Activity\/perform(with:)"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/Speed":{"kind":"symbol","url":"\/documentation\/slothcreator\/speed","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"text":"Speed","kind":"identifier"}],"abstract":[{"type":"text","text":"A measure of a sloth’s speed during an activity."}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Speed","type":"topic","role":"symbol","navigatorTitle":[{"text":"Speed","kind":"identifier"}],"title":"Speed"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/Activity":{"abstract":[{"type":"text","text":"A type that declares an activity a Sloth can perform."}],"url":"\/documentation\/slothcreator\/activity","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Activity","type":"topic","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"Activity","kind":"identifier"}],"navigatorTitle":[{"kind":"identifier","text":"Activity"}],"role":"symbol","kind":"symbol","title":"Activity"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/CareSchedule":{"title":"CareSchedule","abstract":[{"text":"A schedule to maintain the health and happiness of a sloth.","type":"text"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/CareSchedule","kind":"symbol","role":"symbol","url":"\/documentation\/slothcreator\/careschedule","navigatorTitle":[{"kind":"identifier","text":"CareSchedule"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"CareSchedule","kind":"identifier"}],"type":"topic"},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator/Sloth/Food":{"type":"topic","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"Food","kind":"identifier"}],"kind":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator\/Sloth\/Food","title":"Sloth.Food","role":"symbol","abstract":[{"text":"Food that a sloth can consume.","type":"text"}],"url":"\/documentation\/slothcreator\/sloth\/food","navigatorTitle":[{"text":"Food","kind":"identifier"}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator/documentation/SlothCreator":{"url":"\/documentation\/slothcreator","type":"topic","abstract":[{"text":"Catalog sloths you find in nature and create new adorable virtual sloths.","type":"text"}],"images":[{"identifier":"slothCreator-icon.png","type":"icon"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-3.SlothCreator\/documentation\/SlothCreator","title":"SlothCreator","role":"collection","kind":"symbol"}}}