{"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(into: inout Hasher)","type":"method"}],"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/slothcreator\/sloth\/color-swift.enum","title":"Sloth.Color","type":"enum"},{"title":"Getting Magical Abilities","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.property","title":"var power: Power","type":"property"},{"children":[{"title":"Getting the Power Categories","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/ice","title":"case ice","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/fire","title":"case fire","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/wind","title":"case wind","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/lightning","title":"case lightning","type":"case"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/none","title":"case none","type":"case"},{"title":"Describing a Power","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/description","title":"var description: String","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"},{"title":"Comparing Powers","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"},{"title":"Creating a Custom Power","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/init(name:color:power:)","title":"init(name: String, color: Color, power: Power)","type":"init"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/init(rawvalue:)","title":"init?(rawValue: String)","type":"init"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/equatable-implementations","title":"Equatable Implementations","type":"symbol"},{"children":[{"title":"Instance Properties","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/hashvalue","title":"var hashValue: Int","type":"property"},{"title":"Instance Methods","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/hash(into:)","title":"func hash(into: inout Hasher)","type":"method"}],"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum\/rawrepresentable-implementations","title":"RawRepresentable Implementations","type":"symbol"}],"path":"\/documentation\/slothcreator\/sloth\/power-swift.enum","title":"Sloth.Power","type":"enum"},{"path":"\/documentation\/slothcreator\/sloth\/energylevel","title":"var energyLevel: Int","type":"property"}],"path":"\/documentation\/slothcreator\/sloth","title":"Sloth","type":"struct"},{"title":"Sloth Creation","type":"groupMarker"},{"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"},{"children":[{"title":"Generating a Sloth Name","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/namegenerator\/generatename(seed:)","title":"func generateName(seed: Int) -> String","type":"method"}],"path":"\/documentation\/slothcreator\/namegenerator","title":"NameGenerator","type":"protocol"},{"children":[{"title":"Creating a Habitat","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/habitat\/init(ishumid:iswarm:)","title":"init(isHumid: Bool, isWarm: Bool)","type":"init"},{"title":"Configuring the Climate","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/habitat\/iswarm","title":"var isWarm: Bool","type":"property"},{"path":"\/documentation\/slothcreator\/habitat\/ishumid","title":"var isHumid: Bool","type":"property"},{"title":"Checking the Climate","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/habitat\/comfortlevel","title":"var comfortLevel: Int","type":"property"}],"path":"\/documentation\/slothcreator\/habitat","title":"Habitat","type":"struct"},{"title":"Care and Feeding","type":"groupMarker"},{"children":[{"title":"Performing an Activity","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/activity\/perform(with:)","title":"func perform(with: inout Sloth) -> Speed","type":"method"},{"children":[{"title":"Speeds","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/speed\/slow","title":"case slow","type":"case"},{"path":"\/documentation\/slothcreator\/speed\/medium","title":"case medium","type":"case"},{"path":"\/documentation\/slothcreator\/speed\/fast","title":"case fast","type":"case"},{"path":"\/documentation\/slothcreator\/speed\/supersonic","title":"case supersonic","type":"case"},{"title":"Comparing Speeds","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/speed\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Operators","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/speed\/!=(_:_:)","title":"static func != (Self, Self) -> Bool","type":"op"}],"path":"\/documentation\/slothcreator\/speed\/equatable-implementations","title":"Equatable Implementations","type":"symbol"}],"path":"\/documentation\/slothcreator\/speed","title":"Speed","type":"enum"}],"path":"\/documentation\/slothcreator\/activity","title":"Activity","type":"protocol"},{"children":[{"title":"Creating a Care Schedule","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/careschedule\/init(events:)","title":"init(events: [(Date, Event)])","type":"init"},{"title":"Getting the Schedule","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/careschedule\/events","title":"var events: [(Date, Event)]","type":"property"},{"children":[{"title":"Getting Meal Information","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/careschedule\/event\/breakfast","title":"case breakfast","type":"case"},{"path":"\/documentation\/slothcreator\/careschedule\/event\/lunch","title":"case lunch","type":"case"},{"path":"\/documentation\/slothcreator\/careschedule\/event\/dinner","title":"case dinner","type":"case"},{"title":"Getting Rest Data","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/careschedule\/event\/bedtime","title":"case bedtime","type":"case"},{"title":"Creating Custom Events","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/careschedule\/event\/activity(_:)","title":"case activity(Activity)","type":"case"}],"path":"\/documentation\/slothcreator\/careschedule\/event","title":"CareSchedule.Event","type":"enum"}],"path":"\/documentation\/slothcreator\/careschedule","title":"CareSchedule","type":"struct"},{"children":[{"title":"Generating Food","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/foodgenerator\/generatefood(in:)","title":"func generateFood(in: Habitat) -> Sloth.Food","type":"method"}],"path":"\/documentation\/slothcreator\/foodgenerator","title":"FoodGenerator","type":"protocol"},{"children":[{"title":"Creating a Food Item","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/food\/init(name:energy:)","title":"init(name: String, energy: Int)","type":"init"},{"title":"Getting the Food Details","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/food\/name","title":"let name: String","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/food\/energy","title":"let energy: Int","type":"property"},{"title":"Getting the Default Foods","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/sloth\/food\/largeleaf","title":"static let largeLeaf: Sloth.Food","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/food\/regularleaf","title":"static let regularLeaf: Sloth.Food","type":"property"},{"path":"\/documentation\/slothcreator\/sloth\/food\/twig","title":"static let twig: Sloth.Food","type":"property"}],"path":"\/documentation\/slothcreator\/sloth\/food","title":"Sloth.Food","type":"struct"},{"title":"Sloth Views","type":"groupMarker"},{"children":[{"title":"Creating a Sloth View","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/slothview\/init(sloth:)","title":"init(sloth: Binding)","type":"init"},{"title":"Implementing the View","type":"groupMarker"},{"path":"\/documentation\/slothcreator\/slothview\/body","title":"var body: some View","type":"property"},{"title":"Default Implementations","type":"groupMarker"},{"children":[{"title":"Instance Methods","type":"groupMarker"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accentcolor(_:)","title":"func accentColor(Color?) -> some View","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(activationpoint:)-2ttgz","title":"func accessibility(activationPoint: UnitPoint) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(activationpoint:)-50yze","title":"func accessibility(activationPoint: CGPoint) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(addtraits:)","title":"func accessibility(addTraits: AccessibilityTraits) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(hidden:)","title":"func accessibility(hidden: Bool) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(hint:)","title":"func accessibility(hint: Text) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(identifier:)","title":"func accessibility(identifier: String) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(inputlabels:)","title":"func accessibility(inputLabels: [Text]) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(label:)","title":"func accessibility(label: Text) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(removetraits:)","title":"func accessibility(removeTraits: AccessibilityTraits) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(selectionidentifier:)","title":"func accessibility(selectionIdentifier: AnyHashable) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(sortpriority:)","title":"func accessibility(sortPriority: Double) -> ModifiedContent","type":"method"},{"deprecated":true,"path":"\/documentation\/slothcreator\/slothview\/accessibility(value:)","title":"func accessibility(value: Text) -> ModifiedContent","type":"method"},{"path":"\/documentation\/slothcreator\/slothview\/accessibilityaction(_:_:)","title":"func accessibilityAction(AccessibilityActionKind, () -> Void) -> ModifiedContent","type":"method"},{"path":"\/documentation\/slothcreator\/slothview\/accessibilityaction(action:label:)","title":"func accessibilityAction