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