-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tutorial: SwiftUI / Building a Simple Todo List UI (#94)
* 🎓 Tutorial: Building a simple todo list UI with SwiftUI * 🔨 Add script for generating docs Signed-off-by: Peter Friese <[email protected]> Co-authored-by: Nick Cooke <[email protected]>
- Loading branch information
1 parent
88fb807
commit b2a71eb
Showing
134 changed files
with
5,590 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
|
||
rm -rf docsData | ||
|
||
echo "Building DocC documentation for MakeItSo..." | ||
|
||
xcodebuild -project code/frontend/MakeItSo/MakeItSo.xcodeproj \ | ||
-derivedDataPath docsData \ | ||
-scheme MakeItSo \ | ||
-destination 'platform=iOS Simulator,name=iPhone 14 Pro' \ | ||
-parallelizeTargets docbuild | ||
|
||
echo "Copying DocC archives to doc_archives..." | ||
|
||
mkdir doc_archives | ||
|
||
cp -R `find docsData -type d -name "*.doccarchive"` doc_archives | ||
|
||
mkdir docs | ||
|
||
for ARCHIVE in doc_archives/*.doccarchive; do | ||
cmd() { | ||
echo "$ARCHIVE" | awk -F'.' '{print $1}' | awk -F'/' '{print tolower($2)}' | ||
} | ||
ARCHIVE_NAME="$(cmd)" | ||
echo "Processing Archive: $ARCHIVE" | ||
$(xcrun --find docc) process-archive transform-for-static-hosting "$ARCHIVE" \ | ||
--hosting-base-path MakeItSo/ --output-path docs | ||
done | ||
|
||
git fetch | ||
|
||
git stash push -u -- docs doc_archives | ||
|
||
git checkout tutorial/pages | ||
|
||
rm -rf docs doc_archives | ||
|
||
git stash apply | ||
|
||
git add docs doc_archives | ||
|
||
git commit -m "📝 Updated DocC documentation" | ||
|
||
# git push --set-upstream origin tutorial/pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ``MakeItSo`` | ||
|
||
<!--@START_MENU_TOKEN@-->Summary<!--@END_MENU_TOKEN@--> | ||
|
||
## Overview | ||
|
||
<!--@START_MENU_TOKEN@-->Text<!--@END_MENU_TOKEN@--> | ||
|
||
## Topics | ||
|
||
### <!--@START_MENU_TOKEN@-->Group<!--@END_MENU_TOKEN@--> | ||
|
||
- <!--@START_MENU_TOKEN@-->``Symbol``<!--@END_MENU_TOKEN@--> |
5 changes: 5 additions & 0 deletions
5
.../building-a-simple-todo-list-ui/artwork/building-todo-ui-07-finale.cmproj/bookmarks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict/> | ||
</plist> |
39 changes: 39 additions & 0 deletions
39
...sources/building-a-simple-todo-list-ui/artwork/building-todo-ui-07-finale.cmproj/docPrefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>DocPrefHorizontalScrollBarValue</key> | ||
<string>0</string> | ||
<key>DocPrefIsAssetPanelOpen</key> | ||
<integer>1</integer> | ||
<key>DocPrefIsCanvasRulersEnabled</key> | ||
<integer>0</integer> | ||
<key>DocPrefIsCaptionEditorOpen</key> | ||
<integer>0</integer> | ||
<key>DocPrefIsPropertiesOpen</key> | ||
<integer>1</integer> | ||
<key>DocPrefIsTocOpen</key> | ||
<integer>0</integer> | ||
<key>DocPrefMainSplitterValue</key> | ||
<string>1057.00000000000000000000</string> | ||
<key>DocPrefPlayheadTime</key> | ||
<string>11195520000</string> | ||
<key>DocPrefPreviewAutoFit</key> | ||
<integer>1</integer> | ||
<key>DocPrefPreviewScaleValue</key> | ||
<string>0.40991379310344827624</string> | ||
<key>DocPrefTrackHeaderWidth</key> | ||
<string>80.00000000000000000000</string> | ||
<key>DocPrefTrackHeights</key> | ||
<array> | ||
<integer>54</integer> | ||
<integer>54</integer> | ||
</array> | ||
<key>DocPrefWindowSizePos</key> | ||
<string>0 0 3840 2135 0 0 3840 2135 </string> | ||
<key>DocPrefZoomValue</key> | ||
<string>1.95010395010394987914</string> | ||
<key>SaveAsStandaloneProject</key> | ||
<real>1</real> | ||
</dict> | ||
</plist> |
Oops, something went wrong.