124 Commits

Author SHA1 Message Date
Andrew Marin 80ba32587b Update UPPlatform project and framework
* Fix ambiguity with 'delegate' property of UPAuthViewController so it does not clash with UINavigationController's 'delegate'

* Update project settings to Xcode recommendations

* Generate updated Framework
2016-02-24 17:12:49 -08:00
andrew-marin 14152201e1 Merge pull request #38 from hlung/master
Fix -dismissViewControllerAnimated:
2015-12-15 12:35:15 -08:00
Hlung 66011533ab Fix -dismissViewControllerAnimated: should not be called on self.rootViewController 2015-12-11 18:42:37 +07:00
Andrew Marin 4a944b772e - Add sleepDuration and eatUnsaturatedFat properties to UPTrend
- Format fix for method signatures
- Update UPPlatform.framework
2015-05-07 11:53:30 -07:00
andrew-marin 12c328cfc6 Merge pull request #26 from xinsight/add-viewcontroller-param
add presenting view controller parameter
2015-04-30 17:23:33 -07:00
andrew-marin 0537858c47 Merge pull request #28 from xinsight/fix-auth-navbar-ios7
use barTintColor if available
2015-04-30 17:12:43 -07:00
andrew-marin 11d34fb41f Merge pull request #27 from xinsight/fix-no-network
avoid exception: skip parse of nil data
2015-04-30 17:09:05 -07:00
Jay Moore 38f852adea use barTintColor if available 2014-09-10 15:47:29 -04:00
Jay Moore 5bc70dd48f avoid exception: skip parse of nil data 2014-09-10 15:00:28 -04:00
Jay Moore 459ea6d7a6 add presenting view controller parameter 2014-09-10 08:18:50 -04:00
rothacr d28f0ddfdd Update podspec 2014-06-13 15:56:31 -07:00
rothacr 221c8e51d1 Rebuild framework and docs 2014-06-13 15:53:21 -07:00
rothacr ba75a19029 Fix #19: Get logged in user when starting new sessions 2014-06-13 15:52:49 -07:00
rothacr 6adefd8d4a Add latest podspec 2014-05-20 09:59:44 -07:00
rothacr fff87ce621 Fix framework build target 2014-05-19 14:06:48 -07:00
rothacr f8d1f305d5 Add subtype param to meal items 2014-05-19 13:55:03 -07:00
rothacr 2e0121df45 Fix #17: Add logout method for verification in api explorer 2014-05-12 10:07:31 -07:00
rothacr 78c827a982 Fix #16: Properly release auth view controller when signed in 2014-05-12 10:06:57 -07:00
rothacr 02eaa1a616 Use PNG representation for images instead of TIFF 2014-05-05 17:41:06 -07:00
Andy Roth a2d0c3145e Fix broken support for OS X 2014-05-05 15:16:46 -07:00
Andy Roth d804bbdaaf Update framework and docs 2014-04-25 09:28:15 -07:00
Andy Roth 8b8c4fd95a Add meal subType property 2014-04-25 09:27:29 -07:00
Andy Roth 8c75a393ee Fix #14 : Prevent multiple hide calls to the auth view controller 2014-04-25 09:22:17 -07:00
Andy Roth 6ef5e1a0c2 Add refresh token method 2014-04-11 14:15:59 -07:00
Andy Roth 788844edd6 Update framework and documentation 2014-04-01 10:21:52 -07:00
Andy Roth 43e7a6ed97 Merge branch 'v1.1' 2014-04-01 10:20:50 -07:00
Andy Roth 9021ea506e Remove session assert in URL request 2014-03-31 16:35:59 -07:00
Andy Roth 0ed2dca144 Update framework and documentation 2014-03-31 14:52:18 -07:00
Andy Roth 789367553b Add sharing settings API 2014-03-31 14:49:17 -07:00
Andy Roth 16be761641 Replace snapshot API with new ticks API 2014-03-31 14:37:02 -07:00
Andy Roth 4683231ef4 Update project settings 2014-03-31 14:12:02 -07:00
Andy Roth 742f421fec Add goals endpoint 2014-03-31 14:09:13 -07:00
Andy Roth b9b417ff18 Add more data to user object 2014-03-31 13:53:08 -07:00
Andy Roth 420cd06f88 Add band event endpoint 2014-03-31 13:49:51 -07:00
Andy Roth 4ae30efc6d Add versioning support in preparation for 1.1 2014-03-31 13:15:35 -07:00
Andy Roth 3d79eae4d8 Add documentation link. 2014-03-31 11:28:07 -07:00
Andy Roth 3cd4186f2a Update documentation, replace deep sleep with sound sleep. 2014-03-31 10:54:46 -07:00
Andy Roth d35053e8b6 Add documentation for core classes 2014-03-28 15:27:02 -07:00
Andy Roth 228a385d13 Add appledoc build phase for html documentation 2014-03-28 14:37:40 -07:00
Andy Roth 87e86edef7 Clear out keychain api token on logout 2014-03-28 13:56:30 -07:00
Andy Roth e9eebd8da7 Update framework 2014-03-28 13:53:11 -07:00
Andy Roth 4c9928b03f Store api token in keychain instead of user defaults 2014-03-28 13:52:34 -07:00
Andy Roth c31a8f0d3b Fix #4: Map meal titles to platform response's note 2014-03-28 13:38:06 -07:00
Andy Roth 49d697c9de Fix #8: Add additional documentation 2014-03-28 13:37:00 -07:00
Andy Roth 5495849102 Add build framework target 2014-03-13 13:41:49 -07:00
Andy Roth b8d1537666 Add API explorer project 2014-03-13 13:18:06 -07:00
Andy Roth 90c0308b31 Add API explorer project 2014-03-13 13:17:38 -07:00
Andy Roth 9d65382d38 Use standard modal presentation for auth controller 2014-03-13 13:17:19 -07:00
Andy Roth f48fade711 Fix project includes 2014-03-13 13:17:05 -07:00
Andy Roth 332e2b788d Fix #12 : Clear only jawbone cookies 2014-03-13 12:53:27 -07:00
Andy Roth ce2c78cd6d Fix #12 : Clear user cookies when presenting auth web view. 2014-03-10 10:14:43 -07:00
Andy Roth eb783340b3 Merge pull request #11 from mathieug/patch-1
Add a forgotten super viewDidLoad
2014-02-12 14:23:58 -08:00
Mathieu GHENNASSIA 869f00c86d Add a forgotten super viewDidLoad 2014-02-11 18:37:50 -08:00
Kirill Zdornyy 7c4832f4a5 Update UPPlatformSDK.framework in HelloUP. 2013-12-04 17:23:24 -08:00
Kirill Zdornyy 673c0fd8a9 Merge branch 'master' of github.com:Jawbone/UPPlatform_iOS_SDK 2013-12-04 17:22:01 -08:00
Kirill Zdornyy 59e400046a Update UPPlatformSDK.framework with new header file method documentation. 2013-12-04 17:21:56 -08:00
Kirill Zdornyy 530611d987 Update README.md with documentation for cardiac, body and generic events. 2013-12-04 17:16:38 -08:00
Kirill Zdornyy c88d058843 Document header file methods for generic event API. 2013-12-04 16:48:47 -08:00
Kirill Zdornyy a9141ef2d1 Document the body event API header file methods. 2013-12-04 16:43:58 -08:00
Kirill Zdornyy b5111d6b96 Document cardiac event header file method declarations. 2013-12-04 16:36:47 -08:00
Kirill Zdornyy 967f386bfd Merge branch 'master' of github.com:Jawbone/UPPlatform_iOS_SDK 2013-12-04 16:15:51 -08:00
Kirill Zdornyy 01064ea782 Add missing plist file in HelloUP. 2013-12-04 16:15:46 -08:00
Kirill Zdornyy 7246ace579 Update UPPlatformSDK.framework in the HelloUP sample app. 2013-12-04 16:15:01 -08:00
Kirill Zdornyy 74b4b9230a Update README.md with custom URI instructions. 2013-12-04 15:30:24 -08:00
Kirill Zdornyy fa247a94d1 Update UPPlatformSDK.framework. 2013-12-04 15:21:17 -08:00
Andy Roth 7a774e7cc1 Add configurable redirect URI to authentication 2013-12-04 14:10:18 -08:00
Kirill Zdornyy 0871b81a3d Update README.md with new platform links. 2013-12-04 12:02:31 -08:00
Kirill Zdornyy dde1c45c29 Update README.md. 2013-11-21 17:02:14 -08:00
Kirill Zdornyy ea4a3096b8 Update README.md image and photo links. 2013-11-21 17:01:45 -08:00
Kirill Zdornyy 43cbb392ea Add links for support, API status and TOS to README.md. 2013-11-21 12:25:55 -08:00
Kirill Zdornyy 736f5d6a76 Change project settings for building SDK for 64-bit architecture. 2013-11-21 12:17:48 -08:00
Kirill Zdornyy 02cb7676ea Final cleanup on README.md. 2013-11-21 12:08:12 -08:00
Kirill Zdornyy dbf50a2f89 Update UPPlatformSDK.framework with fix for #7. 2013-11-17 10:48:54 -05:00
Kirill Zdornyy 1d6edf8f6c Fix UIWebView memory leak in iOS 7. Closes #7.
Also update Xcode project settings for the SDK.
2013-11-17 10:44:48 -05:00
Kirill Zdornyy 5a04a314a7 Replace missing classes and headers. 2013-11-16 13:37:10 -05:00
Kirill Zdornyy c0ce01d7b7 Update README.md with links to .framework and git clone. 2013-11-15 15:11:35 -05:00
Kirill Zdornyy 64edfdd6a7 Update README.md 2013-11-15 12:31:26 -05:00
Kirill Zdornyy b5b6c66c8e Create LICENSE 2013-11-15 12:24:55 -05:00
Kirill Zdornyy 1d6b57bb88 Update README.md with license info. 2013-11-15 12:24:03 -05:00
Kirill Zdornyy 9408b2ee07 Search for Framework in SRCROOT. 2013-11-15 12:19:05 -05:00
Kirill Zdornyy 91ec7f2a7e Make Xcode search for the framework in project root. Update OAuth key. 2013-11-15 12:17:45 -05:00
Kirill Zdornyy ba919ac0d7 Update README.md with Framework instructions. 2013-11-15 11:58:19 -05:00
Kirill Zdornyy f73beb26ee Add Framework snapshots. 2013-11-15 11:50:56 -05:00
Kirill Zdornyy 724a33b8fe Add very basic app HelloUP. 2013-11-15 11:46:06 -05:00
Kirill Zdornyy 1c13cbbc42 Remove legacy sample app.
Will be replaced with a new simple HelloUP.
2013-11-15 10:35:34 -05:00
Kirill Zdornyy e0842bb62c Update README.md. 2013-11-15 10:34:30 -05:00
Kirill Zdornyy f5a81894e2 Update UPPlatformSDK.framework. 2013-11-15 10:33:02 -05:00
Andy Roth c90038459f Remove separate platform bundle 2013-11-13 12:20:53 -08:00
Kirill Zdornyy e0c1d7001f Fix category linker issues in .framework. 2013-11-13 11:57:21 -08:00
Kirill Zdornyy 9d6bda4331 Make .framework 64-bit 2013-11-13 11:22:25 -08:00
Kirill Zdornyy d6ffafaacb Add UPPlatformSDK.framework 2013-11-13 11:11:38 -08:00
Kirill Zdornyy 9962391173 Fix formatting in README.md. 2013-11-08 13:35:31 -08:00
Kirill Zdornyy cb208bbe0c Add Obj-C formatting to README.md. 2013-11-07 17:24:57 -08:00
Kirill Zdornyy 6c6c112118 Update README.md with more polish. 2013-11-07 17:22:44 -08:00
Kirill Zdornyy ac4648a538 Update README.md with more details developers site instructions. 2013-11-07 17:02:56 -08:00
Kirill Zdornyy c52323b380 Add a snapshot of the developer account page. 2013-11-07 16:41:22 -08:00
Kirill Zdornyy 6f482202b1 Update README.md with how to obtain OAuth creds. 2013-11-01 10:29:11 -07:00
Kirill Zdornyy 6df13353d5 Add instructions for running XCTest unit tests to README.md. 2013-10-30 20:10:57 -07:00
Kirill Zdornyy fc56080d08 Add the inaugural XCTest unit test. 2013-10-30 20:01:38 -07:00
Kirill Zdornyy d70ae1152c Update README.md. 2013-10-30 11:40:19 -07:00
Kirill Zdornyy f627a83d43 Add workout graph to documentation. 2013-10-30 11:38:52 -07:00
Kirill Zdornyy a68e00fdae Update README.md with more cleanup. 2013-10-30 11:37:28 -07:00
Kirill Zdornyy 8cf7dbe4a4 Update more content in README.md. 2013-10-30 10:12:16 -07:00
Kirill Zdornyy 6caab97b74 Add moves and sleep samples images. 2013-10-29 18:05:15 -07:00
Kirill Zdornyy 1a180128d5 Update README.md with Contributors. 2013-10-29 17:46:57 -07:00
Kirill Zdornyy 524806706a Add sample code for UPUser class and update navigation. 2013-10-29 17:37:02 -07:00
Kirill Zdornyy e7412020d5 Add sample code for Mood in README.md. 2013-10-29 17:23:28 -07:00
Kirill Zdornyy be264bbaae Add sample code for moves in README.md. 2013-10-29 16:09:21 -07:00
Kirill Zdornyy 540f8ca4b1 Add sample code for workout methods in README.md. 2013-10-29 16:01:37 -07:00
Kirill Zdornyy 8ae3681900 Finish meal code samples in README.md. 2013-10-29 15:42:57 -07:00
Kirill Zdornyy 39787eeedf Update README.md with documentation on creating a new meal. 2013-10-29 15:25:17 -07:00
Kirill Zdornyy 784957cff1 Update UPMoodAPI.h with documentation for methods and properties. 2013-10-29 15:02:18 -07:00
Kirill Zdornyy 9e72e106d7 Update UPMoveAPI.h with method and property documentation. 2013-10-29 14:37:40 -07:00
Kirill Zdornyy 8a82c00e05 Update UPWorkoutAPI.h with method and property documentation. 2013-10-29 14:26:19 -07:00
Kirill Zdornyy c26b14f81a Update UPSleepAPI.h with method and property documentation. 2013-10-29 12:46:42 -07:00
Kirill Zdornyy 33678fd37b Update UPMealAPI.h with Xcode 5 style documentation.
Add preliminary documentation for most of the methods and properties.
2013-10-29 12:07:22 -07:00
Kirill Zdornyy 923c417204 Update README.md.
Add a tentative table of contents.
2013-10-28 14:59:17 -07:00
Kirill Zdornyy 65c5eea829 Update README.md
Add a very rough "getting started" section for iOS development.
2013-10-28 13:04:46 -07:00
Kirill Zdornyy d06f06b556 Update .gitignore.
Copy .gitignore contents from GitHub's Objective-C template found at https://github.com/github/gitignore/blob/master/Objective-C.gitignore. I left out the Cocoapods stuff.
2013-10-24 20:10:29 -07:00
Kirill Zdornyy aa9f09bae3 Update README.md
Added a list of things that we could potentially cover here. Still a work in progress.
2013-10-24 18:49:59 -07:00
Andy Roth c5964f989b Fixes to support iOS 7, Mavericks, and Xcode 5 2013-10-24 15:21:59 -07:00
Andy Roth 928bf89c18 Ignore .DS_Store 2013-06-28 12:26:17 -07:00
Andy Roth e8102cc2ee Initial commit 2013-06-28 12:22:28 -07:00
Andy Roth b01ba7537f Initial commit 2013-06-28 12:17:36 -07:00
242 changed files with 16901 additions and 120 deletions
+17
View File
@@ -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
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

@@ -344,7 +344,7 @@
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&nbsp;&nbsp;&nbsp;&nbsp;servingType</option>
<option value="//api/name/subType">&nbsp;&nbsp;&nbsp;&nbsp;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">&nbsp;&nbsp;subType</a></code>
</span>
<span class="task-item-suffix">property</span>
</li><li>
<span class="tooltip">
<code><a href="#//api/name/category">&nbsp;&nbsp;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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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&rsquo;s friends with other users registered wi
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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&#133;</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/>
&nbsp;&nbsp; <a href="">UPMealItemSubTypeDrink</a> = 1,<br/>
&nbsp;&nbsp; <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">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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

+3 -1
View File
@@ -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">&copy; 2014 Jawbone. All rights reserved. (Last updated: 2014-05-05)</span><br />
<p><span class="copyright">&copy; 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>
Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

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
File diff suppressed because it is too large Load Diff
@@ -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

Some files were not shown because too many files have changed in this diff Show More