Added a new SlothCreator docc archive to the Resources folder.
This commit is contained in:
1 parent
c59b2ba453
commit
882f791181
8725 files changed
+7
-8961
No files matched your search
@@ -0,0 +1 @@
|
||||
{"variants":[{"paths":["\/tutorials\/slothcreator"],"traits":[{"interfaceLanguage":"swift"}]}],"sections":[{"action":{"identifier":"doc:\/\/SlothCreator\/tutorials\/SlothCreator\/Creating-Custom-Sloths","overridingTitle":"Get started","overridingTitleInlineContent":[{"type":"text","text":"Get started"}],"isActive":true,"type":"reference"},"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Create, catalog, and care for sloths using SlothCreator. Get started with SlothCreator by building the demo app "},{"inlineContent":[{"type":"text","text":"Slothy"}],"type":"emphasis"},{"type":"text","text":"."}]}],"kind":"hero","title":"Meet SlothCreator","backgroundImage":"slothcreator-intro.png","image":"slothcreator-intro.png"},{"image":null,"content":[],"name":null,"chapters":[{"content":[{"inlineContent":[{"type":"text","text":"Create custom sloths and edit their attributes and powers using SlothCreator."}],"type":"paragraph"}],"name":"SlothCreator Essentials","tutorials":["doc:\/\/SlothCreator\/tutorials\/SlothCreator\/Creating-Custom-Sloths"],"image":"chapter1-slothcreatorEssentials.png"}],"kind":"volume"}],"kind":"overview","schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[],"reference":"doc:\/\/SlothCreator\/tutorials\/SlothCreator"},"metadata":{"category":"SlothCreator","title":"Meet SlothCreator","role":"overview","categoryPathComponent":"SlothCreator","estimatedTime":"30min"},"identifier":{"url":"doc:\/\/SlothCreator\/tutorials\/SlothCreator","interfaceLanguage":"swift"},"references":{"doc://SlothCreator/tutorials/SlothCreator/Creating-Custom-Sloths":{"abstract":[{"text":"This tutorial guides you through building ","type":"text"},{"type":"emphasis","inlineContent":[{"text":"Slothy","type":"text"}]},{"type":"text","text":" — an app for creating and caring for custom sloths. You’ll start by building the sloth creation view."}],"kind":"project","url":"\/tutorials\/slothcreator\/creating-custom-sloths","estimatedTime":"30min","type":"topic","role":"project","identifier":"doc:\/\/SlothCreator\/tutorials\/SlothCreator\/Creating-Custom-Sloths","title":"Creating Custom Sloths"},"chapter1-slothcreatorEssentials.png":{"type":"image","identifier":"chapter1-slothcreatorEssentials.png","variants":[{"traits":["2x","light"],"url":"\/images\/SlothCreator\/chapter1-slothcreatorEssentials@2x.png"}],"alt":"A wireframe of an app interface that has an outline of a sloth and four buttons below the sloth. The buttons display the following symbols, from left to right: snowflake, fire, wind, and lightning."},"doc://SlothCreator/tutorials/SlothCreator":{"url":"\/tutorials\/slothcreator","kind":"overview","type":"topic","title":"Meet SlothCreator","abstract":[{"type":"text","text":"Create, catalog, and care for sloths using SlothCreator. Get started with SlothCreator by building the demo app "},{"inlineContent":[{"type":"text","text":"Slothy"}],"type":"emphasis"},{"type":"text","text":"."}],"identifier":"doc:\/\/SlothCreator\/tutorials\/SlothCreator","role":"overview"},"slothcreator-intro.png":{"identifier":"slothcreator-intro.png","variants":[{"url":"\/images\/SlothCreator\/slothcreator-intro@2x.png","traits":["2x","light"]}],"alt":"An illustration of 3 iPhones in portrait mode, displaying the UI of finding, creating, and taking care of a sloth in Slothy — the sample app that you build in this collection of tutorials.","type":"image"}}}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"variants":[{"paths":["\/tutorials\/slothcreator\/creating-custom-sloths"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"project","identifier":{"url":"doc:\/\/SlothCreator\/tutorials\/SlothCreator\/Creating-Custom-Sloths","interfaceLanguage":"swift"},"sections":[{"estimatedTimeInMinutes":30,"kind":"hero","content":[{"inlineContent":[{"text":"This tutorial guides you through building ","type":"text"},{"type":"emphasis","inlineContent":[{"type":"text","text":"Slothy"}]},{"text":" — an app for creating and caring for custom sloths. You’ll start by building the sloth creation view.","type":"text"}],"type":"paragraph"}],"backgroundImage":"creating-intro.png","chapter":"SlothCreator Essentials","title":"Creating Custom Sloths","image":"creating-intro.png"},{"tasks":[{"contentSection":[{"kind":"contentAndMedia","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Create and configure an Xcode project that uses SlothCreator."}]}],"mediaPosition":"trailing","media":"01-creating-section1.png"}],"anchor":"Create-a-new-project-and-add-SlothCreator","stepsSection":[{"content":[{"type":"paragraph","inlineContent":[{"text":"Create a new project using the iOS App template.","type":"text"}]}],"media":"placeholder-image.png","code":null,"type":"step","runtimePreview":null,"caption":[]},{"media":"placeholder-image.png","code":null,"caption":[],"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Enter “Slothy” as the Product Name."}]}],"runtimePreview":null,"type":"step"},{"runtimePreview":null,"caption":[],"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Select “SwiftUI” from the Interface pop-up menu and “SwiftUI App” from the Life Cycle pop-up menu, then click Next. Choose a location to save the Slothy project on your Mac."}]}],"code":null,"media":"placeholder-image.png","type":"step"},{"runtimePreview":null,"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Add "},{"code":"SlothCreator","type":"codeVoice"},{"type":"text","text":" as a dependency to the project."}]}],"caption":[],"type":"step","code":null,"media":"placeholder-image.png"}],"title":"Create a new project and add SlothCreator"},{"contentSection":[{"kind":"contentAndMedia","media":"01-creating-section2.png","mediaPosition":"trailing","content":[{"inlineContent":[{"text":"Add the ability for users to customize sloths and select their powers.","type":"text"}],"type":"paragraph"}]}],"stepsSection":[{"caption":[],"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Create a new SwiftUI View file named "},{"code":"CustomizedSlothView.swift","type":"codeVoice"},{"type":"text","text":"."}]}],"code":"01-creating-code-02-01.swift","runtimePreview":"preview-01-creating-code-02-01.png","type":"step","media":null},{"type":"step","content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"Import the "},{"type":"codeVoice","code":"SlothCreator"},{"type":"text","text":" package."}]}],"media":null,"runtimePreview":"preview-01-creating-code-02-01.png","code":"01-creating-code-02-02.swift","caption":[]},{"caption":[],"code":"01-creating-code-02-03.swift","media":null,"type":"step","content":[{"inlineContent":[{"type":"text","text":"Create a "},{"code":"SlothCreator\/Sloth","type":"codeVoice"},{"type":"text","text":" state variable called "},{"type":"codeVoice","code":"sloth"},{"text":".","type":"text"}],"type":"paragraph"}],"runtimePreview":"preview-01-creating-code-02-01.png"},{"caption":[{"type":"paragraph","inlineContent":[{"text":"This adds space around and between any views inside.","type":"text"}]}],"runtimePreview":"preview-01-creating-code-02-04.png","media":null,"type":"step","code":"01-creating-code-02-04.swift","content":[{"inlineContent":[{"text":"Delete the template ","type":"text"},{"code":"Text","type":"codeVoice"},{"text":" view, then add a new ","type":"text"},{"type":"codeVoice","code":"VStack"},{"text":" with trailing padding.","type":"text"}],"type":"paragraph"}]},{"content":[{"inlineContent":[{"type":"text","text":"Add a "},{"code":"SlothView","type":"codeVoice"},{"text":". Specify the ","type":"text"},{"code":"sloth","type":"codeVoice"},{"type":"text","text":" state variable for the view’s "},{"type":"codeVoice","code":"sloth"},{"text":" binding.","type":"text"}],"type":"paragraph"}],"runtimePreview":"preview-01-creating-code-02-04.png","media":null,"code":"01-creating-code-02-05.swift","type":"step","caption":[]},{"media":null,"content":[{"type":"paragraph","inlineContent":[{"text":"Add a ","type":"text"},{"code":"PowerPicker","type":"codeVoice"},{"text":". Specify the ","type":"text"},{"type":"codeVoice","code":"sloth"},{"type":"text","text":"‘s "},{"type":"codeVoice","code":"power"},{"type":"text","text":" for the picker view’s "},{"type":"codeVoice","code":"power"},{"text":" binding.","type":"text"}]}],"caption":[],"runtimePreview":"preview-01-creating-code-02-04.png","code":"01-creating-code-02-06.swift","type":"step"}Line truncated
|
||||
Reference in new issue
Block a user