2025-02-26 23:01:53 +01:00
|
|
|
|
{"includedArchiveIdentifiers":["slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator"],"interfaceLanguages":{"swift":[{"children":[{"title":"SlothCreator Essentials","type":"groupMarker"},{"path":"\/tutorials\/slothcreator\/creating-custom-sloths","title":"Creating Custom Sloths","type":"project"}],"path":"\/tutorials\/slothcreator","title":"Meet SlothCreator","type":"overview"},{"children":[{"title":"Essentials","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/gettingstarted","title":"Getting Started with Sloths","type":"article"},{"path":"\/documentation\/slothcreator\/slothysample","title":"Slothy: Integrating SlothCreator into an App","type":"sampleCode"},{"children":[{"title":"Creating a Sloth","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/init(name:color:power:)","title":"init(name: String, color: Color, power: Power)","type":"init"},{"children":[{"title":"Generating a Sloth","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/slothgenerator\/generatesloth(in:)","title":"func generateSloth(in: Habitat) throws -> Sloth","type":"method"}],"path":"\/documentation\/slothcreator\/slothgenerator","title":"SlothGenerator","type":"protocol"},{"title":"Engaging in Activities","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/eat(_:quantity:)","title":"func eat(Food, quantity: Int) -> Int","type":"method"},{"path":"\/documentation\/slothcreator\/sloth\/sleep(in:for:)","title":"func sleep(in: Habitat, for: Int) -> Int","type":"method"},{"title":"Getting the Sloth’s Schedule","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/schedule","title":"var schedule: CareSchedule","type":"property"},{"title":"Getting the Sloth’s Identity","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/name","title":"var name: String","type":"property"},{"title":"Getting Visual Attributes","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.property","title":"var color: Color","type":"property"},{"children":[{"title":"Getting the Standard Colors","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/green","title":"case green","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/orange","title":"case orange","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/yellow","title":"case yellow","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/blue","title":"case blue","type":"case"},{"title":"Describing a Color","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/description","title":"var description: String","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"},{"title":"Comparing Colors","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"},{"title":"Creating a Custom Color","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/hash(into:)","title":"func hash(int
|