Compare commits
124 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 80ba32587b | |||
| 14152201e1 | |||
| 66011533ab | |||
| 4a944b772e | |||
| 12c328cfc6 | |||
| 0537858c47 | |||
| 11d34fb41f | |||
| 38f852adea | |||
| 5bc70dd48f | |||
| 459ea6d7a6 | |||
| d28f0ddfdd | |||
| 221c8e51d1 | |||
| ba75a19029 | |||
| 6adefd8d4a | |||
| fff87ce621 | |||
| f8d1f305d5 | |||
| 2e0121df45 | |||
| 78c827a982 | |||
| 02eaa1a616 | |||
| a2d0c3145e | |||
| d804bbdaaf | |||
| 8b8c4fd95a | |||
| 8c75a393ee | |||
| 6ef5e1a0c2 | |||
| 788844edd6 | |||
| 43e7a6ed97 | |||
| 9021ea506e | |||
| 0ed2dca144 | |||
| 789367553b | |||
| 16be761641 | |||
| 4683231ef4 | |||
| 742f421fec | |||
| b9b417ff18 | |||
| 420cd06f88 | |||
| 4ae30efc6d | |||
| 3d79eae4d8 | |||
| 3cd4186f2a | |||
| d35053e8b6 | |||
| 228a385d13 | |||
| 87e86edef7 | |||
| e9eebd8da7 | |||
| 4c9928b03f | |||
| c31a8f0d3b | |||
| 49d697c9de | |||
| 5495849102 | |||
| b8d1537666 | |||
| 90c0308b31 | |||
| 9d65382d38 | |||
| f48fade711 | |||
| 332e2b788d | |||
| ce2c78cd6d | |||
| eb783340b3 | |||
| 869f00c86d | |||
| 7c4832f4a5 | |||
| 673c0fd8a9 | |||
| 59e400046a | |||
| 530611d987 | |||
| c88d058843 | |||
| a9141ef2d1 | |||
| b5111d6b96 | |||
| 967f386bfd | |||
| 01064ea782 | |||
| 7246ace579 | |||
| 74b4b9230a | |||
| fa247a94d1 | |||
| 7a774e7cc1 | |||
| 0871b81a3d | |||
| dde1c45c29 | |||
| ea4a3096b8 | |||
| 43cbb392ea | |||
| 736f5d6a76 | |||
| 02cb7676ea | |||
| dbf50a2f89 | |||
| 1d6edf8f6c | |||
| 5a04a314a7 | |||
| c0ce01d7b7 | |||
| 64edfdd6a7 | |||
| b5b6c66c8e | |||
| 1d6b57bb88 | |||
| 9408b2ee07 | |||
| 91ec7f2a7e | |||
| ba919ac0d7 | |||
| f73beb26ee | |||
| 724a33b8fe | |||
| 1c13cbbc42 | |||
| e0842bb62c | |||
| f5a81894e2 | |||
| c90038459f | |||
| e0c1d7001f | |||
| 9d6bda4331 | |||
| d6ffafaacb | |||
| 9962391173 | |||
| cb208bbe0c | |||
| 6c6c112118 | |||
| ac4648a538 | |||
| c52323b380 | |||
| 6f482202b1 | |||
| 6df13353d5 | |||
| fc56080d08 | |||
| d70ae1152c | |||
| f627a83d43 | |||
| a68e00fdae | |||
| 8cf7dbe4a4 | |||
| 6caab97b74 | |||
| 1a180128d5 | |||
| 524806706a | |||
| e7412020d5 | |||
| be264bbaae | |||
| 540f8ca4b1 | |||
| 8ae3681900 | |||
| 39787eeedf | |||
| 784957cff1 | |||
| 9e72e106d7 | |||
| 8a82c00e05 | |||
| c26b14f81a | |||
| 33678fd37b | |||
| 923c417204 | |||
| 65c5eea829 | |||
| d06f06b556 | |||
| aa9f09bae3 | |||
| c5964f989b | |||
| 928bf89c18 | |||
| e8102cc2ee | |||
| b01ba7537f |
@@ -0,0 +1,17 @@
|
||||
.DS_Store
|
||||
*/build/*
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
!default.mode1v3
|
||||
*.mode2v3
|
||||
!default.mode2v3
|
||||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata
|
||||
profile
|
||||
*.moved-aside
|
||||
DerivedData
|
||||
.idea/
|
||||
*.hmap
|
||||
*.xccheckout
|
||||
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 48 KiB |
@@ -344,7 +344,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -312,7 +312,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -227,7 +227,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -563,10 +563,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -579,11 +575,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -613,7 +604,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -491,7 +491,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -661,10 +661,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -677,11 +673,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -711,7 +702,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -590,10 +590,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -606,11 +602,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -640,7 +631,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -693,10 +693,6 @@ This can be used for generic messaging, or events that are specific to 3rd party
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -709,11 +705,6 @@ This can be used for generic messaging, or events that are specific to 3rd party
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -743,7 +734,7 @@ This can be used for generic messaging, or events that are specific to 3rd party
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -400,7 +400,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -988,10 +988,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -1004,11 +1000,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1038,7 +1029,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -484,7 +484,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
|
||||
<option value="//api/name/servingType"> servingType</option>
|
||||
|
||||
<option value="//api/name/subType"> subType</option>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -111,6 +113,8 @@
|
||||
|
||||
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/servingType">servingType</a></span></li>
|
||||
|
||||
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/subType">subType</a></span></li>
|
||||
|
||||
</ul></li>
|
||||
|
||||
|
||||
@@ -227,6 +231,12 @@
|
||||
</span>
|
||||
<span class="task-item-suffix">property</span>
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/subType"> subType</a></code>
|
||||
</span>
|
||||
<span class="task-item-suffix">property</span>
|
||||
|
||||
</li><li>
|
||||
<span class="tooltip">
|
||||
<code><a href="#//api/name/category"> category</a></code>
|
||||
@@ -592,6 +602,47 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection declared-in-section">
|
||||
<h4 class="method-subtitle">Declared In</h4>
|
||||
<code class="declared-in-ref">UPMealAPI.h</code><br />
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="section-method">
|
||||
<a name="//api/name/subType" title="subType"></a>
|
||||
<h3 class="subsubtitle method-title">subType</h3>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>The sub type of the meal item (food or drink).</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) UPMealItemSubType subType</code></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>The sub type of the meal item (food or drink).</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection declared-in-section">
|
||||
<h4 class="method-subtitle">Declared In</h4>
|
||||
<code class="declared-in-ref">UPMealAPI.h</code><br />
|
||||
@@ -794,7 +845,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -1149,7 +1149,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -392,10 +392,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -408,11 +404,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -442,7 +433,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -771,7 +771,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -491,7 +491,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -588,7 +588,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -1116,7 +1116,7 @@ An existing WebView can be provided, or one will be created in a new window if n
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -907,10 +907,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -923,11 +919,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -957,7 +948,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -610,7 +610,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -384,7 +384,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -1456,7 +1456,7 @@ Trends are useful to measure data over time, such as in a graph.</p>
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -425,7 +425,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -639,7 +639,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -413,7 +413,7 @@ These can be used to map the user’s friends with other users registered wi
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -894,7 +894,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -537,7 +537,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -667,10 +667,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection brief-description">
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection method-declaration"><code>- (NSDictionary *)encodeToDictionary</code></div>
|
||||
@@ -683,11 +679,6 @@
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection discussion-section">
|
||||
<h4 class="method-subtitle">Discussion</h4>
|
||||
<p>Encodes an object to a JSON dictionary.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -717,7 +708,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -623,7 +623,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -0,0 +1,264 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
|
||||
<title>UPMealItemSubType Constants Reference</title>
|
||||
<meta id="xcode-display" name="xcode-display" content="render"/>
|
||||
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
|
||||
<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
|
||||
<meta name="generator" content="appledoc 2.2 (build 961)" />
|
||||
</head>
|
||||
<body>
|
||||
<header id="top_header">
|
||||
<div id="library" class="hideInXcode">
|
||||
<h1><a id="libraryTitle" href="../index.html">UPPlatformSDK </a></h1>
|
||||
<a id="developerHome" href="../index.html">Jawbone</a>
|
||||
</div>
|
||||
|
||||
<div id="title" role="banner">
|
||||
<h1 class="hideInXcode">UPMealItemSubType Constants Reference</h1>
|
||||
</div>
|
||||
<ul id="headerButtons" role="toolbar">
|
||||
<li id="toc_button">
|
||||
<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
|
||||
</li>
|
||||
<li id="jumpto_button" role="navigation">
|
||||
<select id="jumpTo">
|
||||
<option value="top">Jump To…</option>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</header>
|
||||
<nav id="tocContainer" class="isShowingTOC">
|
||||
<ul id="toc" role="tree">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
<article>
|
||||
<div id="contents" class="isShowingTOC" role="main">
|
||||
<a title="UPMealItemSubType Constants Reference" name="top"></a>
|
||||
<div class="main-navigation navigation-top">
|
||||
<ul>
|
||||
<li><a href="../index.html">Index</a></li>
|
||||
<li><a href="../hierarchy.html">Hierarchy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="header">
|
||||
<div class="section-header">
|
||||
<h1 class="title title-header">UPMealItemSubType Constants Reference</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id="container">
|
||||
|
||||
<div class="section section-specification"><table cellspacing="0"><tbody>
|
||||
<tr>
|
||||
<td class="specification-title">Declared in</td>
|
||||
<td class="specification-value">UPMealAPI.h</td>
|
||||
</tr>
|
||||
</tbody></table></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 class="subsubtitle method-title">UPMealItemSubType</h3>
|
||||
|
||||
|
||||
<div class="section section-overview">
|
||||
<p>The available sub types of a meal item.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section">
|
||||
<!-- display enum values -->
|
||||
|
||||
<h4 class="method-subtitle">Definition</h4>
|
||||
<code>typedef NS_ENUM(NSUInteger, UPMealItemSubType ) {<br/>
|
||||
|
||||
<a href="">UPMealItemSubTypeDrink</a> = 1,<br/>
|
||||
|
||||
<a href="">UPMealItemSubTypeFood</a> = 2,<br/>
|
||||
|
||||
};</code>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="section section-methods">
|
||||
<h4 class="method-subtitle">Constants</h4>
|
||||
<dl class="termdef">
|
||||
|
||||
<dt><a name="" title="UPMealItemSubTypeDrink"></a><code>UPMealItemSubTypeDrink</code></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<p>The available sub types of a meal item.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
Declared In <code class="declared-in-ref">UPMealAPI.h</code>.
|
||||
</p>
|
||||
|
||||
</dd>
|
||||
|
||||
<dt><a name="" title="UPMealItemSubTypeFood"></a><code>UPMealItemSubTypeFood</code></dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<p>The available sub types of a meal item.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
Declared In <code class="declared-in-ref">UPMealAPI.h</code>.
|
||||
</p>
|
||||
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="method-subsection declared-in-section">
|
||||
<h4 class="method-subtitle">Declared In</h4>
|
||||
<code class="declared-in-ref">UPMealAPI.h</code><br />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="main-navigation navigation-bottom">
|
||||
<ul>
|
||||
<li><a href="../index.html">Index</a></li>
|
||||
<li><a href="../hierarchy.html">Hierarchy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<script type="text/javascript">
|
||||
function jumpToChange()
|
||||
{
|
||||
window.location.hash = this.options[this.selectedIndex].value;
|
||||
}
|
||||
|
||||
function toggleTOC()
|
||||
{
|
||||
var contents = document.getElementById('contents');
|
||||
var tocContainer = document.getElementById('tocContainer');
|
||||
|
||||
if (this.getAttribute('class') == 'open')
|
||||
{
|
||||
this.setAttribute('class', '');
|
||||
contents.setAttribute('class', '');
|
||||
tocContainer.setAttribute('class', '');
|
||||
|
||||
window.name = "hideTOC";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.setAttribute('class', 'open');
|
||||
contents.setAttribute('class', 'isShowingTOC');
|
||||
tocContainer.setAttribute('class', 'isShowingTOC');
|
||||
|
||||
window.name = "";
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function toggleTOCEntryChildren(e)
|
||||
{
|
||||
e.stopPropagation();
|
||||
var currentClass = this.getAttribute('class');
|
||||
if (currentClass == 'children') {
|
||||
this.setAttribute('class', 'children open');
|
||||
}
|
||||
else if (currentClass == 'children open') {
|
||||
this.setAttribute('class', 'children');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function tocEntryClick(e)
|
||||
{
|
||||
e.stopPropagation();
|
||||
return true;
|
||||
}
|
||||
|
||||
function init()
|
||||
{
|
||||
var selectElement = document.getElementById('jumpTo');
|
||||
selectElement.addEventListener('change', jumpToChange, false);
|
||||
|
||||
var tocButton = document.getElementById('table_of_contents');
|
||||
tocButton.addEventListener('click', toggleTOC, false);
|
||||
|
||||
var taskTreeItem = document.getElementById('task_treeitem');
|
||||
if (taskTreeItem.getElementsByTagName('li').length > 0)
|
||||
{
|
||||
taskTreeItem.setAttribute('class', 'children');
|
||||
taskTreeItem.firstChild.setAttribute('class', 'disclosure');
|
||||
}
|
||||
|
||||
var tocList = document.getElementById('toc');
|
||||
|
||||
var tocEntries = tocList.getElementsByTagName('li');
|
||||
for (var i = 0; i < tocEntries.length; i++) {
|
||||
tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
|
||||
}
|
||||
|
||||
var tocLinks = tocList.getElementsByTagName('a');
|
||||
for (var i = 0; i < tocLinks.length; i++) {
|
||||
tocLinks[i].addEventListener('click', tocEntryClick, false);
|
||||
}
|
||||
|
||||
if (window.name == "hideTOC") {
|
||||
toggleTOC.call(tocButton);
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = init;
|
||||
|
||||
// If showing in Xcode, hide the TOC and Header
|
||||
if (navigator.userAgent.match(/xcode/i)) {
|
||||
document.getElementById("contents").className = "hideInXcode"
|
||||
document.getElementById("tocContainer").className = "hideInXcode"
|
||||
document.getElementById("top_header").className = "hideInXcode"
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -180,7 +180,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -496,7 +496,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -655,7 +655,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -258,7 +258,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
@@ -151,6 +151,8 @@
|
||||
|
||||
<li><a href="Constants/UPMealItemServingType.html">UPMealItemServingType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMealItemSubType.html">UPMealItemSubType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMealSubType.html">UPMealSubType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMoodType.html">UPMoodType</a></li>
|
||||
@@ -186,7 +188,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 115 B |
|
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
@@ -129,6 +129,8 @@
|
||||
|
||||
<li><a href="Constants/UPMealItemServingType.html">UPMealItemServingType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMealItemSubType.html">UPMealItemSubType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMealSubType.html">UPMealSubType</a></li>
|
||||
|
||||
<li><a href="Constants/UPMoodType.html">UPMoodType</a></li>
|
||||
@@ -164,7 +166,7 @@
|
||||
<div id="footer">
|
||||
<hr />
|
||||
<div class="footer-copyright">
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
|
||||
<p><span class="copyright">© 2014 Jawbone. All rights reserved. (Last updated: 2014-06-13)</span><br />
|
||||
|
||||
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 961)</a>.</span></p>
|
||||
|
||||
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,660 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
1F7F026E18EA09FC00F5C39C /* JBBandEventTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F7F026D18EA09FC00F5C39C /* JBBandEventTestViewController.m */; };
|
||||
1FF19C5618D231A400B5FAB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C5518D231A400B5FAB2 /* Foundation.framework */; };
|
||||
1FF19C5818D231A500B5FAB2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C5718D231A500B5FAB2 /* CoreGraphics.framework */; };
|
||||
1FF19C5A18D231A500B5FAB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C5918D231A500B5FAB2 /* UIKit.framework */; };
|
||||
1FF19C6018D231A500B5FAB2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1FF19C5E18D231A500B5FAB2 /* InfoPlist.strings */; };
|
||||
1FF19C6218D231A500B5FAB2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C6118D231A500B5FAB2 /* main.m */; };
|
||||
1FF19C6618D231A500B5FAB2 /* JBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C6518D231A500B5FAB2 /* JBAppDelegate.m */; };
|
||||
1FF19C6918D231A500B5FAB2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1FF19C6718D231A500B5FAB2 /* Main.storyboard */; };
|
||||
1FF19C6E18D231A500B5FAB2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1FF19C6D18D231A500B5FAB2 /* Images.xcassets */; };
|
||||
1FF19C7518D231A500B5FAB2 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C7418D231A500B5FAB2 /* XCTest.framework */; };
|
||||
1FF19C7618D231A500B5FAB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C5518D231A400B5FAB2 /* Foundation.framework */; };
|
||||
1FF19C7718D231A500B5FAB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19C5918D231A500B5FAB2 /* UIKit.framework */; };
|
||||
1FF19C7F18D231A500B5FAB2 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1FF19C7D18D231A500B5FAB2 /* InfoPlist.strings */; };
|
||||
1FF19C8118D231A500B5FAB2 /* APIExplorerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C8018D231A500B5FAB2 /* APIExplorerTests.m */; };
|
||||
1FF19CA318D2320500B5FAB2 /* JBBaseTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C8C18D2320500B5FAB2 /* JBBaseTestViewController.m */; };
|
||||
1FF19CA418D2320500B5FAB2 /* JBBodyEventTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C8E18D2320500B5FAB2 /* JBBodyEventTestViewController.m */; };
|
||||
1FF19CA518D2320500B5FAB2 /* JBCardiacEventTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9018D2320500B5FAB2 /* JBCardiacEventTestViewController.m */; };
|
||||
1FF19CA618D2320500B5FAB2 /* JBGenericEventTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9218D2320500B5FAB2 /* JBGenericEventTestViewController.m */; };
|
||||
1FF19CA718D2320500B5FAB2 /* JBMealTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9418D2320500B5FAB2 /* JBMealTestViewController.m */; };
|
||||
1FF19CA818D2320500B5FAB2 /* JBMoodTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9618D2320500B5FAB2 /* JBMoodTestViewController.m */; };
|
||||
1FF19CA918D2320500B5FAB2 /* JBMoveTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9818D2320500B5FAB2 /* JBMoveTestViewController.m */; };
|
||||
1FF19CAA18D2320500B5FAB2 /* JBResultsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9A18D2320500B5FAB2 /* JBResultsViewController.m */; };
|
||||
1FF19CAB18D2320500B5FAB2 /* JBSleepTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9C18D2320500B5FAB2 /* JBSleepTestViewController.m */; };
|
||||
1FF19CAC18D2320500B5FAB2 /* JBUserTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19C9E18D2320500B5FAB2 /* JBUserTestViewController.m */; };
|
||||
1FF19CAD18D2320500B5FAB2 /* JBWorkoutTestViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19CA018D2320500B5FAB2 /* JBWorkoutTestViewController.m */; };
|
||||
1FF19CAE18D2320500B5FAB2 /* JBLandingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FF19CA218D2320500B5FAB2 /* JBLandingViewController.m */; };
|
||||
1FF19CBB18D2325100B5FAB2 /* libUPPlatformSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FF19CB618D2324500B5FAB2 /* libUPPlatformSDK.a */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
1F7F027218EA09FD00F5C39C /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 1FE2964118D24AD80047F094;
|
||||
remoteInfo = UPPlatform;
|
||||
};
|
||||
1FF19C7818D231A500B5FAB2 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1FF19C4A18D231A400B5FAB2 /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 1FF19C5118D231A400B5FAB2;
|
||||
remoteInfo = APIExplorer;
|
||||
};
|
||||
1FF19CB518D2324500B5FAB2 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = E3E46C0017173670009CCA56;
|
||||
remoteInfo = UPPlatformSDK;
|
||||
};
|
||||
1FF19CB718D2324500B5FAB2 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 48FA5F891768CA7900025723;
|
||||
remoteInfo = "UPPlatformSDK-OSX";
|
||||
};
|
||||
1FF19CB918D2324C00B5FAB2 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = E3E46BFF17173670009CCA56;
|
||||
remoteInfo = UPPlatformSDK;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
1F7F026C18EA09FC00F5C39C /* JBBandEventTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBBandEventTestViewController.h; sourceTree = "<group>"; };
|
||||
1F7F026D18EA09FC00F5C39C /* JBBandEventTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBBandEventTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C5218D231A400B5FAB2 /* APIExplorer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = APIExplorer.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1FF19C5518D231A400B5FAB2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
1FF19C5718D231A500B5FAB2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
||||
1FF19C5918D231A500B5FAB2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
1FF19C5D18D231A500B5FAB2 /* APIExplorer-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "APIExplorer-Info.plist"; sourceTree = "<group>"; };
|
||||
1FF19C5F18D231A500B5FAB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
1FF19C6118D231A500B5FAB2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
1FF19C6318D231A500B5FAB2 /* APIExplorer-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "APIExplorer-Prefix.pch"; sourceTree = "<group>"; };
|
||||
1FF19C6418D231A500B5FAB2 /* JBAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JBAppDelegate.h; sourceTree = "<group>"; };
|
||||
1FF19C6518D231A500B5FAB2 /* JBAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JBAppDelegate.m; sourceTree = "<group>"; };
|
||||
1FF19C6818D231A500B5FAB2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||
1FF19C6D18D231A500B5FAB2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
|
||||
1FF19C7318D231A500B5FAB2 /* APIExplorerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = APIExplorerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1FF19C7418D231A500B5FAB2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
|
||||
1FF19C7C18D231A500B5FAB2 /* APIExplorerTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "APIExplorerTests-Info.plist"; sourceTree = "<group>"; };
|
||||
1FF19C7E18D231A500B5FAB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
1FF19C8018D231A500B5FAB2 /* APIExplorerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = APIExplorerTests.m; sourceTree = "<group>"; };
|
||||
1FF19C8B18D2320500B5FAB2 /* JBBaseTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBBaseTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C8C18D2320500B5FAB2 /* JBBaseTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBBaseTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C8D18D2320500B5FAB2 /* JBBodyEventTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBBodyEventTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C8E18D2320500B5FAB2 /* JBBodyEventTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBBodyEventTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C8F18D2320500B5FAB2 /* JBCardiacEventTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBCardiacEventTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9018D2320500B5FAB2 /* JBCardiacEventTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBCardiacEventTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9118D2320500B5FAB2 /* JBGenericEventTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBGenericEventTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9218D2320500B5FAB2 /* JBGenericEventTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBGenericEventTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9318D2320500B5FAB2 /* JBMealTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBMealTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9418D2320500B5FAB2 /* JBMealTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBMealTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9518D2320500B5FAB2 /* JBMoodTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBMoodTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9618D2320500B5FAB2 /* JBMoodTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBMoodTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9718D2320500B5FAB2 /* JBMoveTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBMoveTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9818D2320500B5FAB2 /* JBMoveTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBMoveTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9918D2320500B5FAB2 /* JBResultsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBResultsViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9A18D2320500B5FAB2 /* JBResultsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBResultsViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9B18D2320500B5FAB2 /* JBSleepTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBSleepTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9C18D2320500B5FAB2 /* JBSleepTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBSleepTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9D18D2320500B5FAB2 /* JBUserTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBUserTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19C9E18D2320500B5FAB2 /* JBUserTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBUserTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19C9F18D2320500B5FAB2 /* JBWorkoutTestViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBWorkoutTestViewController.h; sourceTree = "<group>"; };
|
||||
1FF19CA018D2320500B5FAB2 /* JBWorkoutTestViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBWorkoutTestViewController.m; sourceTree = "<group>"; };
|
||||
1FF19CA118D2320500B5FAB2 /* JBLandingViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JBLandingViewController.h; sourceTree = "<group>"; };
|
||||
1FF19CA218D2320500B5FAB2 /* JBLandingViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JBLandingViewController.m; sourceTree = "<group>"; };
|
||||
1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = UPPlatformSDK.xcodeproj; path = ../../../UPPlatformSDK/UPPlatformSDK.xcodeproj; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
1FF19C4F18D231A400B5FAB2 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19CBB18D2325100B5FAB2 /* libUPPlatformSDK.a in Frameworks */,
|
||||
1FF19C5818D231A500B5FAB2 /* CoreGraphics.framework in Frameworks */,
|
||||
1FF19C5A18D231A500B5FAB2 /* UIKit.framework in Frameworks */,
|
||||
1FF19C5618D231A400B5FAB2 /* Foundation.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1FF19C7018D231A500B5FAB2 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19C7518D231A500B5FAB2 /* XCTest.framework in Frameworks */,
|
||||
1FF19C7718D231A500B5FAB2 /* UIKit.framework in Frameworks */,
|
||||
1FF19C7618D231A500B5FAB2 /* Foundation.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
1FF19C4918D231A400B5FAB2 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C5B18D231A500B5FAB2 /* APIExplorer */,
|
||||
1FF19C7A18D231A500B5FAB2 /* APIExplorerTests */,
|
||||
1FF19C5418D231A400B5FAB2 /* Frameworks */,
|
||||
1FF19C5318D231A400B5FAB2 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C5318D231A400B5FAB2 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C5218D231A400B5FAB2 /* APIExplorer.app */,
|
||||
1FF19C7318D231A500B5FAB2 /* APIExplorerTests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C5418D231A400B5FAB2 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C5518D231A400B5FAB2 /* Foundation.framework */,
|
||||
1FF19C5718D231A500B5FAB2 /* CoreGraphics.framework */,
|
||||
1FF19C5918D231A500B5FAB2 /* UIKit.framework */,
|
||||
1FF19C7418D231A500B5FAB2 /* XCTest.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C5B18D231A500B5FAB2 /* APIExplorer */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19CAF18D2324000B5FAB2 /* SDK */,
|
||||
1FF19C8A18D2320500B5FAB2 /* Classes */,
|
||||
1FF19CA118D2320500B5FAB2 /* JBLandingViewController.h */,
|
||||
1FF19CA218D2320500B5FAB2 /* JBLandingViewController.m */,
|
||||
1FF19C6418D231A500B5FAB2 /* JBAppDelegate.h */,
|
||||
1FF19C6518D231A500B5FAB2 /* JBAppDelegate.m */,
|
||||
1FF19C6718D231A500B5FAB2 /* Main.storyboard */,
|
||||
1FF19C6D18D231A500B5FAB2 /* Images.xcassets */,
|
||||
1FF19C5C18D231A500B5FAB2 /* Supporting Files */,
|
||||
);
|
||||
path = APIExplorer;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C5C18D231A500B5FAB2 /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C5D18D231A500B5FAB2 /* APIExplorer-Info.plist */,
|
||||
1FF19C5E18D231A500B5FAB2 /* InfoPlist.strings */,
|
||||
1FF19C6118D231A500B5FAB2 /* main.m */,
|
||||
1FF19C6318D231A500B5FAB2 /* APIExplorer-Prefix.pch */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C7A18D231A500B5FAB2 /* APIExplorerTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C8018D231A500B5FAB2 /* APIExplorerTests.m */,
|
||||
1FF19C7B18D231A500B5FAB2 /* Supporting Files */,
|
||||
);
|
||||
path = APIExplorerTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C7B18D231A500B5FAB2 /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C7C18D231A500B5FAB2 /* APIExplorerTests-Info.plist */,
|
||||
1FF19C7D18D231A500B5FAB2 /* InfoPlist.strings */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C8A18D2320500B5FAB2 /* Classes */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19C8B18D2320500B5FAB2 /* JBBaseTestViewController.h */,
|
||||
1FF19C8C18D2320500B5FAB2 /* JBBaseTestViewController.m */,
|
||||
1FF19C8D18D2320500B5FAB2 /* JBBodyEventTestViewController.h */,
|
||||
1FF19C8E18D2320500B5FAB2 /* JBBodyEventTestViewController.m */,
|
||||
1FF19C8F18D2320500B5FAB2 /* JBCardiacEventTestViewController.h */,
|
||||
1FF19C9018D2320500B5FAB2 /* JBCardiacEventTestViewController.m */,
|
||||
1FF19C9118D2320500B5FAB2 /* JBGenericEventTestViewController.h */,
|
||||
1FF19C9218D2320500B5FAB2 /* JBGenericEventTestViewController.m */,
|
||||
1FF19C9318D2320500B5FAB2 /* JBMealTestViewController.h */,
|
||||
1FF19C9418D2320500B5FAB2 /* JBMealTestViewController.m */,
|
||||
1FF19C9518D2320500B5FAB2 /* JBMoodTestViewController.h */,
|
||||
1FF19C9618D2320500B5FAB2 /* JBMoodTestViewController.m */,
|
||||
1FF19C9718D2320500B5FAB2 /* JBMoveTestViewController.h */,
|
||||
1FF19C9818D2320500B5FAB2 /* JBMoveTestViewController.m */,
|
||||
1FF19C9918D2320500B5FAB2 /* JBResultsViewController.h */,
|
||||
1FF19C9A18D2320500B5FAB2 /* JBResultsViewController.m */,
|
||||
1FF19C9B18D2320500B5FAB2 /* JBSleepTestViewController.h */,
|
||||
1FF19C9C18D2320500B5FAB2 /* JBSleepTestViewController.m */,
|
||||
1FF19C9D18D2320500B5FAB2 /* JBUserTestViewController.h */,
|
||||
1FF19C9E18D2320500B5FAB2 /* JBUserTestViewController.m */,
|
||||
1FF19C9F18D2320500B5FAB2 /* JBWorkoutTestViewController.h */,
|
||||
1FF19CA018D2320500B5FAB2 /* JBWorkoutTestViewController.m */,
|
||||
1F7F026C18EA09FC00F5C39C /* JBBandEventTestViewController.h */,
|
||||
1F7F026D18EA09FC00F5C39C /* JBBandEventTestViewController.m */,
|
||||
);
|
||||
path = Classes;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19CAF18D2324000B5FAB2 /* SDK */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */,
|
||||
);
|
||||
name = SDK;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19CB118D2324500B5FAB2 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1FF19CB618D2324500B5FAB2 /* libUPPlatformSDK.a */,
|
||||
1FF19CB818D2324500B5FAB2 /* libUPPlatformSDK-OSX.a */,
|
||||
1F7F027318EA09FD00F5C39C /* libUPPlatform.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
1FF19C5118D231A400B5FAB2 /* APIExplorer */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 1FF19C8418D231A500B5FAB2 /* Build configuration list for PBXNativeTarget "APIExplorer" */;
|
||||
buildPhases = (
|
||||
1FF19C4E18D231A400B5FAB2 /* Sources */,
|
||||
1FF19C4F18D231A400B5FAB2 /* Frameworks */,
|
||||
1FF19C5018D231A400B5FAB2 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
1FF19CBA18D2324C00B5FAB2 /* PBXTargetDependency */,
|
||||
);
|
||||
name = APIExplorer;
|
||||
productName = APIExplorer;
|
||||
productReference = 1FF19C5218D231A400B5FAB2 /* APIExplorer.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
1FF19C7218D231A500B5FAB2 /* APIExplorerTests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 1FF19C8718D231A500B5FAB2 /* Build configuration list for PBXNativeTarget "APIExplorerTests" */;
|
||||
buildPhases = (
|
||||
1FF19C6F18D231A500B5FAB2 /* Sources */,
|
||||
1FF19C7018D231A500B5FAB2 /* Frameworks */,
|
||||
1FF19C7118D231A500B5FAB2 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
1FF19C7918D231A500B5FAB2 /* PBXTargetDependency */,
|
||||
);
|
||||
name = APIExplorerTests;
|
||||
productName = APIExplorerTests;
|
||||
productReference = 1FF19C7318D231A500B5FAB2 /* APIExplorerTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
1FF19C4A18D231A400B5FAB2 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
CLASSPREFIX = JB;
|
||||
LastUpgradeCheck = 0510;
|
||||
ORGANIZATIONNAME = Jawbone;
|
||||
TargetAttributes = {
|
||||
1FF19C7218D231A500B5FAB2 = {
|
||||
TestTargetID = 1FF19C5118D231A400B5FAB2;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 1FF19C4D18D231A400B5FAB2 /* Build configuration list for PBXProject "APIExplorer" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 1FF19C4918D231A400B5FAB2;
|
||||
productRefGroup = 1FF19C5318D231A400B5FAB2 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectReferences = (
|
||||
{
|
||||
ProductGroup = 1FF19CB118D2324500B5FAB2 /* Products */;
|
||||
ProjectRef = 1FF19CB018D2324500B5FAB2 /* UPPlatformSDK.xcodeproj */;
|
||||
},
|
||||
);
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
1FF19C5118D231A400B5FAB2 /* APIExplorer */,
|
||||
1FF19C7218D231A500B5FAB2 /* APIExplorerTests */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXReferenceProxy section */
|
||||
1F7F027318EA09FD00F5C39C /* libUPPlatform.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libUPPlatform.a;
|
||||
remoteRef = 1F7F027218EA09FD00F5C39C /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
1FF19CB618D2324500B5FAB2 /* libUPPlatformSDK.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libUPPlatformSDK.a;
|
||||
remoteRef = 1FF19CB518D2324500B5FAB2 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
1FF19CB818D2324500B5FAB2 /* libUPPlatformSDK-OSX.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libUPPlatformSDK-OSX.a";
|
||||
remoteRef = 1FF19CB718D2324500B5FAB2 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
/* End PBXReferenceProxy section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
1FF19C5018D231A400B5FAB2 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19C6E18D231A500B5FAB2 /* Images.xcassets in Resources */,
|
||||
1FF19C6018D231A500B5FAB2 /* InfoPlist.strings in Resources */,
|
||||
1FF19C6918D231A500B5FAB2 /* Main.storyboard in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1FF19C7118D231A500B5FAB2 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19C7F18D231A500B5FAB2 /* InfoPlist.strings in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
1FF19C4E18D231A400B5FAB2 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19CA718D2320500B5FAB2 /* JBMealTestViewController.m in Sources */,
|
||||
1FF19C6618D231A500B5FAB2 /* JBAppDelegate.m in Sources */,
|
||||
1FF19CA418D2320500B5FAB2 /* JBBodyEventTestViewController.m in Sources */,
|
||||
1FF19CAA18D2320500B5FAB2 /* JBResultsViewController.m in Sources */,
|
||||
1F7F026E18EA09FC00F5C39C /* JBBandEventTestViewController.m in Sources */,
|
||||
1FF19CAB18D2320500B5FAB2 /* JBSleepTestViewController.m in Sources */,
|
||||
1FF19C6218D231A500B5FAB2 /* main.m in Sources */,
|
||||
1FF19CAE18D2320500B5FAB2 /* JBLandingViewController.m in Sources */,
|
||||
1FF19CAD18D2320500B5FAB2 /* JBWorkoutTestViewController.m in Sources */,
|
||||
1FF19CA518D2320500B5FAB2 /* JBCardiacEventTestViewController.m in Sources */,
|
||||
1FF19CA318D2320500B5FAB2 /* JBBaseTestViewController.m in Sources */,
|
||||
1FF19CA918D2320500B5FAB2 /* JBMoveTestViewController.m in Sources */,
|
||||
1FF19CA618D2320500B5FAB2 /* JBGenericEventTestViewController.m in Sources */,
|
||||
1FF19CA818D2320500B5FAB2 /* JBMoodTestViewController.m in Sources */,
|
||||
1FF19CAC18D2320500B5FAB2 /* JBUserTestViewController.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
1FF19C6F18D231A500B5FAB2 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
1FF19C8118D231A500B5FAB2 /* APIExplorerTests.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
1FF19C7918D231A500B5FAB2 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = 1FF19C5118D231A400B5FAB2 /* APIExplorer */;
|
||||
targetProxy = 1FF19C7818D231A500B5FAB2 /* PBXContainerItemProxy */;
|
||||
};
|
||||
1FF19CBA18D2324C00B5FAB2 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = UPPlatformSDK;
|
||||
targetProxy = 1FF19CB918D2324C00B5FAB2 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
1FF19C5E18D231A500B5FAB2 /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
1FF19C5F18D231A500B5FAB2 /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C6718D231A500B5FAB2 /* Main.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
1FF19C6818D231A500B5FAB2 /* Base */,
|
||||
);
|
||||
name = Main.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1FF19C7D18D231A500B5FAB2 /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
1FF19C7E18D231A500B5FAB2 /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
1FF19C8218D231A500B5FAB2 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1FF19C8318D231A500B5FAB2 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
|
||||
SDKROOT = iphoneos;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
1FF19C8518D231A500B5FAB2 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "APIExplorer/APIExplorer-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
||||
../../UPPlatformSDK/UPPlatformSDK,
|
||||
);
|
||||
INFOPLIST_FILE = "APIExplorer/APIExplorer-Info.plist";
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"-all_load",
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1FF19C8618D231A500B5FAB2 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "APIExplorer/APIExplorer-Prefix.pch";
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
||||
../../UPPlatformSDK/UPPlatformSDK,
|
||||
);
|
||||
INFOPLIST_FILE = "APIExplorer/APIExplorer-Info.plist";
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"-all_load",
|
||||
);
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
1FF19C8818D231A500B5FAB2 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/APIExplorer.app/APIExplorer";
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||
"$(inherited)",
|
||||
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "APIExplorer/APIExplorer-Prefix.pch";
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
INFOPLIST_FILE = "APIExplorerTests/APIExplorerTests-Info.plist";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||
WRAPPER_EXTENSION = xctest;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
1FF19C8918D231A500B5FAB2 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/APIExplorer.app/APIExplorer";
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||
"$(inherited)",
|
||||
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "APIExplorer/APIExplorer-Prefix.pch";
|
||||
INFOPLIST_FILE = "APIExplorerTests/APIExplorerTests-Info.plist";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||
WRAPPER_EXTENSION = xctest;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
1FF19C4D18D231A400B5FAB2 /* Build configuration list for PBXProject "APIExplorer" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1FF19C8218D231A500B5FAB2 /* Debug */,
|
||||
1FF19C8318D231A500B5FAB2 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
1FF19C8418D231A500B5FAB2 /* Build configuration list for PBXNativeTarget "APIExplorer" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1FF19C8518D231A500B5FAB2 /* Debug */,
|
||||
1FF19C8618D231A500B5FAB2 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
1FF19C8718D231A500B5FAB2 /* Build configuration list for PBXNativeTarget "APIExplorerTests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
1FF19C8818D231A500B5FAB2 /* Debug */,
|
||||
1FF19C8918D231A500B5FAB2 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 1FF19C4A18D231A400B5FAB2 /* Project object */;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:APIExplorer.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.jawbone.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
<string>Main</string>
|
||||
<key>UIRequiredDeviceCapabilities</key>
|
||||
<array>
|
||||
<string>armv7</string>
|
||||
</array>
|
||||
<key>UISupportedInterfaceOrientations</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// Prefix header
|
||||
//
|
||||
// The contents of this file are implicitly included at the beginning of every source file.
|
||||
//
|
||||
|
||||
#import <Availability.h>
|
||||
|
||||
#ifndef __IPHONE_5_0
|
||||
#warning "This project uses features only available in iOS SDK 5.0 and later."
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBBandEventTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 3/31/14.
|
||||
// Copyright (c) 2014 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBBandEventTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,42 @@
|
||||
//
|
||||
// JBBandEventTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 3/31/14.
|
||||
// Copyright (c) 2014 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBandEventTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBBandEventTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBBandEventTestViewController
|
||||
|
||||
- (void)getBandEvents
|
||||
{
|
||||
NSDate *endDate = [NSDate date];
|
||||
NSDate *startDate = [NSDate dateWithTimeIntervalSince1970:[endDate timeIntervalSince1970] - (24 * 60 * 60 * 100)];
|
||||
|
||||
[UPBandEventAPI getBandEventsFromStartDate:startDate toEndDate:endDate completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getBandEvents];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// JBBaseTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface JBBaseTestViewController : UITableViewController
|
||||
|
||||
- (void)showResults:(id)resultObject;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// JBBaseTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
#import "JBResultsViewController.h"
|
||||
|
||||
@interface JBBaseTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBBaseTestViewController
|
||||
|
||||
- (void)showResults:(id)resultObject
|
||||
{
|
||||
JBResultsViewController *resultVC = [self.storyboard instantiateViewControllerWithIdentifier:@"Results"];
|
||||
resultVC.results = [NSString stringWithFormat:@"%@", resultObject];
|
||||
[self.navigationController pushViewController:resultVC animated:YES];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBBodyEventTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBBodyEventTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,83 @@
|
||||
//
|
||||
// JBBodyEventTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBodyEventTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBBodyEventTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBBodyEventTestViewController
|
||||
|
||||
- (void)postBodyEvent
|
||||
{
|
||||
UPBodyEvent *bodyEvent = [UPBodyEvent eventWithTitle:@"160 lbs." weight:@(72.5748) bodyFat:@(20) leanMass:@(20) bmi:@(22) note:@"Weigh-in created by My App." image:nil];
|
||||
[UPBodyEventAPI postBodyEvent:bodyEvent completion:^(UPBodyEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getBodyEvents
|
||||
{
|
||||
[UPBodyEventAPI getBodyEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:events];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshBodyEvent
|
||||
{
|
||||
[UPBodyEventAPI getBodyEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPBodyEventAPI refreshBodyEvent:events[0] completion:^(UPBodyEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteBodyEvent
|
||||
{
|
||||
[UPBodyEventAPI getBodyEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPBodyEventAPI deleteBodyEvent:events[0] completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self postBodyEvent];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self getBodyEvents];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self refreshBodyEvent];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self deleteBodyEvent];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBCardiacEventTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBCardiacEventTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,83 @@
|
||||
//
|
||||
// JBCardiacEventTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBCardiacEventTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBCardiacEventTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBCardiacEventTestViewController
|
||||
|
||||
- (void)postCardiacEvent
|
||||
{
|
||||
UPCardiacEvent *newEvent = [UPCardiacEvent eventWithTitle:@"Heart Stuff" heartRate:@(120) systolicPressure:@(50) diastolicPressure:@(70) note:@"Just testing" imageURL:@"http://eofdreams.com/data_images/dreams/heart/heart-03.jpg"];
|
||||
[UPCardiacEventAPI postCardiacEvent:newEvent completion:^(UPCardiacEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getCardiacEvents
|
||||
{
|
||||
[UPCardiacEventAPI getCardiacEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:events];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshCardiacEvent
|
||||
{
|
||||
[UPCardiacEventAPI getCardiacEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPCardiacEventAPI refreshCardiacEvent:events[0] completion:^(UPCardiacEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteCardiacEvent
|
||||
{
|
||||
[UPCardiacEventAPI getCardiacEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPCardiacEventAPI deleteCardiacEvent:events[0] completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self postCardiacEvent];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self getCardiacEvents];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self refreshCardiacEvent];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self deleteCardiacEvent];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBGenericEventTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBGenericEventTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,83 @@
|
||||
//
|
||||
// JBGenericEventTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBGenericEventTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBGenericEventTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBGenericEventTestViewController
|
||||
|
||||
- (void)postGenericEvent
|
||||
{
|
||||
UPGenericEvent *newEvent = [UPGenericEvent eventWithTitle:@"Generic Event" verb:@"tested the API" attributes:nil note:@"Here's a note." image:nil];
|
||||
[UPGenericEventAPI postGenericEvent:newEvent completion:^(UPGenericEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getGenericEvents
|
||||
{
|
||||
[UPGenericEventAPI getGenericEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:events];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshEvent
|
||||
{
|
||||
[UPGenericEventAPI getGenericEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPGenericEventAPI refreshGenericEvent:events[0] completion:^(UPGenericEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:event];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteEvent
|
||||
{
|
||||
[UPGenericEventAPI getGenericEventsWithCompletion:^(NSArray *events, UPURLResponse *response, NSError *error) {
|
||||
if (events.count > 0)
|
||||
{
|
||||
[UPGenericEventAPI deleteGenericEvent:events[0] completion:^(UPGenericEvent *event, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self postGenericEvent];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self getGenericEvents];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self refreshEvent];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self deleteEvent];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBMealTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBMealTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,92 @@
|
||||
//
|
||||
// JBMealTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBMealTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBMealTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBMealTestViewController
|
||||
|
||||
- (void)getMeals
|
||||
{
|
||||
[UPMealAPI getMealsWithLimit:5 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)postMeal
|
||||
{
|
||||
UPMealNutritionInfo *info = [[UPMealNutritionInfo alloc] init];
|
||||
info.calories = @(130);
|
||||
info.sugar = @(30);
|
||||
info.carbohydrates = @(10);
|
||||
info.calcium = @(80);
|
||||
|
||||
UPMealItem *item = [UPMealItem mealItemWithName:@"Granola Bar" description:@"A fancy granola bar." amount:@(1) measurementUnits:@"bar" servingType:UPMealItemServingTypePlate foodType:UPMealItemFoodTypeBrand nutritionInfo:info];
|
||||
UPMeal *meal = [UPMeal mealWithTitle:@"Delicious Granola Bar" items:@[ item ]];
|
||||
meal.photoURL = @"http://studylogic.net/wp-content/uploads/2013/01/burger.jpg";
|
||||
|
||||
[UPMealAPI postMeal:meal completion:^(UPMeal *meal, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:meal];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getMealDetails
|
||||
{
|
||||
[UPMealAPI getMealsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPMealAPI getMealDetails:results[0] completion:^(UPMeal *meal, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:meal];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteMeal
|
||||
{
|
||||
[UPMealAPI getMealsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPMealAPI deleteMeal:results[0] completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getMeals];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self postMeal];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self getMealDetails];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self deleteMeal];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBMoodTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBMoodTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,83 @@
|
||||
//
|
||||
// JBMoodTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBMoodTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBMoodTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBMoodTestViewController
|
||||
|
||||
- (void)postMood
|
||||
{
|
||||
UPMood *newMood = [UPMood moodWithType:UPMoodTypePumpedUp title:@"I'm pumped!"];
|
||||
[UPMoodAPI postMood:newMood completion:^(UPMood *mood, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:mood];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getMood
|
||||
{
|
||||
[UPMoodAPI getCurrentMoodWithCompletion:^(UPMood *mood, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:mood];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteMood
|
||||
{
|
||||
[UPMoodAPI getCurrentMoodWithCompletion:^(UPMood *mood, UPURLResponse *response, NSError *error) {
|
||||
if (mood != nil)
|
||||
{
|
||||
[UPMoodAPI deleteMood:mood completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshMood
|
||||
{
|
||||
[UPMoodAPI getCurrentMoodWithCompletion:^(UPMood *mood, UPURLResponse *response, NSError *error) {
|
||||
if (mood != nil)
|
||||
{
|
||||
[UPMoodAPI refreshMood:mood completion:^(UPMood *mood, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:mood];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self postMood];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self getMood];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self deleteMood];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self refreshMood];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBMoveTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBMoveTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,97 @@
|
||||
//
|
||||
// JBMoveTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/30/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBMoveTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBMoveTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBMoveTestViewController
|
||||
|
||||
- (void)getMoves
|
||||
{
|
||||
NSDate *endDate = [NSDate date];
|
||||
NSDate *startDate = [NSDate dateWithTimeIntervalSince1970:[endDate timeIntervalSince1970] - (24 * 60 * 60 * 14)];
|
||||
[UPMoveAPI getMovesFromStartDate:startDate toEndDate:endDate completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshMove
|
||||
{
|
||||
[UPMoveAPI getMovesWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPMoveAPI refreshMove:results[0] completion:^(UPMove *move, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:move];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getMoveGraphImage
|
||||
{
|
||||
[UPMoveAPI getMovesWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPMove *move = results[0];
|
||||
|
||||
[UPMoveAPI getMoveGraphImage:move completion:^(UIImage *image) {
|
||||
UIViewController *blank = [[UIViewController alloc] init];
|
||||
[self.navigationController pushViewController:blank animated:YES];
|
||||
|
||||
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
|
||||
[blank.view addSubview:imageView];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getMoveTicks
|
||||
{
|
||||
[UPMoveAPI getMovesWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPMove *move = results[0];
|
||||
|
||||
[UPMoveAPI getMoveTicks:move completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getMoves];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self refreshMove];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self getMoveGraphImage];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self getMoveTicks];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// JBResultsViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface JBResultsViewController : UIViewController
|
||||
|
||||
@property (nonatomic, strong) NSString *results;
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// JBResultsViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBResultsViewController.h"
|
||||
|
||||
@interface JBResultsViewController ()
|
||||
|
||||
@property (nonatomic, weak) IBOutlet UITextView *textView;
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBResultsViewController
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
self.textView.text = self.results;
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBSleepTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBSleepTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,126 @@
|
||||
//
|
||||
// JBSleepTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBSleepTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBSleepTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBSleepTestViewController
|
||||
|
||||
- (void)getSleeps
|
||||
{
|
||||
[UPSleepAPI getSleepsWithLimit:14 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)postSleep
|
||||
{
|
||||
NSDate *start = [NSDate dateWithTimeIntervalSince1970:[[NSDate date] timeIntervalSince1970] - (60 * 90)];
|
||||
NSDate *end = [NSDate date];
|
||||
|
||||
UPSleep *sleep = [UPSleep sleepWithStartTime:start endTime:end];
|
||||
[UPSleepAPI postSleep:sleep completion:^(UPSleep *sleep, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:sleep];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshSleep
|
||||
{
|
||||
[UPSleepAPI getSleepsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPSleepAPI refreshSleep:results[0] completion:^(UPSleep *sleep, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:sleep];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteSleep
|
||||
{
|
||||
[UPSleepAPI getSleepsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPSleepAPI deleteSleep:results[0] completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getSleepGraphImage
|
||||
{
|
||||
[UPSleepAPI getSleepsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPSleep *sleep = results[0];
|
||||
|
||||
[UPSleepAPI getSleepGraphImage:sleep completion:^(UIImage *image) {
|
||||
UIViewController *blank = [[UIViewController alloc] init];
|
||||
[self.navigationController pushViewController:blank animated:YES];
|
||||
|
||||
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
|
||||
[blank.view addSubview:imageView];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getSleepTicks
|
||||
{
|
||||
[UPSleepAPI getSleepsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPSleep *sleep = results[0];
|
||||
|
||||
[UPSleepAPI getSleepTicks:sleep completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getSleeps];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self postSleep];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self refreshSleep];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self deleteSleep];
|
||||
break;
|
||||
|
||||
case 4:
|
||||
[self getSleepGraphImage];
|
||||
break;
|
||||
|
||||
case 5:
|
||||
[self getSleepTicks];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// JBAPIExplorerViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBUserTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,109 @@
|
||||
//
|
||||
// JBAPIExplorerViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/29/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBUserTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBUserTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBUserTestViewController
|
||||
|
||||
#pragma mark - User
|
||||
|
||||
- (void)getUserInfo
|
||||
{
|
||||
[UPUserAPI getCurrentUserWithCompletion:^(UPUser *user, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:user];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getFriends
|
||||
{
|
||||
[UPUserAPI getFriendsWithCompletion:^(NSArray *friends, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:friends];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getTrends
|
||||
{
|
||||
[UPUserAPI getTrendsWithEndDate:nil rangeType:UPUserTrendsRangeTypeDays rangeDuration:14 bucketSize:UPUserTrendsBucketSizeDays completion:^(NSArray *trends, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:trends];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getGoals
|
||||
{
|
||||
[UPUserAPI getUserGoalsWithCompletion:^(UPUserGoals *goals, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:goals];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getSettings
|
||||
{
|
||||
[UPUserAPI getUserSharingSettingsWithCompletion:^(UPUserSharingSettings *sharingSettings, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:sharingSettings];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshToken
|
||||
{
|
||||
NSString *clientID = @"3ZYR1YjGd3Q";
|
||||
NSString *clientSecret = @"4dd5b10b3a3a16dbf3082c86d5faff09e11a682b";
|
||||
|
||||
[[UPPlatform sharedPlatform] refreshAccessTokenWithClientID:clientID clientSecret:clientSecret completion:^(UPSession *session, NSError *error) {
|
||||
[self showResults:session];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)logout
|
||||
{
|
||||
[[UPPlatform sharedPlatform] endCurrentSession];
|
||||
[self.navigationController popToRootViewControllerAnimated:YES];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getUserInfo];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self getFriends];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self getTrends];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self getGoals];
|
||||
break;
|
||||
|
||||
case 4:
|
||||
[self getSettings];
|
||||
break;
|
||||
|
||||
case 5:
|
||||
[self refreshToken];
|
||||
break;
|
||||
|
||||
case 6:
|
||||
[self logout];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// JBWorkoutTestViewController.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBBaseTestViewController.h"
|
||||
|
||||
@interface JBWorkoutTestViewController : JBBaseTestViewController
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,148 @@
|
||||
//
|
||||
// JBWorkoutTestViewController.m
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 5/31/13.
|
||||
// Copyright (c) 2013 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JBWorkoutTestViewController.h"
|
||||
|
||||
#import "UP.h"
|
||||
|
||||
@interface JBWorkoutTestViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation JBWorkoutTestViewController
|
||||
|
||||
- (void)getWorkouts
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:14 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)postWorkout
|
||||
{
|
||||
NSDate *start = [NSDate dateWithTimeIntervalSince1970:[[NSDate date] timeIntervalSince1970] - (60 * 30)];
|
||||
NSDate *end = [NSDate date];
|
||||
|
||||
UPWorkout *workout = [UPWorkout workoutWithType:UPWorkoutTypeRun startTime:start endTime:end intensity:UPWorkoutIntensityIntermediate caloriesBurned:@(250)];
|
||||
workout.distance = @(7);
|
||||
workout.imageURL = @"http://jaredsurnamer.files.wordpress.com/2011/11/116223-magic-marker-icon-sports-hobbies-people-man-runner.png";
|
||||
|
||||
[UPWorkoutAPI postWorkout:workout completion:^(UPWorkout *workout, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:workout];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)updateWorkout
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPWorkout *workout = results[0];
|
||||
workout.totalCalories = @(900);
|
||||
|
||||
[UPBaseEventAPI updateEvent:workout completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:result];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)refreshWorkout
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPWorkoutAPI refreshWorkout:results[0] completion:^(UPWorkout *workout, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:workout];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)deleteWorkout
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
[UPWorkoutAPI deleteWorkout:results[0] completion:^(id result, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:response.metadata];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getWorkoutGraphImage
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPWorkout *workout = results[0];
|
||||
|
||||
[UPWorkoutAPI getWorkoutGraphImage:workout completion:^(UIImage *image) {
|
||||
UIViewController *blank = [[UIViewController alloc] init];
|
||||
[self.navigationController pushViewController:blank animated:YES];
|
||||
|
||||
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
|
||||
[blank.view addSubview:imageView];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)getWorkoutTicks
|
||||
{
|
||||
[UPWorkoutAPI getWorkoutsWithLimit:1 completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
if (results.count > 0)
|
||||
{
|
||||
UPWorkout *workout = results[0];
|
||||
|
||||
[UPWorkoutAPI getWorkoutTicks:workout completion:^(NSArray *results, UPURLResponse *response, NSError *error) {
|
||||
[self showResults:results];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
switch (indexPath.row)
|
||||
{
|
||||
case 0:
|
||||
[self getWorkouts];
|
||||
break;
|
||||
|
||||
case 1:
|
||||
[self postWorkout];
|
||||
break;
|
||||
|
||||
case 2:
|
||||
[self updateWorkout];
|
||||
break;
|
||||
|
||||
case 3:
|
||||
[self refreshWorkout];
|
||||
break;
|
||||
|
||||
case 4:
|
||||
[self deleteWorkout];
|
||||
break;
|
||||
|
||||
case 5:
|
||||
[self getWorkoutGraphImage];
|
||||
break;
|
||||
|
||||
case 6:
|
||||
[self getWorkoutTicks];
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "29x29",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "40x40",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "iphone",
|
||||
"size" : "60x60",
|
||||
"scale" : "2x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"orientation" : "portrait",
|
||||
"idiom" : "iphone",
|
||||
"extent" : "full-screen",
|
||||
"minimum-system-version" : "7.0",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"orientation" : "portrait",
|
||||
"idiom" : "iphone",
|
||||
"subtype" : "retina4",
|
||||
"extent" : "full-screen",
|
||||
"minimum-system-version" : "7.0",
|
||||
"scale" : "2x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// JBAppDelegate.h
|
||||
// APIExplorer
|
||||
//
|
||||
// Created by Andy Roth on 3/13/14.
|
||||
// Copyright (c) 2014 Jawbone. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface JBAppDelegate : UIResponder <UIApplicationDelegate>
|
||||
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
@end
|
||||