-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9ca64b
commit bf198c2
Showing
65 changed files
with
3,520 additions
and
0 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
...p Calculator/Tip Calculator WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json
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,81 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"role" : "notificationCenter", | ||
"scale" : "2x", | ||
"size" : "24x24", | ||
"subtype" : "38mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "notificationCenter", | ||
"scale" : "2x", | ||
"size" : "27.5x27.5", | ||
"subtype" : "42mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "companionSettings", | ||
"scale" : "2x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "companionSettings", | ||
"scale" : "3x", | ||
"size" : "29x29" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "appLauncher", | ||
"scale" : "2x", | ||
"size" : "40x40", | ||
"subtype" : "38mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "appLauncher", | ||
"scale" : "2x", | ||
"size" : "44x44", | ||
"subtype" : "40mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "appLauncher", | ||
"scale" : "2x", | ||
"size" : "50x50", | ||
"subtype" : "44mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "quickLook", | ||
"scale" : "2x", | ||
"size" : "86x86", | ||
"subtype" : "38mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "quickLook", | ||
"scale" : "2x", | ||
"size" : "98x98", | ||
"subtype" : "42mm" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"role" : "quickLook", | ||
"scale" : "2x", | ||
"size" : "108x108", | ||
"subtype" : "44mm" | ||
}, | ||
{ | ||
"idiom" : "watch-marketing", | ||
"scale" : "1x", | ||
"size" : "1024x1024" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...OS Demo Projects/Tip Calculator/Tip Calculator WatchKit App/Assets.xcassets/Contents.json
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,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
... Demo Projects/Tip Calculator/Tip Calculator WatchKit App/Base.lproj/Interface.storyboard
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,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="16096" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="AgC-eL-Hgc"> | ||
<device id="watch38"/> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="16012"/> | ||
</dependencies> | ||
<scenes> | ||
<!--Interface Controller--> | ||
<scene sceneID="aou-V4-d1y"> | ||
<objects> | ||
<controller id="AgC-eL-Hgc" customClass="InterfaceController" customModule="Tip_Calculator_WatchKit_App" customModuleProvider="target"> | ||
<items> | ||
<label alignment="center" text="$20.0" id="u7C-UL-Ivg"> | ||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/> | ||
<fontDescription key="font" type="system" pointSize="22"/> | ||
</label> | ||
<slider height="37" alignment="left" continuous="YES" value="20" minimum="5" maximum="100" steps="19" id="6jV-fg-gnG"> | ||
<connections> | ||
<action selector="changeOfMealValue:" destination="AgC-eL-Hgc" id="knq-55-Wde"/> | ||
</connections> | ||
</slider> | ||
<group width="1" alignment="left" id="zTb-ZG-Kw3"> | ||
<items> | ||
<label alignment="left" text="10%" id="gbH-sU-Lqf"> | ||
<fontDescription key="font" style="UICTFontTextStyleBody"/> | ||
</label> | ||
<label alignment="center" text="$2.0" id="PQd-xh-9Y1"/> | ||
<label alignment="right" text="$22" id="ADr-5P-tkl"/> | ||
</items> | ||
</group> | ||
<group width="1" alignment="left" id="g3n-5s-ijm"> | ||
<items> | ||
<label alignment="left" text="15%" id="bhg-py-3FG"> | ||
<fontDescription key="font" style="UICTFontTextStyleBody"/> | ||
</label> | ||
<label alignment="center" text="$3.0" id="pSI-ga-rT9"/> | ||
<label alignment="right" text="$23" id="17P-rV-ZBq"/> | ||
</items> | ||
</group> | ||
<group width="1" alignment="left" id="aWO-zF-beB"> | ||
<items> | ||
<label alignment="left" text="20%" id="OXe-5P-sca"/> | ||
<label alignment="center" text="$4.0" id="mEL-UX-KpA"/> | ||
<label alignment="right" text="$24" id="psf-OS-EOs"/> | ||
</items> | ||
</group> | ||
</items> | ||
<color key="backgroundColor" red="1" green="0.72309009879999997" blue="0.4460881881" alpha="1" colorSpace="custom" customColorSpace="displayP3"/> | ||
<connections> | ||
<outlet property="fifteenTip" destination="pSI-ga-rT9" id="zJn-S0-Vog"/> | ||
<outlet property="fifteenTipTotal" destination="17P-rV-ZBq" id="Ap4-Ay-sIG"/> | ||
<outlet property="mealValue" destination="u7C-UL-Ivg" id="0a7-TJ-dB2"/> | ||
<outlet property="tenTip" destination="PQd-xh-9Y1" id="jCj-Hh-ZAX"/> | ||
<outlet property="tenTipTotal" destination="ADr-5P-tkl" id="dFu-E9-dIP"/> | ||
<outlet property="twentyTip" destination="mEL-UX-KpA" id="UBe-Mz-4DF"/> | ||
<outlet property="twentyTipTotal" destination="psf-OS-EOs" id="YXL-rT-i2d"/> | ||
</connections> | ||
</controller> | ||
</objects> | ||
<point key="canvasLocation" x="34" y="31"/> | ||
</scene> | ||
</scenes> | ||
</document> |
33 changes: 33 additions & 0 deletions
33
WatchOS Demo Projects/Tip Calculator/Tip Calculator WatchKit App/Info.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,33 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Tip Calculator WatchKit App</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>UISupportedInterfaceOrientations</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
</array> | ||
<key>WKCompanionAppBundleIdentifier</key> | ||
<string>com.mobiledevelopment.Tip-Calculator</string> | ||
<key>WKWatchKitApp</key> | ||
<true/> | ||
</dict> | ||
</plist> |
28 changes: 28 additions & 0 deletions
28
...it Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json
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,28 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : "<=145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">161" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">183" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
... Calculator WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json
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,48 @@ | ||
{ | ||
"assets" : [ | ||
{ | ||
"filename" : "Circular.imageset", | ||
"idiom" : "watch", | ||
"role" : "circular" | ||
}, | ||
{ | ||
"filename" : "Extra Large.imageset", | ||
"idiom" : "watch", | ||
"role" : "extra-large" | ||
}, | ||
{ | ||
"filename" : "Graphic Bezel.imageset", | ||
"idiom" : "watch", | ||
"role" : "graphic-bezel" | ||
}, | ||
{ | ||
"filename" : "Graphic Circular.imageset", | ||
"idiom" : "watch", | ||
"role" : "graphic-circular" | ||
}, | ||
{ | ||
"filename" : "Graphic Corner.imageset", | ||
"idiom" : "watch", | ||
"role" : "graphic-corner" | ||
}, | ||
{ | ||
"filename" : "Graphic Large Rectangular.imageset", | ||
"idiom" : "watch", | ||
"role" : "graphic-large-rectangular" | ||
}, | ||
{ | ||
"filename" : "Modular.imageset", | ||
"idiom" : "watch", | ||
"role" : "modular" | ||
}, | ||
{ | ||
"filename" : "Utilitarian.imageset", | ||
"idiom" : "watch", | ||
"role" : "utilitarian" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json
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,28 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : "<=145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">161" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">183" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...tension/Assets.xcassets/Complication.complicationset/Graphic Bezel.imageset/Contents.json
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,28 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : "<=145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">161" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">183" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...sion/Assets.xcassets/Complication.complicationset/Graphic Circular.imageset/Contents.json
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,28 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : "<=145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">161" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">183" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ension/Assets.xcassets/Complication.complicationset/Graphic Corner.imageset/Contents.json
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,28 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : "<=145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">161" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">145" | ||
}, | ||
{ | ||
"idiom" : "watch", | ||
"scale" : "2x", | ||
"screen-width" : ">183" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Oops, something went wrong.