Yuan Zhu
429c3c9886
Update the versioning and pod spec
2016-01-11 15:20:01 -08:00
Yuan Zhu
4228cf46c6
Merge pull request #598 from YuanZhu-apple/convergence_batch2
...
Doc updates and other fixes for convergence
2016-01-11 11:25:46 -08:00
Umer Khan
ce31ebd366
Merge branch 'releaseNotes' into 'convergence'
...
Release notes
See merge request !35
2016-01-08 12:17:11 -08:00
Umer Khan
135ec4a3f2
Minor edits.
2016-01-08 12:10:56 -08:00
Umer Khan
a30119aa0d
Merge branch 'convergence_active_task_should_resume_properly' into 'convergence'
...
Convergence active task should resume properly
Fix for <rdar://problem/24095971> ResearchKit: progress for 2 finger tapping stopped after the passcode auth.
Stop using background delivery in health recorder.
See merge request !37
2016-01-07 16:12:36 -08:00
Yuan Zhu
31526c6664
Disable background delivery in health recorder.
2016-01-07 15:29:59 -08:00
Yuan Zhu
e5ac62f298
Fix for progress for 2 finger tapping stopped after the passcode auth
2016-01-07 15:29:21 -08:00
Yuan Zhu
bb1be965a2
Merge branch 'convergence_incorporate_documentation' into 'convergence'
...
Convergence incorporate documentation
Incorporate documentation update from devpubs.
See merge request !36
2016-01-06 17:42:42 -08:00
Yuan Zhu
3fb266139e
More doc update.
2016-01-06 13:59:38 -08:00
Yuan Zhu
0b2216c6cf
Update for review.
2016-01-06 13:56:39 -08:00
Yuan Zhu
c90d8c7fbd
One more merge conflict
2016-01-06 11:06:09 -08:00
Yuan Zhu
3cb705c123
Fix appledoc warnings
2016-01-06 11:03:26 -08:00
Yuan Zhu
1817398f61
Merge branch 'convergence' into convergence_incorporate_documentation
...
Conflicts:
ResearchKit/Charts/ORKGraphChartView.h
ResearchKit/Common/ORKAnswerFormat.h
ResearchKit/Common/ORKDefines.h
ResearchKit/Common/ORKNavigableOrderedTask.h
ResearchKit/Common/ORKResult.h
ResearchKit/Common/ORKResultPredicate.h
ResearchKit/Consent/ORKConsentReviewController.m
2016-01-05 23:18:21 -08:00
Umer Khan
b542c46189
Formatting fixes.
2016-01-05 18:36:46 -08:00
Umer Khan
b6cc636975
Minor fixes.
2016-01-05 18:30:24 -08:00
Umer Khan
1844a0774c
Added Sample App info.
2016-01-05 18:29:27 -08:00
Yuan Zhu
6a1343622d
Update charts documentation.
2016-01-05 18:00:56 -08:00
Yuan Zhu
a3b45b6268
Merge branch 'convergence' of https://github.com/ResearchKit/ResearchKit into convergence
2016-01-05 16:34:20 -08:00
Yuan Zhu
f076b69a98
Merge pull request #594 from rsanchezsaez/rsanchezsaez-convergence-ORKGraphChartView
...
[ORKGraphChartView] Fix wrong selector check on accessibility (convergence)
2016-01-05 16:15:25 -08:00
Umer Khan
39e17e7867
Added RK 1.3 notes.
2016-01-05 14:52:53 -08:00
Ricardo Sánchez-Sáez
663426250f
[ORKGraphChartView] Fix wrong selector check on accessibility
2016-01-05 02:27:50 +00:00
Umer Khan
197eb8422a
Merge branch 'convergence_fix_responder_check' into 'convergence'
...
Fix "ORKGraphChartView checks wrong delegate method for respondsToSelector"
Use the correct `respondsToSelector:` checking.
This is an issue reported by https://github.com/ResearchKit/ResearchKit/issues/589
See merge request !34
2016-01-04 11:53:14 -08:00
Yuan Zhu
fe10cd8a71
Merge branch 'convergence' of https://github.com/ResearchKit/ResearchKit into convergence
2016-01-04 11:40:16 -08:00
Yuan Zhu
63dfad2b0d
Merge pull request #590 from rsanchezsaez/rsanchezsaez-convergence-ORKSampleFix
...
ORKSample fixes
2016-01-04 11:39:36 -08:00
Yuan Zhu
886605e013
Use the correct respondsToSelector: checking
2016-01-04 10:43:49 -08:00
Ricardo Sánchez-Sáez
4c0a4a1e51
[ORKSample] Fix project
...
- Add ResearchKit as an embed framework (otherwise it won't run on the device)
- Remove extraneous Development Team
2015-12-23 20:38:24 +00:00
Yuan Zhu
aa2b1f9e61
Merge pull request #587 from YuanZhu-apple/convergence_batch
...
Convergence patch
2015-12-22 12:35:23 -08:00
John Earl
fed9fb9ce6
Merge branch 'convergence_fix_progress_is_missing_on_first_step' into 'convergence'
...
Fix task progress is missing on first step.
Fix for <rdar://problem/23940893> Question form does not show "1 of 6" progress at the top when the modal is displayed
Since we pulled `currentStepViewController` into `shouldDisplayProgressLabel`, we also need to move progressLabel generation after `currentStepViewController` has been assigned.
Today's `shouldDisplayProgressLabel`:
```
- (BOOL)shouldDisplayProgressLabel {
return self.showsProgressInNavigationBar && [_task respondsToSelector:@selector(progressOfCurrentStep:withResult:)] && self.currentStepViewController.step.showsProgress;
}
```
See merge request !33
2015-12-17 13:47:00 -08:00
Yuan Zhu
6a786cfb37
Fix task progress is missing on first step.
2015-12-17 13:27:39 -08:00
Umer Khan
39d76c8ed6
Merge branch 'convergence_fix_orksample_dependency' into 'convergence'
...
Add RK as ORKSample's dependency.
See merge request !31
2015-12-16 16:05:26 -08:00
Yuan Zhu
7059bd39a6
Add RK as ORKSample's dependency.
2015-12-16 14:52:28 -08:00
Umer Khan
dddc633e3a
Merge branch 'convergence_ax_wait_step' into 'convergence'
...
AX for wait step
From Ryan, even through `UIProgressView` is not accessible.
See merge request !30
2015-12-16 11:18:36 -08:00
Umer Khan
9e358e7fc5
Merge branch 'convergence_fix_catalog_after_verification_step_change' into 'convergence'
...
API changed after verification step update, need to update ORKCatalog as well.
See merge request !29
2015-12-16 11:10:45 -08:00
Yuan Zhu
0aacde2057
AX for wait step
2015-12-16 10:59:56 -08:00
Yuan Zhu
5bdd973315
Fix unit tests.
2015-12-16 10:30:09 -08:00
Yuan Zhu
cb4514328e
API changed after verification step update, need to update ORKCatalog as well.
2015-12-15 17:49:33 -08:00
Umer Khan
84710f773f
Merge branch 'convergence_update_pod_spec' into 'convergence'
...
Update pod spec to include `swift` files
According to
https://github.com/ResearchKit/ResearchKit/pull/383#issuecomment-161036351
See merge request !28
2015-12-15 16:54:04 -08:00
Yuan Zhu
42005af39c
Update pod spec to include swift files
...
According to
https://github.com/ResearchKit/ResearchKit/pull/383#issuecomment-161036351
2015-12-15 16:51:46 -08:00
Yuan Zhu
9c847f8fe6
Merge branch 'passcodeIcon' into 'convergence'
...
Adding app icon to ORKPasscodeStep.
See merge request !27
2015-12-15 13:06:06 -08:00
Umer Khan
aac584b2f1
Resolving merge conflicts.
2015-12-15 11:05:09 -08:00
Yuan Zhu
4be283e888
Localization strings update.
2015-12-14 17:36:31 -08:00
Umer Khan
4d37142873
Merge branch 'convergence_new_sample_app' into 'convergence'
...
Checkin the new sample app
New app was added as `ORKSample` under `samples` folder.
See merge request !23
2015-12-14 17:06:30 -08:00
Umer Khan
08b48589da
Added new metric for icon on vertical container view to support iPad.
2015-12-14 17:04:34 -08:00
Umer Khan
6ba85a1504
Merge branch 'convergence_accessibility_fix_value_picker' into 'convergence'
...
Accessibility fix value picker
R=me.
From Ryan:
This next issue is with VoiceOver speaking the wrong words when changing ORKValuePicker’s value. Ultimately, we need to fix this on our side:
<rdar://problem/23885294> UITextField AX broken when connected as the firstResponder to a UIPicker.
I have attached a workaround patch to rdar://problem/23710698. The problem is that when we change the value of the picker and a text field is the firstResponder, VoiceOver thinks this is a selection changed event and reads the delta change. For example, going from Male to Female, the delta is “LE.” The workaround is, since this textfield is not editable, to keep the selectedTextRange as 0,0 so that VO doesn’t do the selection changed behavior.
Please let me know if you have any questions!
See merge request !26
2015-12-14 16:54:18 -08:00
Yuan Zhu
5fc4316e22
Auto deselect selected cell on profile page.
2015-12-14 16:54:18 -08:00
Yuan Zhu
287dcd979c
Merge branch 'verificationRedesign' into 'convergence'
...
Verification Step redesign.
Verification step redesign as per HI.
See merge request !20
2015-12-14 16:47:48 -08:00
Umer Khan
29f2d16676
Adding app icon to ORKPasscodeStep.
2015-12-14 16:46:33 -08:00
Yuan Zhu
b022ae3589
Limit minimum date in answer format to current time.
2015-12-14 16:46:02 -08:00
Umer Khan
76bbbbe604
Delegate callback refactor for keyboard on ORKPasscodeStepViewController.
2015-12-14 16:40:32 -08:00
Umer Khan
a322f0b17f
Minor refactor.
2015-12-14 16:32:55 -08:00
Yuan Zhu
f11d17752f
Accessibility fix value picker
...
From Ryan:
This next issue is with VoiceOver speaking the wrong words when changing ORKValuePicker’s value. Ultimately, we need to fix this on our side:
<rdar://problem/23885294> UITextField AX broken when connected as the firstResponder to a UIPicker.
I have attached a workaround patch to rdar://problem/23710698. The problem is that when we change the value of the picker and a text field is the firstResponder, VoiceOver thinks this is a selection changed event and reads the delta change. For example, going from Male to Female, the delta is “LE.” The workaround is, since this textfield is not editable, to keep the selectedTextRange as 0,0 so that VO doesn’t do the selection changed behavior.
Please let me know if you have any questions!
2015-12-14 14:32:10 -08:00
Umer Khan
14a815d63e
Merge branch 'convergence_fix_merge_crash_bug' into 'convergence'
...
The `break` was in wrong place which let `confirmAnswerFormat` use a `scaleCell` instead.
It is used to crash `registration test`.
See merge request !25
2015-12-14 14:18:09 -08:00
Yuan Zhu
1b4b0166b8
The break was in wrong place which let confirmAnswerFormat use a scaleCell instead.
2015-12-14 14:13:01 -08:00
Umer Khan
669269fd45
Merge branch 'convergence_full_length_seperator_line' into 'convergence'
...
Apply full width section separator on from/question page (including location question)







See merge request !22
2015-12-11 16:01:59 -08:00
Yuan Zhu
3f7c1d15d5
Checkin the new sample app
2015-12-11 15:46:30 -08:00
Yuan Zhu
ca136a9ce1
Merge branch 'convergence' of gitlab.sd.apple.com:y_zhu/GitHub-ResearchKit-Fork into convergence_full_length_seperator_line
...
Conflicts:
ResearchKit/Common/ORKFormStepViewController.m
2015-12-11 14:11:29 -08:00
Yuan Zhu
fe2ea1e3d8
Merge branch 'eligFix' into 'convergence'
...
Removed eligibility module.
As per HI, the eligibility module should re-use the text choice answer format look and feel. This PR removes the current `ORKEligbilityAnswerFormat` and updates `ORKTest` and `ORKCatalog` examples of eligibility using `ORKTextChoiceAnswerFormat`.
See merge request !17
2015-12-11 13:30:50 -08:00
Yuan Zhu
eedcff0ab0
Merge branch 'passcodeFix' into 'convergence'
...
Passcode keyboard orientation fix.
The orientation for the passcode step was not being registered from `supportedInterfaceOrientations`, so this fix forwards that instance method to a class method of the same name to retrieve the value. This allows the Task View Controller to retrieve the values before the class is initialized.
See merge request !16
2015-12-11 13:24:28 -08:00
Yuan Zhu
00bd267c1b
Apply full width section separator on from/question page (including location question)
2015-12-10 17:52:28 -08:00
Umer Khan
d9c005aa18
Refactored eligibility survey also.
2015-12-10 16:40:27 -08:00
Umer Khan
be02e1a22a
Refactored eligibility task.
2015-12-10 16:38:59 -08:00
Umer Khan
b474f6f12d
Added additional documentation.
2015-12-10 14:45:33 -08:00
Yuan Zhu
bc263d92af
Merge branch 'convergence_accessibility_fix_for_account_creation' into 'convergence'
...
Accessibility fix for password field
<rdar://problem/23829496> RK Accessibility Account creation control issues
I looked, it is good to me.
See merge request !21
2015-12-10 13:13:39 -08:00
Yuan Zhu
0575f21c3e
Accessibility fix for password field: <rdar://problem/23829496> RK Accessibility: Account creation control issues
2015-12-09 17:58:57 -08:00
Umer Khan
88543a14d6
Verification Step redesign.
2015-12-09 17:11:35 -08:00
Yuan Zhu
cd8a801738
Merge branch 'verificationRedesign' into 'convergence'
...
Added new strings for verification step and removed old strings.
See merge request !19
2015-12-09 15:04:26 -08:00
Umer Khan
30af7f46f7
Merge branch 'convergence_new_icon_from_hi' into 'convergence'
...
Use the new icon for ORKTest app
See merge request !18
2015-12-09 14:59:46 -08:00
Umer Khan
1e889ad7dc
Added new strings for verification step and removed old strings.
2015-12-09 14:58:06 -08:00
Umer Khan
839c8eca53
Removed class method forwarding.
2015-12-09 14:40:14 -08:00
Yuan Zhu
48ed4b3771
Use the new icon for ORKTest app
2015-12-09 14:23:07 -08:00
Umer Khan
e6f4c1deb8
Merge branch 'convergence_peg_test_missing_spoken_instruction_on_last_step' into 'convergence'
...
All other three of four testing steps has spoken instruction.
For <rdar://problem/23778535> [Clout]: US: RedRiver7M1453: No VoiceOver speaks at the Page of 'Put the peg behind the line using your left hand.'
See merge request !13
2015-12-09 12:47:24 -08:00
Umer Khan
ae2bff43fa
Merge branch 'convergence_support_multiline_in_form_header' into 'convergence'
...
Wrap text in form header view if the text is long.
Wrap text in form header view if the text is long.

See merge request !14
2015-12-09 12:45:53 -08:00
Umer Khan
14260e0df1
Merge branch 'convergence_add_icon_for_ipad_pro' into 'convergence'
...
Add app icons for iPad pro
See merge request !15
2015-12-09 12:40:06 -08:00
Umer Khan
4153702c2d
Removed eligibility answer format, survey cell, form item cell, and implementations from ORKTest and ORKCatalog.
2015-12-09 12:08:34 -08:00
Umer Khan
a9494ce5d8
Passcode keyboard orientation fix.
2015-12-09 11:04:13 -08:00
Yuan Zhu
0b06d4c18a
Add app icons for iPad pro
2015-12-09 10:41:22 -08:00
Yuan Zhu
2b6d1fcab9
Wrap text in form header view if the text is long.
2015-12-08 17:59:25 -08:00
Yuan Zhu
eb52acefa9
All other three of four testing steps has spoken instruction.
2015-12-08 12:55:14 -08:00
Umer Khan
82de8783bd
Merge branch 'convergence_fix_wait_step_progessview_size' into 'convergence'
...
Fix the size of progress view in wait step.
Also documented the view hierarchy of ORKVerticalContainerView
See reopened radar:
<rdar://problem/23638006> ResearchKit: updateText of ORKWaitStepViewController does not work as expected
See merge request !12
2015-12-04 16:39:52 -08:00
Yuan Zhu
0dea3dd673
Localization strings update
2015-12-04 13:51:39 -08:00
Yuan Zhu
6f4c072f93
Fix the size of progress view in wait step.
...
Also documented the view hierarchy of ORKVerticalContainerView
2015-12-04 12:17:13 -08:00
Yuan Zhu
fee0d2d7b6
Merge branch 'regexFix' into 'convergence'
...
Added validation checking for Text Survey Cell.
Currently, text validation from ORKTextAnswerFormat is only applied to ORKFormItemCell.
This patch adds the validation checking to ORKSurveyAnswerCellForText.
This is in response to a radar generated by QA.
radar://23695918
See merge request !9
2015-12-03 13:26:55 -08:00
Umer Khan
610a1fd93f
Minor fix.
2015-12-02 16:05:44 -08:00
Umer Khan
36bda05556
Merge branch 'convergence_ax_scale_question_fix' into 'convergence'
...
Fix for <rdar://problem/23710807> RK Accessibility: Scale Question
`swipe up` by passed the normal `touch to assign value` process, thus, set `showThumb = YES;` is required.
From Ryan:
1. Tap the slider
(No value is read)
(VoiceOver cursor is moved to the slider element)
2. Swipe up to increment the value (i.e. calls accessibilityIncrement which calls axBumpValue)
Expected Behavior:
Now that we incremented the slider, it has a value and should be spoken.
Actual Behavior:
No value is spoken.
(In the debugger, I can see showThumb is NO, thus we don’t speak an accessibilityValue).
Conclusion:
It seems to me once you made a change to the slider’s value (via accessibilityIncrement or accessibilityDecrement), showThumb should become YES.
See merge request !11
2015-12-02 16:03:43 -08:00
Yuan Zhu
069ea16731
Merge branch 'passcodeFix' into 'convergence'
...
Locked Passcode View Controllers to portrait only.
The Passcode View Controllers truncate the passcode text field in landscape mode.
To avoid this problem, this PR locks the passcode view controller orientation to portrait only.
This solves the stated problem and provides a more intuitive UI for passcode entry.
This is in response to the radar generated by QA.
radar://23713589
See merge request !10
2015-12-02 15:35:22 -08:00
Umer Khan
a1ed3ea711
Refactored continue button logic and removed validation logic from textfield delegate.
2015-12-02 15:27:12 -08:00
Yuan Zhu
d910062bb9
Merge branch 'dobFix' into 'convergence'
...
Add current date to maximum date for ORKRegistrationStep's dob answer format.
See merge request !7
2015-12-02 14:57:02 -08:00
Yuan Zhu
ba5d80c6c1
Fix for <rdar://problem/23710807> RK Accessibility: Scale Question
...
`swipe up` by passed the normal `touch to assign value` process, thus, set `showThumb = YES;` is required.
From Ryan:
1. Tap the slider
(No value is read)
(VoiceOver cursor is moved to the slider element)
2. Swipe up to increment the value (i.e. calls accessibilityIncrement which calls axBumpValue)
Expected Behavior:
Now that we incremented the slider, it has a value and should be spoken.
Actual Behavior:
No value is spoken.
(In the debugger, I can see showThumb is NO, thus we don’t speak an accessibilityValue).
Conclusion:
It seems to me once you made a change to the slider’s value (via accessibilityIncrement or accessibilityDecrement), showThumb should become YES.
2015-12-02 14:38:54 -08:00
Umer Khan
21ada70ae4
Locked Passcode View Controllers to portrait only.
2015-12-02 14:28:53 -08:00
Umer Khan
9be3f057be
Added validation checking for Text Survey Cell.
2015-12-02 13:43:02 -08:00
Umer Khan
51c23ccf17
Changed dispatch_once to an ivar.
2015-12-01 16:20:22 -08:00
Umer Khan
113b7422a0
Added additional initializer.
2015-12-01 16:09:08 -08:00
Umer Khan
c852c62262
Added static, updated formItems to generate today's date for maximumDate, and fixed serialization issues.
2015-12-01 15:50:52 -08:00
Yuan Zhu
c27b784870
Merge branch 'convergence' of https://github.com/ResearchKit/ResearchKit into convergence
2015-12-01 15:31:58 -08:00
Andrew Hill
2510bc7f97
Correct Destionation
...
Changed all instances of Destionation to Destination
2015-12-01 15:30:04 -08:00
Tom Welsh
de7860b60a
Allow ORKLoginStepViewController to be subclassed by making the class symbol visible
2015-12-01 15:28:35 -08:00
Yuan Zhu
37c65bdc55
Merge branch 'convergence' of https://github.com/ResearchKit/ResearchKit into convergence
2015-12-01 14:40:52 -08:00
Umer Khan
4fe13d0b27
Minor refactor.
2015-12-01 13:29:29 -08:00
Umer Khan
853d4384fd
Refactored registration form items generation.
2015-12-01 13:16:43 -08:00
Yuan Zhu
f9669508dc
Merge branch 'tappingResultBugFix' into 'convergence'
...
Tapping sample result bug fix.
See merge request !8
2015-12-01 10:29:32 -08:00
Umer Khan
e1ea72b861
Tapping sample result bug fix.
2015-11-30 17:58:46 -08:00
Umer Khan
1cf445af09
Add current date to maximum date for ORKRegistrationStep's dob answer format.
2015-11-30 14:03:53 -08:00
Yuan Zhu
fc1c328b68
localized strings update on convergence branch.
2015-11-30 13:26:47 -08:00
Umer Khan
7b7a851cca
Merge branch 'convergence_fix_pie_chart_label_overlap' into 'convergence'
...
Fix issue https://github.com/ResearchKit/ResearchKit/issues/558
Corrected the calculation inside `ORKCenteredCollectionViewLayout`
To test, update `ChartDataSources.swift`'s `pieChartView` method to be like this:
```
func pieChartView(pieChartView: ORKPieChartView, titleForSegmentAtIndex index: Int) -> String {
switch index {
case 0:
return "Steps"
case 1:
return "Tasks"
case 2:
return "Surveys completed"
default:
return "test"
}
}
```
After this fix:

See merge request !3
2015-11-30 13:16:44 -08:00
Umer Khan
37ac134b5e
Merge branch 'convergence_change_activity_indicator' into 'convergence'
...
Change to use system activity indicator in wait step.

See merge request !5
2015-11-30 13:16:21 -08:00
Umer Khan
067f8f8e3d
Merge branch 'convergence_add_ORKWaitStepViewController_to_RK.h' into 'convergence'
...
Make WaitStepVC public and add it to `ResearchKit.h`
This is a fix for `<rdar://problem/23621910> ResearchKit: ORKWaitStepViewController.h is not included in the <ResearchKit/ResearchKit.h>`
See merge request !4
2015-11-30 13:13:25 -08:00
Umer Khan
7d30dd09f3
Merge branch 'convergence_loc_two_lines' into 'convergence'
...
Fix for rdar://problem/23574379 [Clout]: RS: RedRiver7M1408: Clipping string…
Make buttons and labels multilines.
See merge request !2
2015-11-30 12:55:28 -08:00
Yuan Zhu
19921baf55
Merge pull request #569 from shazino/convergence
...
Fix PSAT progress indicator tint color.
2015-11-23 14:24:36 -08:00
Julien Therier
ffd8552aa8
Fix PSAT progress indicator tint color.
2015-11-21 11:48:42 +01:00
Yuan Zhu
140e1ebae0
Fix for rdar://problem/23638006 ResearchKit: updateText of ORKWaitStepViewController does not work as expected
2015-11-20 17:33:05 -08:00
Yuan Zhu
9338ea8b59
Use RK native layout instead of custom layout.
2015-11-20 16:15:33 -08:00
Yuan Zhu
63d56e44f8
Change to use system activity indicator in wait step.
2015-11-20 15:22:23 -08:00
Yuan Zhu
3daf9484c4
Make WaitStepVC public and add it to ResearchKit.h
2015-11-20 11:21:26 -08:00
Yuan Zhu
d87372923b
Fix issue https://github.com/ResearchKit/ResearchKit/issues/558
...
Corrected the calculation inside `ORKCenteredCollectionViewLayout`
2015-11-19 17:58:53 -08:00
Yuan Zhu
3dccc6d438
Fix radar <rdar://problem/23574379> [Clout]: RS: RedRiver7M1408: Clipping string RESEND_EMAIL_BUTTON_TITLE.
...
Make buttons and labels multiline.
2015-11-19 14:32:03 -08:00
Yuan Zhu
50cf8171f5
Change english string for "LOCATION_ERROR_TITLE"
2015-11-18 17:03:23 -08:00
Yuan Zhu
d2c51201ef
Strings update 2nd round
2015-11-18 15:53:49 -08:00
Yuan Zhu
8a320f0b72
Use seperate string for left and right hand.
2015-11-18 14:03:54 -08:00
Yuan Zhu
2988cb0fa6
Change circle to peg
2015-11-18 13:07:34 -08:00
Yuan Zhu
59788e53ec
change the string of "PASSCODE_INVALID_ALERT_TITLE"
2015-11-18 10:52:31 -08:00
Yuan Zhu
af823d1f63
Change WiFi to Wi-Fi
2015-11-17 18:09:59 -08:00
Yuan Zhu
75ac5d3366
Fix typo.
2015-11-17 17:50:56 -08:00
Yuan Zhu
932024c4af
Loc en string fixes
2015-11-13 15:16:15 -08:00
Yuan Zhu
26cf7e4d64
add ORK_CLASS_AVAILABLE for ORKLoginStepViewController
2015-11-13 15:12:24 -08:00
Yuan Zhu
fa2b18da42
1st round localization
2015-11-13 12:52:07 -08:00
Yuan Zhu
304d93a79a
Add charts sections
2015-11-10 14:21:39 -08:00
Yuan Zhu
a57a8d8370
Merge pull request #383 from rsanchezsaez/rsanchezsaez-navigationrules
...
Add Swift tuple initializer overlay to ORKPredicateStepNavigationRule
2015-11-09 10:31:44 -08:00
Yuan Zhu
d44676d816
Merge pull request #559 from umerkhan-apple/localizationBug
...
ORKCatalog Localization Files
2015-11-05 11:10:08 -08:00
Yuan Zhu
18d50721cc
Merge pull request #556 from rsanchezsaez/rsanchezsaez-ORKTestNamingConventions
...
ORKTest: improve some class and method names
2015-11-05 10:52:21 -08:00
Yuan Zhu
967518a576
Merge pull request #557 from umerkhan-apple/readme
...
Updating README for RK Forum.
2015-11-05 10:39:09 -08:00
Yuan Zhu
ef8c1e1b3a
Merge pull request #553 from YuanZhu-apple/master_location_question_enhancement
...
Switch `ORKLocationResult`'s answer from `ORKPlacemark` to `ORKLocation`
2015-11-05 10:38:57 -08:00
Yuan Zhu
6563ebdca4
Clean up NSLog
2015-11-05 10:38:34 -08:00
Yuan Zhu
f85faecb49
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master_location_question_enhancement
2015-11-05 10:28:08 -08:00
Umer Khan
0341e511ab
Adding localization files for all other supported languages. No translations, only placeholder files in order to enable localization for RK Framework strings.
2015-11-04 17:07:53 -08:00
Umer Khan
8f9ab33897
Updating README for RK Forum.
2015-11-04 10:52:47 -08:00
Yuan Zhu
372fbaaaa4
Merge pull request #546 from huguesbr/master
...
Fix localization when using ResearchKit as Pod (Localizable.strings > ResearchKit.strings)
2015-11-03 16:19:48 -08:00
Hugues Bernet-Rollande
a3c28f666c
re-add missing white space
2015-11-04 01:01:33 +01:00
Ricardo Sánchez-Sáez
4c34d1e8a3
ORKCatalog: improve naming conventions and documentation for VerificationViewController and LoginViewController subclass examples
2015-11-03 23:08:17 +00:00
Ricardo Sánchez-Sáez
50c0d4b3c0
ORKTest: improve code for Wait Task progress update
2015-11-03 22:24:35 +00:00
Hugues Bernet-Rollande
4b269b8c21
Updating docs to reflect new name of localized strings (ResearchKit.strings)
2015-11-03 09:30:19 +01:00
Hugues Bernet-Rollande
143b474aff
Rename Localizable.strings file to ResearchKit.strings and use table name in localization, avoiding conflict when including ResearchKit as a pod (the Localizable.strings files conflict with project one)
2015-11-03 09:30:19 +01:00
Yuan Zhu
ca11a8def0
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master_location_question_enhancement
...
Conflicts:
ResearchKit.xcodeproj/project.pbxproj
2015-11-02 17:42:22 -08:00
Yuan Zhu
09cb204a24
Add copyright line.
2015-11-02 11:01:21 -08:00
Ricardo Sánchez-Sáez
20204946bc
ORKTest: change case in comments
2015-11-01 22:20:20 +00:00
Ricardo Sánchez-Sáez
74dc33a654
ORKTest: improve some class and method names
2015-11-01 22:18:17 +00:00
Yuan Zhu
f738f18570
Update to PR to improve UI experience.
2015-10-30 12:43:31 -07:00
Nidhi Gupta
7af35c7c35
Replace old PAVSAT screen shoots to reflect PASAT
2015-10-29 11:00:46 -07:00
Yuan Zhu
ca2f7848f8
Merge pull request #538 from umerkhan-apple/account
...
Onboarding - Account Module
2015-10-28 13:48:21 -07:00
Umer Khan
85097a5e20
PR updates.
2015-10-28 13:20:48 -07:00
Yuan Zhu
60af4ce1e5
Address PR feedback, remove location question from selection survey
2015-10-27 17:56:36 -07:00
Umer Khan
8c10abfd74
Removing cancel button customization for Registration step.
2015-10-27 15:13:24 -07:00
Umer Khan
0f97c0704a
Update cancel button actions for Login and Registration step.
2015-10-27 14:56:36 -07:00
Nidhi Gupta
a9ea108054
Incorporated edits for the new features.
2015-10-27 14:35:32 -07:00
Yuan Zhu
ac0a9a25d6
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master_location_question_enhancement
2015-10-27 13:07:38 -07:00
Yuan Zhu
4ca0197532
Switch ORKLocationResult's answer from ORKPlacemark to ORKLocation
...
Create location questions task in ORKTest
2015-10-27 13:07:24 -07:00
Yuan Zhu
e021f815ca
Merge pull request #551 from umerkhan-apple/imageCaptureBug
...
IOI # 517 - Image capture no permissions bug
2015-10-26 17:11:46 -07:00
Yuan Zhu
1492ab82c1
Merge pull request #550 from umerkhan-apple/eligFix
...
IOI # 549 - Eligibility Tint Color Fix
2015-10-26 17:11:40 -07:00
Umer Khan
61408fc5f6
Consolidated tint color change method.
2015-10-26 16:28:38 -07:00
Ricardo Sánchez-Sáez
0459818613
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# Testing/ORKTest/ORKTest.xcodeproj/project.pbxproj
# Testing/ORKTest/ORKTest/MainViewController.m
2015-10-26 22:43:35 +00:00
Umer Khan
99bdc3cbbc
Merging upstream/master
2015-10-26 15:38:23 -07:00
Umer Khan
c0b751d05a
Fixed error handling bug for image capture step.
2015-10-26 15:29:33 -07:00
Nidhi Gupta
d3ed706680
Merge branch 'stable1.2_documentation' of https://gitlab.sd.apple.com/y_zhu/GitHub-ResearchKit-Fork into stable1.2_documentation
2015-10-26 15:02:48 -07:00
Nidhi Gupta
d5175083ef
Incorporated edits for the rest of the classes.
2015-10-26 15:02:20 -07:00
Umer Khan
721572a533
Minor update.
2015-10-26 12:44:42 -07:00
Umer Khan
2494895cf9
Tint color toggle bug fix.
2015-10-26 12:23:15 -07:00
Yuan Zhu
160b7c5f71
Merge pull request #478 from QuintilesRK/LocationQuestion
...
Location Question Type
2015-10-23 16:50:57 -07:00
Brandon McQuilkin
1b5ea88e0f
Fixed issue causing tests to fail.
2015-10-22 15:13:48 -04:00
Brandon McQuilkin
dd42f4740e
Accidentally removed required import on merge.
2015-10-22 12:21:05 -04:00
Brandon McQuilkin
1f26d5c5a1
Merge branch 'master' of https://github.com/ResearchKit/ResearchKit into LocationQuestion
...
Conflicts:
ResearchKit/Common/ORKResult.m
2015-10-22 12:16:54 -04:00
Brandon McQuilkin
0a07f24bea
Removed unused error message.
2015-10-22 08:27:44 -04:00
Brandon McQuilkin
224146f7fd
Handle errors that can be returned by the CLLocationManager that do not apply to the functionality of the selection view by silently absorbing the error.
2015-10-22 08:27:06 -04:00
Brandon McQuilkin
5e7768483e
Forgot to add localizable strings.
2015-10-22 08:24:36 -04:00
Yuan Zhu
66884c045b
Merge pull request #513 from rsanchezsaez/rsanchezsaez-NavigableOrderedTask
...
Use results for backwards navigation in 'ORKNavigableOrderedTask'
2015-10-21 13:47:55 -07:00
Brandon McQuilkin
e7ca832c3d
Updated error handling.
2015-10-21 08:59:33 -04:00
Umer Khan
af3285f5f0
Bug fix for confirm answer format.
2015-10-20 22:17:41 -07:00
Umer Khan
50cd9055ac
PR updates and added example to ORKTest.
2015-10-20 19:48:53 -07:00
Umer Khan
d0226f29f7
Merge remote-tracking branch 'upstream/master' into account
2015-10-20 18:37:00 -07:00
Umer Khan
eceeab053d
PR feedback changes.
2015-10-20 18:36:30 -07:00
Yuan Zhu
de0019054a
Merge pull request #533 from md0u80c9/ORKFormItem-optionalConvenienceInit
...
ORKFormItem optionalConvenienceInit
2015-10-20 10:47:44 -07:00
Brandon McQuilkin
cbf9d7284f
Removed location question from form example.
2015-10-20 08:40:52 -04:00
Brandon McQuilkin
00183879ce
Removed if statement left over from debugging.
2015-10-20 08:39:04 -04:00
Brandon McQuilkin
58453f5df9
Pulled edge to edge presentation logic into init.
2015-10-20 08:37:50 -04:00
Umer Khan
9c65780911
Updated confirm text answer format validation logic.
2015-10-19 18:47:23 -07:00
Ricardo Sánchez-Sáez
f7f8e12d9d
ORKResult: add indentation for collection classes description
2015-10-20 02:41:30 +01:00
Ricardo Sánchez-Sáez
ee494c5ed1
ORKResult: add 'numberOfPaddingSpacesForIndentationLevel' constant
2015-10-20 02:30:08 +01:00
Ricardo Sánchez-Sáez
12a2d556c9
ORKHelpers: simplify 'ORKPaddingWithNumberOfSpaces' function by using Foundation API
2015-10-20 02:27:44 +01:00
Yuan Zhu
ce6d4fe3ac
Fix links in survey page.
2015-10-19 18:19:22 -07:00
Umer Khan
05f2fe9db4
Minor update to DOB form item in ORKRegistrationStep.
2015-10-19 15:24:52 -07:00
Umer Khan
7e8175b8a2
Added more error checking and updated registration step to adjust given & family name for locale.
2015-10-19 14:49:09 -07:00
Umer Khan
c3460d8aaa
Refactored string constants for login step form items.
2015-10-19 14:09:23 -07:00
Umer Khan
886bca74bf
PR review modifications.
2015-10-19 14:03:36 -07:00
Umer Khan
53bb638c69
Minor fix.
2015-10-19 11:07:25 -07:00
Umer Khan
3d40007df9
Minor documentation updates.
2015-10-19 10:57:48 -07:00
Brandon McQuilkin
5070517ba3
Removed unnecessary lines.
2015-10-19 13:17:00 -04:00
Brandon McQuilkin
5bca8eb66d
Updated ORKLocationQuestionResult's copy method.
2015-10-19 08:25:05 -04:00
Brandon McQuilkin
4dff0189df
Removed unnecessary hash method override.
2015-10-19 08:24:09 -04:00
Brandon McQuilkin
9e1e855b70
Fixed ORKLocationQuestionResult's answer format.
2015-10-19 08:21:20 -04:00
Brandon McQuilkin
4e7f24f1c2
Reverted indentation changes to ORKESerialization.
2015-10-19 08:20:11 -04:00
Brandon McQuilkin
3229df2a48
Updated the default location place holder string's key.
2015-10-19 08:18:41 -04:00
Ricardo Sánchez-Sáez
7bc407ee90
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
2015-10-19 01:50:43 +01:00
Ricardo Sánchez-Sáez
96e94155d7
ORKTest: fix serialization tests
2015-10-19 01:49:15 +01:00
Ricardo Sánchez-Sáez
b8b5648c71
ORKResult: improve indentantion of collection results' 'description'
2015-10-19 01:42:30 +01:00
Ricardo Sánchez-Sáez
0471bf61d4
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-NavigableOrderedTask
...
# Conflicts:
# Testing/ORKTest/ORKTest/MainViewController.m
2015-10-18 20:24:10 +01:00
Andrew Hill
a0ca62ec23
Reordered the initialisers per YuanZhu's feedback.
2015-10-18 00:02:30 +01:00
Umer Khan
aac14a3a1a
Minor formatting fixes.
2015-10-16 18:38:53 -07:00
Umer Khan
696758bdc2
Added more validation checks.
2015-10-16 18:26:05 -07:00
Umer Khan
43b6585bfa
Minor updates.
2015-10-16 16:38:34 -07:00
Umer Khan
f47f9d824c
Updates
2015-10-16 16:23:13 -07:00
Brandon McQuilkin
9b4152ec6e
Aligned text field and map with the rest of the form question cells.
2015-10-16 15:23:39 -04:00
Brandon McQuilkin
b58ae6139b
Adjusted map size to ensure that the text field was visible on all devices.
...
Removed the code to scroll the text field into view as the scroll offset change was being overriden by the animation of the keyboard changing the table view offset.
2015-10-16 15:12:57 -04:00
Brandon McQuilkin
7ba97f4089
Removed unnecessary cast.
2015-10-16 14:33:55 -04:00
Brandon McQuilkin
a2bfb9a15d
Switched to using predefined vertical margin.
2015-10-16 14:33:06 -04:00
Umer Khan
17b7d7d4f9
Merge remote-tracking branch 'upstream/master' into account
2015-10-16 10:47:20 -07:00
Andrew Hill
d9e2f54c41
Changes made per UmerKhan-apple's suggestions
2015-10-16 08:19:34 +01:00
Umer Khan
9347ef6573
Updated serialization.
2015-10-15 18:03:49 -07:00
Nidhi Gupta
ed4a50dacc
Few API edits.
2015-10-15 11:47:16 -07:00
Nidhi Gupta
d8d3882a1c
Update ORKScaleAnswerFormat Class Reference
2015-10-15 11:43:47 -07:00
Nidhi Gupta
ec8308b8bd
Code snippet for ORKNavigableOrderedTask, and Email answer format.
2015-10-15 11:28:43 -07:00
Brandon McQuilkin
9296fe90bc
Moved map view initialization
2015-10-15 09:16:36 -04:00
Brandon McQuilkin
df9170f9cf
Removed extra method.
2015-10-15 09:06:58 -04:00
Brandon McQuilkin
0deb8ba55e
Switched the focus of the form cell from the map view to the text field.
2015-10-15 09:05:49 -04:00
Brandon McQuilkin
b24310adbc
Removed unnecessary variable.
2015-10-15 08:57:13 -04:00
Brandon McQuilkin
c138f6aa02
Marked constant span values as constants.
2015-10-15 08:56:28 -04:00
Brandon McQuilkin
49e541d1b7
Set the map region's coordinate directly.
2015-10-15 08:55:28 -04:00
Brandon McQuilkin
f22676a8e7
Switched isEqual to ORKEqualObjects
2015-10-15 08:54:17 -04:00
Brandon McQuilkin
d34749e1ef
Copy answer before setting the answer property
2015-10-15 08:52:34 -04:00
Brandon McQuilkin
0e4251d511
Directly use string from ABCreateStringWithAddressDictionary
2015-10-15 08:50:07 -04:00
Brandon McQuilkin
06ff988941
Removed unnecessary casts.
2015-10-15 08:49:26 -04:00
Brandon McQuilkin
3b3c907d39
Removed extra class from ORKResult.h
2015-10-15 08:47:27 -04:00
Brandon McQuilkin
b1515e0fc2
Removed unnecessary method.
2015-10-15 08:46:43 -04:00
Brandon McQuilkin
f9924ddbc0
Removed debug log from tests.
2015-10-15 08:44:24 -04:00
Brandon McQuilkin
bbde9865ee
suggestedCellHeightForView now returns a height based off of the screen metric.
2015-10-15 08:35:39 -04:00
Nidhi Gupta
cfa9e90d76
Corrected ORKOrderedTask description.
2015-10-15 00:13:12 -07:00
Andrew Hill
851bd4e2c5
Added ORKFormStep optional convenience initialiser.
...
Updated the optional form test to confirm all is working.
2015-10-15 04:13:05 +01:00
Yuan Zhu
9fbabf8f3b
Merge pull request #528 from rsanchezsaez/rsanchezsaez-ChartsPerformanceTest
...
ORKTest: add 'Test Charts Performance' item
2015-10-14 18:04:34 -07:00
Yuan Zhu
536a22f733
Merge pull request #526 from YuanZhu-apple/master_should_able_to_contine_with_default_value_on_scale
...
Refractor scale answer format
2015-10-14 17:42:31 -07:00
Yuan Zhu
e51c9b708a
Should set currentNumberValue to nil if passed in currentTextChoiceValue is not match any of the text choices.
2015-10-14 17:41:10 -07:00
Yuan Zhu
b45425ba72
Update API doc
2015-10-14 17:38:06 -07:00
Yuan Zhu
181651b365
Update string.
2015-10-14 17:35:00 -07:00
Yuan Zhu
b8d2c6bf86
Address review feedback
2015-10-14 17:33:42 -07:00
Ricardo Sánchez-Sáez
feb5f11e3e
CharDataSources.swift: add PerformanceLineGraphChartDataSource
2015-10-15 00:54:10 +01:00
Yuan Zhu
8d4b73ae8f
Style adjustment
2015-10-14 16:31:57 -07:00
Yuan Zhu
81e67dc6fa
Use _textChoices instead of self.textChoices
2015-10-14 16:30:24 -07:00
Yuan Zhu
e873af81d6
Style adjustment.
2015-10-14 16:24:19 -07:00
Yuan Zhu
59681fbab5
Other review feedback update.
2015-10-14 16:11:41 -07:00
Yuan Zhu
a3a53b7c68
Make separate ORKTextScaleAnswerFormatProvider to carry the methods for ORKTextScaleAnswerFormat
2015-10-14 15:59:28 -07:00
Yuan Zhu
a28e2596bd
Change protocol method from defaultNumber to defaultAnswer to better work with ScaleSliderView.
2015-10-14 15:50:04 -07:00
Yuan Zhu
f5e8b40f6d
Style update
2015-10-14 15:36:10 -07:00
Umer Khan
55bc242896
Removed disabled confirm textfield feature.
2015-10-14 14:51:18 -07:00
Umer Khan
d3dee01678
Refactored to view controller parameter rather than Class parameter.
2015-10-14 14:47:15 -07:00
Umer Khan
a6445546fd
Updated confirm text answer format.
2015-10-14 14:30:38 -07:00
Brandon McQuilkin
44a786d51d
Switch returned error message to localizedFailureReason.
2015-10-14 15:19:21 -04:00
Brandon McQuilkin
5954a6b254
Moved size of map to screen metric.
2015-10-14 15:15:04 -04:00
Brandon McQuilkin
06eecb054c
Updated serialization and unit tests of ORKPlacemark.
...
- Added ORKPlacemark to public header.
- Added NSSecureCoding, NSCopying, isEqual: to ORKPlacemark
- Finished replacing MKPlacemark to ORKPlacemark
- Updated ORKTestTests
2015-10-14 14:53:50 -04:00
Brandon McQuilkin
c38da58f6b
Added open source license.
2015-10-14 08:45:32 -04:00
Brandon McQuilkin
17c35e6765
Updated horizontal margins.
2015-10-14 08:44:34 -04:00
Umer Khan
1074eefbbe
Added confirm text answer format and cell.
2015-10-13 20:16:47 -07:00
Nidhi Gupta
6c54eea404
API reference edits incorporated (part 1)
2015-10-13 15:05:56 -07:00
Ricardo Sánchez-Sáez
daa267b8f0
ORKTest: add 'Test Charts Performance' item
2015-10-13 22:43:30 +01:00
Andrew Hill
7f66623c59
Merge branch 'ResearchKit/master'
2015-10-13 22:18:32 +01:00
Umer Khan
7854c619a3
Added LoginStep and refactored minor things.
2015-10-13 14:10:21 -07:00
Brandon McQuilkin
deef811bc9
Moved where the initial coordinate region is set.
2015-10-13 10:38:05 -04:00
Brandon McQuilkin
b9fff0e4c0
Removed extra text color change.
2015-10-13 10:23:05 -04:00
Brandon McQuilkin
f35e84189c
Removed extra answerDidChange call.
...
Fixed extra annotations bug.
2015-10-13 09:57:42 -04:00
Brandon McQuilkin
5ff0f9324a
Updated error message.
2015-10-13 09:48:44 -04:00
Brandon McQuilkin
35d33709b2
Added support for ORKNullAnswerValue to the selection view.
2015-10-13 09:46:28 -04:00
Brandon McQuilkin
0d9c98dd56
Fixed the selection view's first responder being ignored.
2015-10-13 08:14:39 -04:00
Yuan Zhu
2ac5e30d85
Refractor scale answer format.
...
1. fix for #511 "Continue button is disabled on scale with default values"
2. refactor ORKScaleSliderView to work better with three scale related answer format.
2015-10-12 16:23:22 -07:00
Umer Khan
d1e246bba4
Adding wait step to account creation task.
2015-10-12 14:46:00 -07:00
Yuan Zhu
0dc31e4593
Merge pull request #512 from md0u80c9/restorationData
...
RestorationData
2015-10-12 12:01:57 -07:00
Brandon McQuilkin
521dba3d4e
Removed invalid location answer error creation as it is not possible for the user to create an invalid coordinate.
2015-10-12 10:40:52 -04:00
Brandon McQuilkin
07e05298a0
Removed the MKPlacemark string conversion and replaced with a subclass of MKPlacemark.
2015-10-12 10:33:05 -04:00
Brandon McQuilkin
9214c48d41
Added ORKPlacemark class.
2015-10-12 10:06:38 -04:00
Brandon McQuilkin
ebdc7a218a
Added MKPlacemark serialization tests.
2015-10-12 09:47:03 -04:00
Brandon McQuilkin
3d9cc15c0b
Fixed issue where previously entered answer would be overridden with current location after coming back to the question.
2015-10-12 08:42:50 -04:00
Ricardo Sánchez-Sáez
f45722366c
ORKNavigableOrderedTask: add loop support information to headerdocs
2015-10-11 13:16:58 +01:00
Ricardo Sánchez-Sáez
10152cfb79
ORKNavigableOrderedTask: reverse backwards navigation iteration
...
This fixes the behavior correct when you have visited the same step more than once (otherwise you'd get the previous step on your first visit).
Also, stop iteration as soon as possible, and improve loop warning
2015-10-11 12:50:47 +01:00
Ricardo Sánchez-Sáez
038794df0d
ORKTaskViewController: make _managedStepIdentifiers array again
...
This is the original behavior, it follows the pop/push model. All the backward navigation stack is preserved, but older results which are ovewritten if you revisit the same step on a loop. Thus, going over a loop will produce duplicate results for the steps that are seen more than once (all the duplicate step results will point to the same result instance: the one corresponding to the last time you visited the step).
2015-10-11 12:46:53 +01:00
Ricardo Sánchez-Sáez
d74bfe956f
ORKResult: improve results' description
...
Also, use description to print task results in 'ORKTest'.
2015-10-11 12:42:47 +01:00
Steve Cadwallader
af9588fd93
Revert to property notation.
2015-10-10 16:13:47 -04:00
Steve Cadwallader
80ee2b8792
Mark three ORKLocationSelectionViewDelegate event callbacks as optional.
2015-10-10 16:12:10 -04:00
Steve Cadwallader
8dffe81ea7
Replace ORKNullAnswerValue test with more complete ORKIsAnswerEmpty.
2015-10-10 15:48:29 -04:00
Steve Cadwallader
95099e34de
Initialize the subview earlier, and access the placeholder directly from the form.
2015-10-10 15:42:47 -04:00
Steve Cadwallader
9dc22ff97e
Remove unimplemented applyAnswerFormat from ORKFormItemLocationCell.
2015-10-10 15:15:27 -04:00
Steve Cadwallader
df7a5d2ae4
Remove blank line in import statements.
2015-10-10 15:11:14 -04:00
Steve Cadwallader
475d84de73
Implement copyWithZone for ORKLocationAnswerFormat
2015-10-10 15:10:30 -04:00
Steve Cadwallader
cc6380af67
Utilize constants for JSON keys.
2015-10-10 14:29:42 -04:00
Ricardo Sánchez-Sáez
ebf3a5474d
Unit tests: test new navigable ordered task navigation model
2015-10-10 17:04:21 +01:00
Ricardo Sánchez-Sáez
f8a94a0f66
ORKTest: update unit tests
2015-10-10 16:47:48 +01:00
Ricardo Sánchez-Sáez
1afb67bf9e
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-NavigableOrderedTask
...
# Conflicts:
# Testing/ORKTest/ORKTest/MainViewController.m
2015-10-10 16:17:02 +01:00
Ricardo Sánchez-Sáez
258afcb7df
ORKTest: direclty call TaskFactory method
2015-10-10 16:07:05 +01:00
Ricardo Sánchez-Sáez
8a3882d85c
Fix ResearchKit unit tests not running due to Swift code
2015-10-10 16:06:46 +01:00
Ricardo Sánchez-Sáez
2bd667bc6f
ORKTest: rename Swift 'TestHelpers' to 'TaskFactory'
2015-10-10 15:39:11 +01:00
Ricardo Sánchez-Sáez
7a4715dd72
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# Testing/ORKTest/ORKTest/MainViewController.m
2015-10-10 15:37:12 +01:00
Umer Khan
8f7047220f
Merging master and resolving merge conflicts.
2015-10-09 14:58:04 -07:00
Yuan Zhu
fda01e8dd0
Merge pull request #518 from YuanZhu-apple/master_fix_First_Last_Name_logic_in_consent
...
Fix Issue #516 : Consent required name logic is invalid
2015-10-09 14:56:10 -07:00
Steve Cadwallader
8042df3127
Documentation tweak.
2015-10-09 17:40:50 -04:00
Steve Cadwallader
153726633f
Rename conversion methods to be more explicit about JSON strings.
2015-10-09 17:40:10 -04:00
Nidhi Gupta
4040d962a0
Added rules for scale answer format.
2015-10-09 12:07:26 -07:00
Steve Cadwallader
861211fa3b
Integrate MKPlacemark JSON serialization.
2015-10-09 10:28:03 -04:00
Steve Cadwallader
a8f6be61f3
Copyright updates
2015-10-09 08:38:43 -04:00
Steve Cadwallader
7c01903108
Replace spaces with tabs, to follow convention.
2015-10-09 08:05:25 -04:00
Steve Cadwallader
848800bcd6
Reintroduce Wait Step, resolution of merge conflict.
2015-10-09 07:58:51 -04:00
Steve Cadwallader
caa324ec79
Merge branch 'master' into LocationQuestion
2015-10-09 07:56:21 -04:00
Steve Cadwallader
27bf948f6d
Merge remote-tracking branch 'ResearchKit/master'
2015-10-09 07:45:26 -04:00
Nidhi Gupta
ed60c84a2d
Added vertical slider answer format.
2015-10-08 20:01:49 -07:00
Nidhi Gupta
e70d56142d
Incorporated active task's feedback.
...
Added ORKNavigableOrderedTask.
2015-10-08 19:40:49 -07:00
Yuan Zhu
a4c9286f29
Merge pull request #520 from umerkhan-apple/waitTask
...
Rearranging ORKTest and ORKCatalog for WaitTask.
2015-10-08 18:26:59 -07:00
Umer Khan
97c5ada28f
Rearranging ORKTest and ORKCatalog for WaitTask to comply with alphabetic ordering.
2015-10-08 18:21:11 -07:00
Umer Khan
fd0d4af750
Merge pull request #477 from QuintilesRK/WaitTask
...
Wait Task
2015-10-08 18:11:18 -07:00
Steve Cadwallader
dc81d8af3a
Remove identifier serialization from ORKPasscodeStep as well.
2015-10-08 21:05:05 -04:00
Steve Cadwallader
deac6b5de0
Remove incorrect serialization of identifier for ORKWaitStep (defined in base class).
2015-10-08 21:04:25 -04:00
Steve Cadwallader
2c504f4b01
Merge remote-tracking branch 'ResearchKit/master'
2015-10-08 20:58:39 -04:00
Steve Cadwallader
db4b19b229
Add ORKQuestionTypeLocation to section types.
2015-10-08 20:51:57 -04:00
Steve Cadwallader
129d2ac3df
Add Apple to copyright headers
2015-10-08 20:37:46 -04:00
Steve Cadwallader
0790e52a5a
Replace remaining reference to indicatorType with indicatorMask, resolving unit test issue.
2015-10-08 20:31:09 -04:00
Umer Khan
9784c1425a
Merge pull request #476 from QuintilesRK/ValidatedText
...
Validated Text
2015-10-08 17:26:20 -07:00
Steve Cadwallader
df13dca4d9
Update two copyright headers.
2015-10-08 20:20:39 -04:00
Steve Cadwallader
acfce230b4
Re-implement the cached percent formatter.
2015-10-08 20:19:10 -04:00
Steve Cadwallader
bfac86d706
Merge pull request #1 from umerkhan-apple/waitStep
...
Wait Step
2015-10-08 20:14:08 -04:00
Steve Cadwallader
c2e2951d6f
Cache the regular expression.
2015-10-08 19:52:39 -04:00
Steve Cadwallader
36a578549b
Refactor common initialization code out into a commonInit method.
2015-10-08 19:34:35 -04:00
Yuan Zhu
165e107ddc
Fix Issue #516 : Consent required name logic is invalid
...
#516
Should update this code after we adding in #443 .
2015-10-08 15:43:44 -07:00
Yuan Zhu
e32efc4ec2
Merge pull request #515 from YuanZhu-apple/master_fix_unit_test
...
Clear unexpected exceptions from unit tests.
2015-10-08 14:40:53 -07:00
Yuan Zhu
3479c35fb3
Code refactor
2015-10-08 13:32:07 -07:00
Umer Khan
74fbc9af77
Merge branch 'waitStep' of https://github.com/umerkhan-apple/ResearchKit into waitStep
2015-10-08 12:57:00 -07:00
Yuan Zhu
ec91b7b139
Clear unexpected exceptions from unit tests.
...
- `HTMLForSignature:` would throw exception on a nil `signature.title`
2015-10-08 12:56:46 -07:00
Umer Khan
d4403704ce
Re-ordering wait task in ORKTest to stay consistent with alphabetic ordering.
2015-10-08 12:52:57 -07:00
Umer Khan
4919e0fc0c
Refactoring WaitStep logic and formatting.
2015-10-08 12:48:33 -07:00
Andrew Hill
4c49283504
removed duplicate self.delegate allocation
2015-10-08 19:31:48 +01:00
Brandon McQuilkin
26a094e05f
Merge branch 'master' of https://github.com/ResearchKit/ResearchKit into WaitTask
...
Conflicts:
samples/ORKCatalog/ORKCatalog/Tasks/TaskListRow.swift
2015-10-08 14:23:27 -04:00
Brandon McQuilkin
d6504c68ef
Undo deletion of MKPlacemark category.
2015-10-08 14:15:08 -04:00
Brandon McQuilkin
f90af1ce01
Added MapKit Framework to ORKTest project.
2015-10-08 14:10:21 -04:00
Steve Cadwallader
ae6fcf4ce4
Re-insert ValidatedTextQuestion cases that were incorrectly merged out in 52d5fca
2015-10-08 14:07:33 -04:00
Brandon McQuilkin
8730a26be1
Updated initializer for ORKLocationSelectionView.
2015-10-08 11:57:00 -04:00
Brandon McQuilkin
20d6defb6f
Added property to enable/disable automatically retrieving the user's current location.
2015-10-08 11:37:26 -04:00
Brandon McQuilkin
cf917dc208
Added serialization tests for location step and result.
2015-10-08 11:12:13 -04:00
Brandon McQuilkin
47ad36d906
Added the location permission request string to ORKTest to enable automatic location retrieval.
2015-10-08 09:40:51 -04:00
Brandon McQuilkin
e69228445a
Updated ORKCatalog's info.plist with the new location permission request string.
2015-10-08 09:35:52 -04:00
Brandon McQuilkin
90619ac2af
Removed unnecessary method that caused the wrong value to be set to the ORKLocationQuestionResult's locationAnswer property.
2015-10-08 09:34:00 -04:00
Brandon McQuilkin
43c4b892b2
Added new lines before and after imports.
2015-10-08 09:05:11 -04:00
Brandon McQuilkin
1c2028ce5d
Updated legal headers in MKPlacemark category.
2015-10-08 09:03:06 -04:00
Brandon McQuilkin
29942a01d5
Added address field placeholder to localized strings.
2015-10-08 09:02:01 -04:00
Brandon McQuilkin
c159d6db61
Updated cell expansion animation.
2015-10-08 09:00:51 -04:00
Brandon McQuilkin
7635528b2f
Removed extra line from localized strings.
2015-10-08 08:56:39 -04:00
Brandon McQuilkin
d5b6b0f87a
Refactored ORKSurveyAnswerCellDelegate method name to be in line with the ORKFormItemCell.
2015-10-08 08:55:54 -04:00
Brandon McQuilkin
328b8421a3
Switched constants from #define to static const CGFloat
2015-10-08 08:52:35 -04:00
Brandon McQuilkin
b4a2cbebd0
Removed prefixes from location selection view constants.
2015-10-08 08:51:27 -04:00
Brandon McQuilkin
9a749c5489
Added non null assumptions.
2015-10-08 08:49:06 -04:00
Brandon McQuilkin
09272a78df
Removed second unused method.
2015-10-08 08:47:06 -04:00
Brandon McQuilkin
92ae7cf071
Removed unused method.
2015-10-08 08:46:36 -04:00
Brandon McQuilkin
b5568e278b
Renamed ORKFormItemLocationCell's constraint set up method.
2015-10-08 08:46:03 -04:00
Brandon McQuilkin
33864f1012
Updated error strings for invalid coordinates.
2015-10-08 08:44:28 -04:00
Brandon McQuilkin
2534e6b20e
Fixed syntax error.
2015-10-08 08:21:44 -04:00
Andrew Hill
56b50e9296
Removed a wandering ')' seemed to have slipped the net.
2015-10-08 11:09:44 +01:00
Steve Cadwallader
8eb756b96c
Merge conflicts
2015-10-07 22:07:17 -04:00
Steve Cadwallader
52d5fcabe7
Merge branch 'master' into ValidatedText
2015-10-07 22:05:11 -04:00
Steve Cadwallader
bf07984430
Merge remote-tracking branch 'ResearchKit/master'
2015-10-07 21:56:53 -04:00
Steve Cadwallader
0554cbd6f1
Implement serialization, copying, and equality logic for regex and invalidMessage. Resolves unit test failures.
2015-10-07 21:55:47 -04:00
Ricardo Sánchez-Sáez
b34d1ecd29
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
2015-10-07 23:23:08 +01:00
Ricardo Sánchez-Sáez
f3c7c53e21
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-NavigableOrderedTask
2015-10-07 23:14:38 +01:00
John Earl
59045b27a5
Revert changes from bad merge at c113deb
2015-10-07 14:59:59 -07:00
Umer Khan
14ea5cc282
Updated changes to ORKLoginStep.
2015-10-07 14:05:14 -07:00
Ricardo Sánchez-Sáez
ec04a5c633
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-NavigableOrderedTask
2015-10-07 22:03:27 +01:00
Ricardo Sánchez-Sáez
f1e4941f3f
ORKNavigableOrderedStack: use task results for backwards navigation
...
This commits removes ORKNavigableOrderedTask's '_stepIdentifierStack' ivar (used for backwards navigation) and uses the managed task results instead. The managed task result will only show results for the steps that have been previously visited, so it can be used to simulate the backwards navigation stack.
The ORKTaskViewController's '_managedStepIdentifiers' ivar has been converted into an 'NSMutableOrderedSet'. When an already visited step is shown (either by going back, or by following a loop in a navigable ordered task), all the managed step identifiers which come later than the step being shown are removed.
This commit also updates the 'ORKTest' to remove the "Save For Later" task archiving (which is no longer needed) and updates the 'Ordered Loop Task' example to be more comprehensive by featuring a branched question.
2015-10-07 22:03:03 +01:00
Steve Cadwallader
bb01f0bb4d
Utilize string formatting for error messages. Update comments. Change location of ORKTest URL test to in-line beneath e-mail.
2015-10-07 16:53:50 -04:00
Andrew Hill
7ebc03c93f
Ensure we set up the delegate.
2015-10-07 21:43:38 +01:00
Andrew Hill
413bc6682a
Amended ORKTaskViewController initWithTask to take a nullable restorationData field.
...
Updated ORKTest to allow us to test this out.
tested with NavigableOrderedTask.
2015-10-07 21:22:26 +01:00
Andrew Hill
9ccf4fb743
Merge branch 'ResearchKit/master'
2015-10-07 21:12:31 +01:00
Andrew Hill
723075a61f
Merge branch 'ResearchKit/master' into restorationData
2015-10-07 21:11:53 +01:00
Ricardo Sánchez-Sáez
c659539a45
ORKResult: homogenize results 'description' strings
...
Also: add result description for 'ORKCollectionResult' and 'ORKQuestionResult'.
2015-10-07 20:29:46 +01:00
Ricardo Sánchez-Sáez
48661fe670
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# Testing/ORKTest/ORKTest/MainViewController.m
2015-10-07 19:54:33 +01:00
Ricardo Sánchez-Sáez
b9fadc1b87
ORKTest: add 'Navigable Loop Task'
...
The 'Navigable Loop Task' allows testing of optional 'ORKNavigableOrderedTask' looping (when you loop, all the navigation history after the targeted step is discareded).
Also:
- Improve style and conform to naming conventions in MainViewController.m.
2015-10-07 19:17:08 +01:00
Yuan Zhu
11dc10e66e
Merge pull request #509 from YuanZhu-apple/master_fix_save_for_later
...
If a task in ORKTest has been cancelled and saved, the output directory should be kept.
2015-10-07 10:32:42 -07:00
Yuan Zhu
6911fe614f
Update for feedback.
2015-10-07 10:26:10 -07:00
Brandon McQuilkin
452665de14
Merge ResearchKit/master into ResearchKit/LocationQuestion
2015-10-07 10:43:32 -04:00
Brandon McQuilkin
1f352c39d2
Updated ORKWaitStep serialization.
2015-10-07 09:23:34 -04:00
Brandon McQuilkin
e42c92004a
Fixed syntax error.
2015-10-07 09:18:57 -04:00
Brandon McQuilkin
17ac3f5177
Updated changed method name in ORKTest.
2015-10-07 09:09:53 -04:00
Brandon McQuilkin
400da43f42
Cached the percent formatter.
2015-10-07 09:07:23 -04:00
Brandon McQuilkin
c0aed6d641
Merge branch 'master' of https://github.com/ResearchKit/ResearchKit into WaitTask
...
Conflicts:
samples/ORKCatalog/ORKCatalog/Tasks/TaskListRow.swift
2015-10-07 09:05:22 -04:00
Brandon McQuilkin
f7e9c672e2
Added serialization tests for the wait step.
2015-10-07 08:26:48 -04:00
Yuan Zhu
7f106898e2
Merge pull request #462 from rsanchezsaez/rsanchezsaez-changelog
...
Add CHANGELOG.md
2015-10-06 15:58:12 -07:00
Yuan Zhu
d3da59a4f6
In ORKTest, if a task has been cancelled and saved, the output directory should be kept.
...
ORKURLFromBookmarkData() fails to return a valid URL, when the resolving directory is not exist.
2015-10-06 14:33:47 -07:00
Umer Khan
8a78e95ebb
Added Login step and updated documentation.
2015-10-06 13:55:28 -07:00
Umer Khan
c113deb1a3
Merge branch 'master' of https://github.com/ResearchKit/ResearchKit
2015-10-06 13:36:09 -07:00
Brandon McQuilkin
3097232bd5
Converted weakSelf to strongSelf in block.
2015-10-06 15:13:14 -04:00
Brandon McQuilkin
04a55343bc
Cleaned up imports.
2015-10-06 15:07:06 -04:00
Brandon McQuilkin
485e6035e0
Updated percent string to use NSNumberFormatter
2015-10-06 14:59:29 -04:00
Brandon McQuilkin
785ea40fc4
Constraint handling updated.
...
Static constraints now set up in setUpConstraints
Changing constraints now set up in updateConstraints if needed.
2015-10-06 14:55:07 -04:00
Ricardo Sánchez-Sáez
69319a3c5e
RELEASE-NOTES.md: fix typo
2015-10-06 20:47:39 +02:00
Brandon McQuilkin
c10ab44036
Consolidated indicator mask view creation.
2015-10-06 14:47:01 -04:00
Brandon McQuilkin
3fdbad88b2
Updated framework headers.
2015-10-06 14:27:35 -04:00
Brandon McQuilkin
2287b99b86
Moved wait task creation code in ORKTest
2015-10-06 14:23:02 -04:00
Brandon McQuilkin
3d6a7fa481
Updated accessibility to read out the progress value.
2015-10-06 14:16:03 -04:00
Brandon McQuilkin
0759764889
Added hard line wraps.
2015-10-06 14:07:05 -04:00
Brandon McQuilkin
e3ab9d75ef
Removed unnecessary tint color management
2015-10-06 14:03:12 -04:00
Brandon McQuilkin
f401dcf94d
Moved the wait step classes into the common folder.
2015-10-06 13:57:01 -04:00
Brandon McQuilkin
b941379779
Refactored the wait step into a normal step.
2015-10-06 13:54:16 -04:00
Steve Cadwallader
f2d13d1305
Reordered Validated Text Question between Value Picker and Image Capture per @rsanchezsaez feedback.
2015-10-06 11:59:33 -04:00
Brandon McQuilkin
96e5f26f7d
Updated the result to return a placemark
2015-10-06 11:17:36 -04:00
Steve Cadwallader
cecef562a9
Update localizedInvalidValueStringWithAnswerString to check both string length and regex validity when building a string.
2015-10-06 10:44:27 -04:00
Steve Cadwallader
7d2d04239f
Remove emailAddress from ORKTextAnswerFormat.
2015-10-06 10:28:44 -04:00
Steve Cadwallader
2b649f9e12
Split out method for isTextRegexValidWithString. Update initializers to match recent argument changes.
2015-10-06 10:22:30 -04:00
Steve Cadwallader
a9478c3cb0
Remove assignment to local variables per review feedback.
2015-10-06 09:23:11 -04:00
Steve Cadwallader
9b64b9c0f0
Change the argument name for textAnswerFormatWithValidationExpression. Reorder properties to be grouped together. Correct outdated documentation.
2015-10-06 09:18:51 -04:00
Ricardo Sánchez-Sáez
ac0f3c542c
RELEASE-NOTES.md: take care of internal review feedback
...
Also:
- Encode '(' and ')' symbols in URL (they interferred with markdown syntax).
- Use Title Capitalization for all section titles.
- Mention "General stability and performance improvements" on each release introducion instead of as a separate section.
2015-10-06 14:36:53 +02:00
Umer Khan
2e356cac03
Added confirm passcode field.
2015-10-05 16:55:51 -07:00
Yuan Zhu
91d4fa7890
Merge pull request #498 from ResearchKit/localizationFix
...
IOI # 495 - Localization fallback language
2015-10-05 13:37:42 -07:00
Yuan Zhu
18504e9ffe
Merge pull request #493 from umerkhan-apple/touchID
...
Passcode updates
2015-10-05 13:21:46 -07:00
Umer Khan
d80ca89094
PR update.
2015-10-05 13:11:32 -07:00
Umer Khan
706900ff07
Updated ORKVerificationStepView controls and constraints.
2015-10-05 13:03:17 -07:00
Brandon McQuilkin
20cfa9f588
Fixed layout constraint errors
...
Note: The height of the cell separator needs to be accounted for, it is
subtracted from the cell height returned/calculated by the UITableView.
2015-10-05 14:49:08 -04:00
Steve Cadwallader
76aef1a069
Naming tweak from setupConstraints to setUpConstraints for consistency.
2015-10-05 14:18:11 -04:00
Steve Cadwallader
4afe6dcf77
Merge from master
2015-10-05 14:11:07 -04:00
Steve Cadwallader
4d82dcb8f3
Merge branch 'master' into WaitTask
2015-10-05 14:09:58 -04:00
Steve Cadwallader
d2c381fefb
Merge remote-tracking branch 'ResearchKit/master'
2015-10-05 13:51:34 -04:00
Brandon McQuilkin
fbfeb233fa
Clearing the text field now resets the map view to its initial state
2015-10-05 09:51:14 -04:00
Brandon McQuilkin
2a4b1b370a
Automatically obtain user's location upon presenting the map view
2015-10-05 09:37:28 -04:00
Brandon McQuilkin
52ef002a67
Address now updated immediately after search
2015-10-05 09:34:05 -04:00
Brandon McQuilkin
65e2946cba
Keyboard dismissed on search
2015-10-05 09:33:28 -04:00
Brandon McQuilkin
52fbba25b8
Fixed layout issues for the ORKQuestionStep
2015-10-05 09:27:21 -04:00
Brandon McQuilkin
73c59a40b9
Added location question result to the result table view.
2015-10-05 08:09:49 -04:00
Brandon McQuilkin
87c6feceaa
Removed current location button
2015-10-05 08:09:15 -04:00
Brandon McQuilkin
4bfc412626
Sorted the location question alphabetically in the catalog
2015-10-02 22:49:27 -04:00
Brandon McQuilkin
8621b38a89
Added array contents to constraints array
2015-10-02 22:33:29 -04:00
Brandon McQuilkin
8517354463
Fixed missing metric values.
2015-10-02 22:29:12 -04:00
Brandon McQuilkin
250d016306
Switch true/false to YES/NO
2015-10-02 22:28:13 -04:00
Steve Cadwallader
a2a73b1661
Merge latest ResearchKit/master
2015-10-02 16:57:35 -04:00
Nidhi Gupta
46e61011a2
Active tasks revised.
2015-10-02 13:26:34 -07:00
Steve Cadwallader
13ab769dd8
Add suportsSecureCoding to ORKWaitStep, addressing unit test issue.
2015-10-02 16:10:40 -04:00
Steve Cadwallader
30f3900307
Copyright statement updates
2015-10-02 15:52:42 -04:00
Brandon McQuilkin
f85a4c0c06
Moved coordinate translator into a helper method.
2015-10-02 15:51:15 -04:00
Steve Cadwallader
32fc46f896
Remove ORKProgressIndicatorMaskNone option, and add additional documentation.
2015-10-02 15:50:34 -04:00
Umer Khan
f15940f83e
Modified task view controller and ORKStep to allow for custom class variable.
2015-10-02 11:38:03 -07:00
Steve Cadwallader
310080fc8e
Switched ORKEmailAnswerFormat to utilize ORKTextAnswerFormat with EmailValidationRegex. Removed isEmailAddressValidWithString. Disabled spell checking and auto correction.
2015-10-02 14:31:33 -04:00
Pavel Kanzelsberger
b41e0be80f
More refactoring, weakSelf / strongSelf and others...
2015-10-02 09:26:49 +02:00
Pavel Kanzelsberger
c7d1d99b32
Switched from UIActivityIndicator to ORKProgressView
2015-10-02 08:55:07 +02:00
Umer Khan
684dd82c15
Added constraints.
2015-10-01 20:56:00 -07:00
Umer Khan
c0ff5bc6e0
Minor update.
2015-10-01 18:14:20 -07:00
Umer Khan
d2381657fa
Adding ORKVerificationStepView foundation.
2015-10-01 18:09:27 -07:00
Umer Khan
3463f1a16f
Added ORKVerificationStepViewController foundation.
2015-10-01 17:26:31 -07:00
Umer Khan
9878b34c2a
Added Verification Step.
2015-10-01 17:08:30 -07:00
Umer Khan
81bc7221d1
Nit fix.
2015-10-01 16:45:40 -07:00
Umer Khan
a5bb7b5506
PR updates.
2015-10-01 16:38:37 -07:00
Nidhi Gupta
921b280a3b
Added all the new task in Active task module.
2015-10-01 16:04:51 -07:00
Yuan Zhu
d313ab3a45
Merge pull request #497 from oliverschaefer/issue471
...
IOI 471
2015-10-01 15:32:59 -07:00
Umer Khan
73657854d4
Adding localization fallback to be U.S. English.
2015-10-01 15:18:05 -07:00
Umer Khan
7dc91f531d
Quick fix.
2015-10-01 14:44:04 -07:00
Oliver Sch√§fer
294ec34d47
IOI 471
2015-10-01 23:38:01 +02:00
Umer Khan
bcfb0b4dbb
Minor keyboard fix.
2015-10-01 13:45:12 -07:00
Umer Khan
82c325d6c7
Updating serialization files.
2015-10-01 10:42:26 -07:00
Yuan Zhu
c7bd1f5c41
Merge pull request #490 from YuanZhu-apple/master_fix_section_title_misalignment
...
Fixed the section header misalignment in form page.
2015-09-30 22:42:39 -07:00
Yuan Zhu
bdb6849ab5
Merge pull request #483 from YuanZhu-apple/master_improve_json_unit_test
...
Make the test for ORKESerialization to catch unregistered classes.
2015-09-30 22:41:45 -07:00
Yuan Zhu
6d1d22d9fa
Fixed the section header misalignment in form page.
...
1. Created `ORKFormSectionHeaderView` to update it constraint when screen rotates.
2. Use `dequeueReusableHeaderFooterViewWithIdentifier:` to cache created header views.
3. Other code refactoring.
2015-09-30 17:56:52 -07:00
Umer Khan
393a2bf404
Updates to Registration Step.
2015-09-30 17:18:48 -07:00
Yuan Zhu
f828fbd8c4
Merge pull request #488 from rsanchezsaez/rsanchezsaez-ORKTest
...
ORKTest: add 'Passcode' section and sort items alphabetically
2015-09-30 16:15:22 -07:00
Ricardo Sánchez-Sáez
27193727e9
ORKTest: add 'Passcode' section and sort items alphabetically
2015-10-01 00:10:10 +01:00
Yuan Zhu
a7173cc746
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master_improve_json_unit_test
...
Conflicts:
Testing/ORKTest/ORKTest/ORKESerialization.m
2015-09-30 15:15:42 -07:00
Yuan Zhu
b0977b55e0
Merge pull request #487 from umerkhan-apple/touchID
...
Passcode Module Update
2015-09-30 15:06:40 -07:00
Yuan Zhu
6d792cfd83
Merge pull request #486 from YuanZhu-apple/master_fix_audio_UI
...
Fix audio task layout problem
2015-09-30 14:57:54 -07:00
Umer Khan
fb6b1ab2c5
PR updates.
2015-09-30 14:48:38 -07:00
Yuan Zhu
ab729432b4
Merge pull request #456 from umerkhan-apple/screening
...
Screening Module ⎯ Eligibility Answer Format
2015-09-30 14:29:18 -07:00
Umer Khan
5b5e53bdc3
Minor update.
2015-09-30 14:28:25 -07:00
Umer Khan
2b6c69e01d
Resolving merge conflicts.
2015-09-30 14:26:08 -07:00
Umer Khan
fb1c5e9b9a
Resolving merge conflicts
2015-09-30 14:11:59 -07:00
Umer Khan
f4b4d2aee1
Minor fixes.
2015-09-30 14:08:06 -07:00
Umer Khan
96478c583d
Error handling updates to Passcode.
2015-09-30 14:04:26 -07:00
Yuan Zhu
a796e6cc1e
Merge pull request #373 from shazino/9hpt-task
...
Hole Peg Test task
2015-09-30 14:03:51 -07:00
Umer Khan
8599553a79
Updates to passcode
2015-09-30 11:41:10 -07:00
Yuan Zhu
8197c147e1
Fix audio task layout problem.
2015-09-30 11:19:54 -07:00
Umer Khan
8bdb32fc7a
Updates
2015-09-30 10:42:43 -07:00
Julien Thérier
16f9b1dbe1
Merge remote-tracking branch 'origin/9hpt-task' into 9hpt-task
2015-09-30 17:00:14 +02:00
Julien Thérier
9459e330d5
Merge branch 'master' of ResearchKit/ResearchKit
2015-09-30 16:42:27 +02:00
Julien Thérier
78be958aea
Fix ORKTest issue.
2015-09-30 16:22:23 +02:00
Pavel Kanzelsberger
3c9291ed24
Refactored code as requested
2015-09-30 09:24:38 +02:00
Yuan Zhu
5454cf83e1
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master_improve_json_unit_test
...
Conflicts:
ResearchKit.xcodeproj/project.pbxproj
2015-09-29 23:48:54 -07:00
Yuan Zhu
b4e8a91474
Merge pull request #444 from umerkhan-apple/touchID
...
IOI # 88 - Passcode w/TouchID
2015-09-29 23:45:15 -07:00
Pavel Kanzelsberger
829f93523a
Refactored code as requested
2015-09-30 08:22:59 +02:00
Umer Khan
98b0acaeb7
Disabling init for ORKPasscodeViewController.
2015-09-29 20:39:43 -07:00
Umer Khan
91a9acb9ef
Modifying question text for eligibility task to the generic example question.
2015-09-29 20:31:50 -07:00
Umer Khan
71bdaab7be
Updates to registration step.
2015-09-29 20:27:17 -07:00
Umer Khan
3e18a08690
Added registration step.
2015-09-29 18:07:18 -07:00
Yuan Zhu
63b8bea246
Enhance the test for ORKESerialization to catch unregistered classes.
...
Also add the missing class registrations.
2015-09-29 18:01:23 -07:00
Ricardo Sánchez-Sáez
7a1a1c6cdd
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-changelog
2015-09-30 01:25:19 +01:00
Ricardo Sánchez-Sáez
2b7f05fd96
RELEASE-NOTES.md: minor improvements
2015-09-30 01:25:08 +01:00
Umer Khan
234f40306a
Merging master
2015-09-29 14:00:49 -07:00
Umer Khan
66218e4e28
Added serialization.
2015-09-29 13:56:38 -07:00
Umer Khan
130898cafd
Added serialization.
2015-09-29 13:47:10 -07:00
Yuan Zhu
7db4bf50c8
Merge pull request #481 from matteocrippa/pdfsignaturenullable
...
signature.title exception on null
2015-09-29 13:01:45 -07:00
Pavel Kanzelsberger
feb26fa506
Refactored code as requested
2015-09-29 18:15:53 +02:00
Umer Khan
c317b30e82
Minor documentation update.
2015-09-28 14:41:46 -07:00
Umer Khan
af6b027b7c
Added Passcode Task into ORKCatalog and minor fixes.
2015-09-28 14:25:21 -07:00
Matteo Crippa
3c715cc211
fixed Signature capitalized
2015-09-28 23:09:32 +02:00
Matteo Crippa
c7bddcf4d5
signature.title exception on null
2015-09-27 15:02:06 +02:00
Julien Therier
ad9eefb19a
Remove spoken instruction.
2015-09-25 21:01:48 +02:00
Julien Thérier
537e67af78
Fix ORKTest issue.
2015-09-25 11:11:14 +02:00
Julien Thérier
1c16398bc7
Change ORKSide to ORKBodySagittal
2015-09-25 10:09:14 +02:00
Umer Khan
ca292c1987
Nits
2015-09-24 18:26:15 -07:00
Umer Khan
7a9009759e
Minor fix.
2015-09-24 18:22:09 -07:00
Umer Khan
2040bbd095
Updated documentation in answer format and adde eligibility task example in ORKCatalog.
2015-09-24 18:18:53 -07:00
Umer Khan
111ac5627a
Minor refactoring fix.
2015-09-24 15:45:29 -07:00
Umer Khan
57f911a4bb
Refactoring ORKEligibilityAnswerFormat after PR discussion.
2015-09-24 15:42:50 -07:00
Eric Rolf
17776d04a4
Merge branch 'master' into LocationQuestion
...
* master: (114 commits)
ResearchKit Project: add explicit 'ORK_LOG_LEVEL_WARNING=1'
ORKImageSelectionView: resolve merge conflict
ORKTest: fix column width not being updated after rotation
ORKImageCaptureStepViewController: restore 'queue_' method prefix
ORKTappingContentView: slight constraint refactor
ORKSkin: hide 'ORKGetMetricForScreenType()' function; use 'ORKGetMetricForWindow()' instead
Misc: remove extra newlines before 'else'
Misc: remove additional space after '!' unary operator
Misc: homegenize whitespace between consecutive closing and opening brackets
ORKTaskViewController: whitespace
Misc: homogenize for the more common 'cannot' instead of 'can not' in exception messages
Misc: whitespace between '==' operator
Misc: some additional constraint homogeneization of recently merged active tasks
Misc: remove needless empty class extensions
Misc: use 'has' instead of 'have' when refering to singular noun
ORKFormItemCell: use VerticalMargin and HorizontalMargin const names
Misc: remove space between '!' unary operator and operand
Misc: use property syntax for accessing 'font', 'ascender', 'descender', and 'window'
Misc: use property syntax for 'allValues' and 'allKeys'
ORKDataLogger: use previous configuration file key for backwards compatibility
...
2015-09-24 07:19:45 -04:00
Eric Rolf
66b7806bce
Merge branch 'master' into ValidatedText
...
* master: (114 commits)
ResearchKit Project: add explicit 'ORK_LOG_LEVEL_WARNING=1'
ORKImageSelectionView: resolve merge conflict
ORKTest: fix column width not being updated after rotation
ORKImageCaptureStepViewController: restore 'queue_' method prefix
ORKTappingContentView: slight constraint refactor
ORKSkin: hide 'ORKGetMetricForScreenType()' function; use 'ORKGetMetricForWindow()' instead
Misc: remove extra newlines before 'else'
Misc: remove additional space after '!' unary operator
Misc: homegenize whitespace between consecutive closing and opening brackets
ORKTaskViewController: whitespace
Misc: homogenize for the more common 'cannot' instead of 'can not' in exception messages
Misc: whitespace between '==' operator
Misc: some additional constraint homogeneization of recently merged active tasks
Misc: remove needless empty class extensions
Misc: use 'has' instead of 'have' when refering to singular noun
ORKFormItemCell: use VerticalMargin and HorizontalMargin const names
Misc: remove space between '!' unary operator and operand
Misc: use property syntax for accessing 'font', 'ascender', 'descender', and 'window'
Misc: use property syntax for 'allValues' and 'allKeys'
ORKDataLogger: use previous configuration file key for backwards compatibility
...
Conflicts:
ResearchKit/Common/ORKAnswerFormat.m
2015-09-24 07:18:44 -04:00
Eric Rolf
c79b228fba
Merge branch 'master' into WaitTask
...
* master: (114 commits)
ResearchKit Project: add explicit 'ORK_LOG_LEVEL_WARNING=1'
ORKImageSelectionView: resolve merge conflict
ORKTest: fix column width not being updated after rotation
ORKImageCaptureStepViewController: restore 'queue_' method prefix
ORKTappingContentView: slight constraint refactor
ORKSkin: hide 'ORKGetMetricForScreenType()' function; use 'ORKGetMetricForWindow()' instead
Misc: remove extra newlines before 'else'
Misc: remove additional space after '!' unary operator
Misc: homegenize whitespace between consecutive closing and opening brackets
ORKTaskViewController: whitespace
Misc: homogenize for the more common 'cannot' instead of 'can not' in exception messages
Misc: whitespace between '==' operator
Misc: some additional constraint homogeneization of recently merged active tasks
Misc: remove needless empty class extensions
Misc: use 'has' instead of 'have' when refering to singular noun
ORKFormItemCell: use VerticalMargin and HorizontalMargin const names
Misc: remove space between '!' unary operator and operand
Misc: use property syntax for accessing 'font', 'ascender', 'descender', and 'window'
Misc: use property syntax for 'allValues' and 'allKeys'
ORKDataLogger: use previous configuration file key for backwards compatibility
...
2015-09-24 07:12:18 -04:00
Julien Thérier
0398fb3767
Add margins using ORKStandardHorizontalMarginForView.
2015-09-24 12:19:41 +02:00
Julien Thérier
f168e02e9e
Merge master and fix conflicts.
2015-09-24 11:44:43 +02:00
Julien Thérier
5d1ed481e3
Add margin for pegs.
2015-09-24 10:17:22 +02:00
Umer Khan
7cd75c4d40
PR updates.
2015-09-23 18:01:33 -07:00
Umer Khan
aa58b643a0
Merge remote-tracking branch 'upstream/master' into screening
2015-09-23 16:53:20 -07:00
Umer Khan
3b0ce6478b
PR changes.
2015-09-23 16:53:04 -07:00
Yuan Zhu
c545aa8cbb
Merge pull request #449 from rsanchezsaez/rsanchezsaez-logging
...
Revamp logging system
2015-09-23 16:37:24 -07:00
Ricardo Sánchez-Sáez
74ff026b92
ResearchKit Project: add explicit 'ORK_LOG_LEVEL_WARNING=1'
...
Adds explicit warning log level to 'Debug' and 'Release' 'Preprocessor Macros' setting in Xcode's Build Settings.
2015-09-24 00:07:40 +01:00
Umer Khan
257ee610b7
Added authenticationPasscodeType property for factory view controller support.
2015-09-23 15:29:06 -07:00
Ricardo Sánchez-Sáez
79b9351433
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
2015-09-23 21:38:23 +01:00
Ricardo Sánchez-Sáez
359f8f3387
ORKImageSelectionView: resolve merge conflict
2015-09-23 21:37:50 +01:00
Ricardo Sánchez-Sáez
1f7c856fdb
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-logging
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKHealthQuantityTypeRecorder.m
# ResearchKit/ActiveTasks/ORKTowerOfHanoiStep.m
# ResearchKit/Common/ORKImageSelectionView.m
# ResearchKit/Common/ORKTaskViewController.m
# ResearchKit/Consent/ORKEAGLMoviePlayerView.m
2015-09-23 21:37:24 +01:00
Yuan Zhu
58a5a2c3b2
Merge pull request #474 from rsanchezsaez/rsanchezsaez-ORKTest
...
ORKTest: fix column width not being updated after rotation
2015-09-23 12:50:26 -07:00
Yuan Zhu
54f064247e
Merge pull request #343 from rsanchezsaez/rsanchezsaez-constraints
...
Constraint code homogenization
2015-09-23 12:50:17 -07:00
Ricardo Sánchez-Sáez
3f35a49f50
ORKTest: fix column width not being updated after rotation
...
Also: make scroll view to use 3 columns for view widths equal or greater than the iPhone 6 in landscape (667 points).
2015-09-23 20:24:12 +01:00
Eric Rolf
c16c929054
Updated Attributions.
2015-09-23 10:08:58 -04:00
Eric Rolf
be6a922554
Updated Attributions.
2015-09-23 10:07:40 -04:00
Ricardo Sánchez-Sáez
3711ab342c
Release Notes: split iPad and iPhone Landscape support into two items
2015-09-23 00:36:07 +01:00
Ricardo Sánchez-Sáez
908f7b0f5f
ORKImageCaptureStepViewController: restore 'queue_' method prefix
2015-09-23 00:30:49 +01:00
Ricardo Sánchez-Sáez
1be6949c2d
Release Notes: added contributions attribution
2015-09-23 00:21:17 +01:00
Umer Khan
fc4e8a9915
PR updates.
2015-09-22 16:15:07 -07:00
Umer Khan
413e607258
PR changes.
2015-09-22 16:08:01 -07:00
Eric Rolf
7847c813a5
Added Location Question to ORKTest.
2015-09-22 18:39:23 -04:00
Eric Rolf
956549c320
Initial commit for location question.
...
Includes:
Location Question
Location Question Answer Format
Location Question Form Cell
Location Survey Answer
2015-09-22 18:16:08 -04:00
Eric Rolf
709e4b818c
Merge branch 'master' into WaitTask
...
* master:
Fixes #465
2015-09-22 16:44:23 -04:00
Eric Rolf
8a6f0a35bd
Merge branch 'master' into ValidatedText
...
* master:
Fixes #465
2015-09-22 16:44:12 -04:00
Umer Khan
b218db0f63
Merging master
2015-09-22 12:52:33 -07:00
Umer Khan
8fe483a5e0
Merging master
2015-09-22 12:44:31 -07:00
Umer Khan
3a555592ff
PR changes.
2015-09-22 12:38:13 -07:00
Ricardo Sánchez-Sáez
4fb39abac9
Release Notes: indent Result Predicates-related paragraph
2015-09-22 19:50:50 +01:00
Ricardo Sánchez-Sáez
fbaf85ae9b
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-changelog
2015-09-22 19:48:54 +01:00
Yuan Zhu
11a0427883
Merge pull request #470 from shazino/fix-#465
...
Increase tapping timestamp precision
2015-09-22 10:55:16 -07:00
Julien Thérier
d23e188d64
Fixes #465
2015-09-22 09:39:55 +02:00
Eric Rolf
d70ee216c8
Added Validated text to ORKTest App, updated to support validators.
2015-09-21 21:14:26 -04:00
Eric Rolf
0cd42556f5
Initial Validated Text Commit
2015-09-21 21:07:52 -04:00
Eric Rolf
3daec83a7f
ORKTest App updated with WaitTask.
2015-09-21 20:41:21 -04:00
Ricardo Sánchez-Sáez
ed44fd84d9
ORKTappingContentView: slight constraint refactor
2015-09-22 01:28:30 +01:00
Eric Rolf
be9d2e3486
Wait Task Initial Commit
2015-09-21 20:21:01 -04:00
Ricardo Sánchez-Sáez
dc78de8fdd
ORKSkin: hide 'ORKGetMetricForScreenType()' function; use 'ORKGetMetricForWindow()' instead
...
This is simpler to understand and easier to maintain. It handles all 'nil' window cases in one place.
2015-09-22 01:14:07 +01:00
Ricardo Sánchez-Sáez
21f1dbb5af
Misc: remove extra newlines before 'else'
2015-09-22 00:55:14 +01:00
Ricardo Sánchez-Sáez
7bc31391fa
Misc: remove additional space after '!' unary operator
2015-09-22 00:53:22 +01:00
Ricardo Sánchez-Sáez
e932d118b9
Misc: homegenize whitespace between consecutive closing and opening brackets
2015-09-22 00:52:36 +01:00
Ricardo Sánchez-Sáez
874386987a
ORKTaskViewController: whitespace
2015-09-22 00:49:00 +01:00
Ricardo Sánchez-Sáez
2b27a9d038
Misc: homogenize for the more common 'cannot' instead of 'can not' in exception messages
2015-09-22 00:47:17 +01:00
Ricardo Sánchez-Sáez
293e0ed23c
Misc: whitespace between '==' operator
2015-09-22 00:43:04 +01:00
Ricardo Sánchez-Sáez
c322e0455d
Misc: some additional constraint homogeneization of recently merged active tasks
2015-09-22 00:41:04 +01:00
Ricardo Sánchez-Sáez
9960b4376f
Misc: remove needless empty class extensions
2015-09-22 00:29:24 +01:00
Ricardo Sánchez-Sáez
1d3adbba45
Misc: use 'has' instead of 'have' when refering to singular noun
2015-09-22 00:26:46 +01:00
Ricardo Sánchez-Sáez
07d1aba216
ORKFormItemCell: use VerticalMargin and HorizontalMargin const names
2015-09-22 00:09:16 +01:00
Ricardo Sánchez-Sáez
b69d40a86b
Misc: remove space between '!' unary operator and operand
2015-09-21 23:49:18 +01:00
Ricardo Sánchez-Sáez
633f9eaaef
Misc: use property syntax for accessing 'font', 'ascender', 'descender', and 'window'
2015-09-21 23:44:50 +01:00
Ricardo Sánchez-Sáez
2edf7bc481
Misc: use property syntax for 'allValues' and 'allKeys'
2015-09-20 17:30:22 +01:00
Ricardo Sánchez-Sáez
92620b782b
ORKDataLogger: use previous configuration file key for backwards compatibility
2015-09-20 17:09:01 +01:00
Ricardo Sánchez-Sáez
06ca255bb1
Misc: remove 'k' prefix from constants (as per the Coding Style Guide)
2015-09-20 16:51:29 +01:00
Ricardo Sánchez-Sáez
5baa3a423a
Misc: more binary operator whitespace fixes
2015-09-20 16:37:39 +01:00
Ricardo Sánchez-Sáez
b56e622ea0
Misc: use property format for accessing screen 'scale'
2015-09-20 16:34:33 +01:00
Ricardo Sánchez-Sáez
9fad01dd0c
Misc: homogenize whitespace around binary operators
...
Also remove the 'k' prefix on some constants.
2015-09-20 16:32:34 +01:00
Ricardo Sánchez-Sáez
f2c751a71f
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-09-20 16:08:43 +01:00
Ricardo Sánchez-Sáez
06d9244c80
RELEASE-NOTES.md: add notes about 'scale answer format' and 'result predicate' improvements in v1.2
...
Also use the proper 'Scale Answer Format' name (instead of 'Slider Answer Format').
2015-09-20 15:35:28 +01:00
Ricardo Sánchez-Sáez
6004058c50
RELEASE-NOTES.md: add notes on required Xcode version
2015-09-20 15:13:18 +01:00
Ricardo Sánchez-Sáez
cc1e1ae435
RELEASE-NOTES.md: fix indentation of task descriptions
2015-09-18 12:34:42 +01:00
Yuan Zhu
be6d351bb3
Merge pull request #459 from YuanZhu-apple/master_fix_consent_animation
...
Fix consent animation.
2015-09-17 17:58:02 -07:00
Yuan Zhu
eac89e0119
Fix typo and rearrange some restoreGLContext code
2015-09-17 17:56:12 -07:00
Ricardo Sánchez-Sáez
e035236314
Add 'RELEASE-NOTES.md'
2015-09-18 00:56:10 +01:00
Ricardo Sánchez-Sáez
ea0c6a1cf8
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/Consent/ORKConsentReviewController.m
2015-09-17 02:00:00 +01:00
Ricardo Sánchez-Sáez
48cc58f04c
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
2015-09-17 01:46:03 +01:00
Ricardo SaÃÅnchez-SaÃÅez
6c97c550ed
ORKEAGLMoviePlayerView: promote OpenGL failure messages from warning to error
2015-09-17 01:20:03 +01:00
Ricardo SaÃÅnchez-SaÃÅez
50b3f1d170
ORKTaskViewController, ORKStepViewController: replace 'NSLog' by 'ORK_Log_Warning'
2015-09-17 01:19:24 +01:00
Umer Khan
601b16a985
Refactored PasscodeTextField logic.
2015-09-16 14:27:09 -07:00
Julien Thérier
ecb0fde9c5
Merge remote-tracking branch 'ResearchKit/master'
2015-09-16 17:40:17 +02:00
Yuan Zhu
81be7627eb
Fix consent animaton.
...
Root cause: old playerView's dealloc happens on the new EAGLContext(wrong) of new playerView.
Save/Restore EAGLContext in each of the methods which do GL drawing.
This make more than one GLContext lives together.
2015-09-15 18:18:56 -07:00
Umer Khan
f94929daae
Added optional error message property.
2015-09-15 11:03:43 -07:00
Ricardo Sánchez-Sáez
8d7ab7861c
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-logging
2015-09-15 15:03:05 +02:00
Yuan Zhu
ce3f17d45f
Release 1.2.1 with Fix blank consent html review page.
2015-09-14 15:53:06 -07:00
Yuan Zhu
1354181f84
Merge pull request #457 from YuanZhu-apple/master_fix_blank_consent_review
...
Fix `blank` consent html review page.
2015-09-14 15:41:17 -07:00
Ricardo Sánchez-Sáez
395d2727c6
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-09-14 23:49:40 +02:00
Yuan Zhu
7f67d9c4da
Merge pull request #440 from rsanchezsaez/rsanchezsaez-master-charts
...
Charts: add 'graphChartView:drawsVerticalReferenceLineAtPointIndex:' method
2015-09-14 14:20:19 -07:00
Yuan Zhu
2c5b5cda7d
Merge pull request #438 from rsanchezsaez/rsanchezsaez-master-ORKTest
...
ORKTest: add icon and launch xib
2015-09-14 14:19:48 -07:00
Yuan Zhu
4fd95efe57
Merge pull request #450 from rsanchezsaez/rsanchezsaez-documentation
...
ORKAnswerFormat: fix headerdoc warnings
2015-09-14 14:19:03 -07:00
Yuan Zhu
fb223bb1bb
Fix blank consent html review page.
2015-09-14 13:58:30 -07:00
Umer Khan
831f136cd1
Added ability to recover answer and changed label type for form item cell.
2015-09-14 13:27:05 -07:00
Umer Khan
6ad9ad52af
Minor fix.
2015-09-13 14:47:25 -07:00
Umer Khan
b28d5e6456
Minor fixes.
2015-09-13 14:45:15 -07:00
Umer Khan
d7f9987ede
Added eligibility answer format.
2015-09-13 14:19:14 -07:00
Ricardo Sánchez-Sáez
86aaeae857
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKAudioContentView.m
# ResearchKit/Common/ORKImageCaptureView.m
2015-09-11 00:45:38 +01:00
Ricardo Sánchez-Sáez
642bc3db80
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# Testing/ORKTest/ORKTest/MainViewController.m
2015-09-11 00:36:07 +01:00
Ricardo Sánchez-Sáez
af0ca497d5
ORKAnswerFormat: fix headerdoc wanings
...
Also: hard wrap documentation at line 100.
2015-09-10 23:47:31 +01:00
Yuan Zhu
75f62ee5f7
Merge pull request #448 from YuanZhu-apple/master_add_workspace
...
Add a single workspace that includes RK, ORKTest, and ORKCatalog for convenience
2015-09-10 15:26:08 -07:00
Umer Khan
bd63d1576b
Minor fix.
2015-09-10 15:22:28 -07:00
Yuan Zhu
a4c521203c
Merge pull request #443 from rsanchezsaez/rsanchezsaez-OptionalFormItems
...
ORKFormItem: implement 'optional' property
2015-09-10 14:58:17 -07:00
Umer Khan
b8aba5459e
Refactored keychain wrapper and added unit tests.
2015-09-10 14:51:49 -07:00
Ricardo Sánchez-Sáez
f0507b973f
ORKHelpers: add my copyright info to the header
2015-09-10 22:44:34 +01:00
Ricardo Sánchez-Sáez
58a9366bf5
Programming Guide: rename logging section to Logging Errors and Warnings
2015-09-10 22:35:23 +01:00
Ricardo Sánchez-Sáez
5b298d17a7
ORKHelpers: fix 'ORK_LOG_LEVEL_NONE' not working
2015-09-10 22:12:37 +01:00
Ricardo Sánchez-Sáez
bca3ceae78
Programming Guide: add 'Logging Level' section
2015-09-10 22:06:45 +01:00
Ricardo Sánchez-Sáez
d8c0ecbd1d
ORKHelpers: revamped logging system
...
Also:
- Changes some (mildly) serious error messages from the DEBUG to the WARNING level.
- Remove the line number from ORK logging as it's noisy (we already have the function).
---
There are now four logging levels controlled by 4 preprocessor macros and their corresponding logging macros:
- ORK_LOG_LEVEL_NONE
- ORK_LOG_LEVEL_DEBUG, ORK_Log_Debug()
- ORK_LOG_LEVEL_WARNING, ORK_Log_Warning()
- ORK_LOG_LEVEL_ERROR, ORK_Log_Error()
Setting the ORK_LOG_LEVEL_NONE macro to 1 completely silences all RK logs. Setting ORK_LOG_LEVEL_DEBUG, or one of the higher levels, to 1, enables logging at that level and at all the higher levels.
If you do not specify a log level, 'ORK_LOG_LEVEL_WARNING=1' is used by default.
You have to set this preprocessor macros to your ResearchKit subproject, not to your main project. You can do so in Xcode by adding any of them to the 'Preprocessor Macros' list on your ResearchKit target's Build Settings.
See this resources if you are using ResearchKit through CocoaPods and need to change the log level:
- http://www.mokacoding.com/blog/cocoapods-and-custom-build-configurations/
- http://stackoverflow.com/a/30038120/269753
2015-09-10 21:39:15 +01:00
Yuan Zhu
133b154023
Add a single workspace that includes RK, ORKTest, and ORKCatalog for convenience
2015-09-10 13:10:51 -07:00
Yuan Zhu
95baa8b943
Update README.md
...
Stable branch works with Xcode 7.0 compatible now.
2015-09-09 17:14:52 -07:00
Yuan Zhu
0e433640c4
Merge branch 'stable'
2015-09-09 17:12:21 -07:00
Yuan Zhu
e1faf6587c
Release 1.2
2015-09-09 17:02:51 -07:00
Yuan Zhu
939d298809
Update RK and its apps bundle version to 1.2
2015-09-09 16:28:08 -07:00
Ricardo Sánchez-Sáez
1ae771ee80
ORKFormStep: rename 'non-optional' to 'required' on headerdocs and ORKTest's visible strings
...
It's the recommended practice for expressing non-optionality according to RFC 2119 (https://www.ietf.org/rfc/rfc2119.txt ).
2015-09-09 10:49:20 +01:00
Julien Thérier
c5b14925bd
Merge remote-tracking branch 'ResearchKit/master'
...
Syncing fork
2015-09-09 10:30:36 +02:00
Umer Khan
fa40e30ee3
Updated documentation.
2015-09-08 18:37:13 -07:00
Umer Khan
8736dd5165
Merge remote-tracking branch 'upstream/master' into touchID
2015-09-08 17:54:40 -07:00
Ricardo Sánchez-Sáez
4917b34291
ORKFormItem: set 'optional' default value to 'YES'
...
Also adds headers to the 'Optional Form' example.
2015-09-09 01:51:36 +01:00
Umer Khan
29d3e0da89
Renamed ORKKeychainStore to ORKKeychainWrapper.
2015-09-08 17:49:11 -07:00
Umer Khan
9b68f5188f
Enhancements to keychain store.
2015-09-08 17:31:59 -07:00
Ricardo Sánchez-Sáez
ed3503370d
ORKDiscreteGraphChartView: fix small typo
2015-09-09 01:20:49 +01:00
Ricardo Sánchez-Sáez
43480170aa
ORKFormItem: implement 'optional' property
...
Also add 'ORKCatalog' example.
2015-09-08 23:52:11 +01:00
Umer Khan
fdaf18198f
Consolidated delegates, updated API, and minor fixes.
2015-09-08 13:57:36 -07:00
Ricardo Sánchez-Sáez
aee5c48875
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-master-charts
...
# Conflicts:
# ResearchKit/Charts/ORKGraphChartView.h
# Testing/ORKTest/ORKTest/Charts/ChartDataSources.swift
# samples/ORKCatalog/ORKCatalog/Charts/ChartDataSources.swift
2015-09-08 20:38:33 +01:00
Umer Khan
521715f7dd
Added keychain for passcode storing.
2015-09-08 11:12:06 -07:00
Yuan Zhu
68572aefe2
Merge branch 'convergence'
2015-09-08 10:50:52 -07:00
Yuan Zhu
f179e15e5c
Merge pull request #442 from rsanchezsaez/rsanchezsaez-convergence-charts
...
Charts: update ORKCatalog to use new data source method (convergence)
2015-09-08 10:18:10 -07:00
Ricardo Sánchez-Sáez
731b65d65c
ORKCatalog: update graphChartView(graphChartView:, titleForXAxisAtPointIndex:)' method to use new name
2015-09-08 10:00:10 +01:00
Yuan Zhu
b584258946
Use ORKLocalizedStringFromNumber()
...
# Conflicts:
# Testing/ORKTest/ORKTest/Charts/ChartDataSources.swift
2015-09-08 09:55:28 +01:00
Ricardo Sánchez-Sáez
6ff53717a4
ORKCatalog: update graphChartView(graphChartView:, titleForXAxisAtPointIndex:)' method to use new name
2015-09-08 09:51:46 +01:00
Yuan Zhu
d123688395
Merge pull request #441 from YuanZhu-apple/convergence_crash_fix_2
...
Use `ORKLocalizedStringFromNumber()`
2015-09-08 00:50:35 -07:00
Yuan Zhu
ca4a954d08
Use ORKLocalizedStringFromNumber()
2015-09-08 00:47:46 -07:00
Yuan Zhu
57fbde9b46
Merge pull request #439 from rsanchezsaez/rsanchezsaez-convergence-charts
...
ORKGraphChartView: fix accessibility crash when 'graphChartView:titleForXAxisAtPointIndex:' is not implemented
2015-09-08 00:37:58 -07:00
Ricardo Sánchez-Sáez
d46ab216f4
ORKGraphChartView: implement 'graphChartView:drawsVerticalReferenceLineAtPointIndex:' method
2015-09-08 01:55:55 +01:00
Ricardo Sánchez-Sáez
b6bee7e9de
ORKGraphChartView: fix accessibility crash when 'graphChartView:titleForXAxisAtPointIndex:' is not implemented
...
# Conflicts:
# ResearchKit/Charts/ORKGraphChartView.h
2015-09-08 01:55:41 +01:00
Ricardo Sánchez-Sáez
0dd06a572b
ORKGraphChartView: fix accessibility crash when 'graphChartView:titleForXAxisAtPointIndex:' is not implemented
2015-09-08 00:53:33 +01:00
Ricardo Sánchez-Sáez
7272291eb7
ORKTest: add new icon
2015-09-07 23:08:09 +01:00
Ricardo Sánchez-Sáez
57be36482c
ORKTest: nicer LaunchScreen
2015-09-07 00:34:38 +01:00
Ricardo Sánchez-Sáez
c7d180b3ad
Misc: update '__nullable' annotations to '_Nullable' (Xcode 7 style)
...
Also remove unneeded nullability annotations from implementation files.
2015-09-07 00:05:42 +01:00
Ricardo Sánchez-Sáez
ed6913e2ad
ORKHeadlineLabel: access 'windows' using property syntax
2015-09-06 23:29:13 +01:00
Ricardo SaÃÅnchez-SaÃÅez
9f79e144ce
ORKScaleAnswerFormat: small whitespace fix
2015-09-06 23:18:39 +01:00
Ricardo Sánchez-Sáez
185789dfb3
ORKScaleSliderView: homogenize text choice slider constraints
...
Also, related to text choice slider:
- Move label-creating code to init.
- Do not create needless views on init.
- Other small improvements.
2015-09-06 23:08:50 +01:00
Ricardo Sánchez-Sáez
5445b67b41
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/Common/ORKScaleSlider.m
# ResearchKit/Common/ORKScaleSliderView.m
2015-09-06 22:28:08 +01:00
Yuan Zhu
66286a80c9
Merge pull request #435 from YuanZhu-apple/master_add_text_init
...
Add another convenient constructor for ORKQuestionStep
2015-09-04 15:42:44 -07:00
Yuan Zhu
a2e4d559bc
Merge pull request #437 from rsanchezsaez/rsanchezsaez-convergence-iPadLayout
...
iPad: fix separator inset in 'numeric' and 'text' questions
2015-09-04 15:42:34 -07:00
Umer Khan
d9addcf469
Removing custom keyboard.
2015-09-04 12:32:40 -07:00
Ricardo Sánchez-Sáez
f32c069be5
ORKSurveyAnswerCell: clip overflow separator inset (iPad)
2015-09-04 20:05:10 +01:00
Ricardo Sánchez-Sáez
c55ce91fb9
ORKTableViewCell: fix wrong separator inset on numeric and text questions (iPad)
2015-09-04 20:03:30 +01:00
Yuan Zhu
7ba00fb853
Remove extra .
2015-09-04 11:29:43 -07:00
Yuan Zhu
e4e2626823
Add another convenient constructor for ORKQuestionStep
...
The `text` attribute is easy missed by developers.
2015-09-04 11:27:56 -07:00
Umer Khan
48178b01c2
Merged master and added accessibility support.
2015-09-04 10:57:35 -07:00
Yuan Zhu
8b847e4de0
Merge pull request #392 from umerkhan-apple/textSlider
...
IOI # 230 - Text scale slider
2015-09-04 10:54:37 -07:00
Ricardo Sánchez-Sáez
2a76ff2a2e
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKTappingContentView.m
# ResearchKit/ActiveTasks/ORKToneAudiometryContentView.m
# ResearchKit/ActiveTasks/ORKTowerOfHanoiTowerView.m
# ResearchKit/Common/ORKFormItemCell.m
# ResearchKit/Common/ORKHelpers.m
# ResearchKit/Common/ORKScaleSliderView.m
# ResearchKit/Common/ORKSkin.h
# ResearchKit/Common/ORKSkin.m
# ResearchKit/Common/ORKVerticalContainerView.m
# ResearchKit/Consent/ORKConsentReviewController.m
# ResearchKit/Consent/ORKConsentSignatureController.m
# ResearchKit/Consent/ORKSignatureView.m
# Testing/ORKTest/ORKTest/MainViewController.m
2015-09-04 18:38:40 +01:00
Julien Thérier
caa24b9ae6
Restore Tapping Content View.
2015-09-04 16:45:27 +02:00
Julien Thérier
0a3d938f8a
Restore Tapping Content View.
2015-09-04 16:43:08 +02:00
Julien Thérier
1ea4960c29
Merge remote-tracking branch 'ResearchKit/master'
...
Sync with remote repo.
2015-09-04 15:36:40 +02:00
Julien Thérier
7013e954bc
Merge remote-tracking branch 'origin/master' into 9hpt-task
...
Merge master to fix conflicts.
2015-09-04 15:29:07 +02:00
Julien Thérier
ec8c36260c
Improve legibility.
2015-09-04 15:17:34 +02:00
Julien Therier
cfeb39ef5c
Merge pull request #1 from rsanchezsaez/rsanchezsaez-holepegtask
...
Hole Peg Test Task images
2015-09-04 11:37:28 +02:00
Umer Khan
b56bda5aaa
Updating constraint merge conflict.
2015-09-03 23:53:30 -07:00
Umer Khan
a9857da213
Minor formatting updates.
2015-09-03 23:44:56 -07:00
Umer Khan
3b3ec14acd
Merge master
2015-09-03 23:35:26 -07:00
Umer Khan
c499309897
Minor formatting updates.
2015-09-03 22:24:59 -07:00
Umer Khan
b813690c67
Minor enhancements
2015-09-03 21:29:18 -07:00
Yuan Zhu
714f29e185
Merge pull request #432 from rsanchezsaez/rsanchezsaez-master-ORKTest
...
ORKTest: project files reorganization
2015-09-03 18:26:58 -07:00
Yuan Zhu
d752d4d926
Merge pull request #420 from rsanchezsaez/master-Catalog
...
Reorganize 'ORKCatalog' into subsections
2015-09-03 18:15:50 -07:00
Umer Khan
050cea0c51
Refactored protocol method name.
2015-09-03 17:55:45 -07:00
Umer Khan
5a20aeab03
Added custom numeric pad keyboard.
2015-09-03 17:54:49 -07:00
Ricardo SaÃÅnchez-SaÃÅez
748d13e56e
ORKCatalog: update 'readme.md' to add formatting and information about sections
2015-09-04 00:54:23 +01:00
Ricardo SaÃÅnchez-SaÃÅez
e9f3bc919b
ResultTableViewProviders: reorder code to match TaskListRow
2015-09-04 00:53:34 +01:00
Ricardo Sánchez-Sáez
b17dda9697
ORKCatalog: reorganize project files so they are easier to browse
2015-09-04 00:32:56 +01:00
Ricardo Sánchez-Sáez
729ef4fa58
TaskListRow: reorder 'form task' in front of 'survey task' (alphabetically)
2015-09-04 00:22:57 +01:00
Ricardo Sánchez-Sáez
e9cc5ea800
Merge branch 'master' of github.com:ResearchKit/ResearchKit into master-Catalog
...
# Conflicts:
# samples/ORKCatalog/ORKCatalog/Tasks/TaskListRow.swift
2015-09-04 00:21:00 +01:00
Ricardo Sánchez-Sáez
090b976083
ResearchKit unit tests: remove needless framework directory
...
(It caused a warning when running them.)
2015-09-03 22:32:57 +01:00
Ricardo Sánchez-Sáez
bd32b0ad24
ORKTest: remove needless framework directory
...
(It caused a warning when running unit tests.)
2015-09-03 22:32:30 +01:00
Ricardo Sánchez-Sáez
d86edbc3f2
ORKTest: file structure reorganization so the project is easier to browse
2015-09-03 22:31:40 +01:00
Umer Khan
a7c7aa7466
Adding UI foundation for custom numeric keyboard.
2015-09-03 13:40:43 -07:00
Yuan Zhu
60d2cbeb69
Loc string update (930 12-3)
2015-09-03 13:09:05 -07:00
Yuan Zhu
7bd76e6b5e
Merge pull request #418 from YuanZhu-apple/convergence_fix_NaN_in_Chart
...
Convergence fix NaN crash in chart
2015-09-02 18:19:52 -07:00
Yuan Zhu
9f198a12b6
Merge pull request #423 from YuanZhu-apple/convergence_fix_audio_task_overlapping
...
Fixed the graph view and time label overlapping.
2015-09-02 18:18:23 -07:00
Yuan Zhu
86634b140c
Merge pull request #425 from umerkhan-apple/splitViewFix
...
Fix for starting image capture step in split view.
2015-09-02 18:01:05 -07:00
Yuan Zhu
72da218778
Add Accessibility section to CONTRIBUTING.md
2015-09-02 17:44:47 -07:00
Yuan Zhu
89571ef876
Merge pull request #426 from rsanchezsaez/rsanchezsaez-master-ORKTest
...
Use sectioned 'UICollectionView' for presenting buttons in 'ORKTest'
2015-09-02 17:27:07 -07:00
Yuan Zhu
b925584f9c
Merge pull request #428 from rsanchezsaez/rsanchezsaez-charts-convergence
...
Charts: add lightweight generics to all array declarations
2015-09-02 17:13:01 -07:00
Yuan Zhu
dc6bb27f57
Merge pull request #416 from rsanchezsaez/rsanchezsaez-FormPredicates
...
Result predicates: add support for form item results and nil results
2015-09-02 17:12:43 -07:00
Ricardo SaÃÅnchez-SaÃÅez
1c200251e8
ORKResultPredicate: update remaining headerdoc comments to reflect the new 'result selector' name
2015-09-03 01:11:50 +01:00
Yuan Zhu
6f0decb0ff
Merge pull request #429 from rsanchezsaez/rsanchezsaez-convergence-ChartsHeaderdocs
...
Charts: additional headerdoc improvements
2015-09-02 17:11:36 -07:00
Ricardo SaÃÅnchez-SaÃÅez
812151c51d
Charts: additional headerdoc improvements
...
Also added my copyright info.
2015-09-03 01:00:06 +01:00
Ricardo SaÃÅnchez-SaÃÅez
14715e2c32
ORKGraphChartView: remove remaining cast
2015-09-03 00:31:46 +01:00
Ricardo SaÃÅnchez-SaÃÅez
bdad58b3a7
ORKCatalog: add copyright info and fix leading space omission to the copyright headers
2015-09-03 00:14:53 +01:00
Ricardo SaÃÅnchez-SaÃÅez
c79b0eebe9
ORKTest: move 'Mini Form' and 'Selection Survey' to the 'Question Steps' section
...
Also adds copyright information.
2015-09-03 00:11:43 +01:00
Ricardo Sánchez-Sáez
1a7efab0e6
Merge branch 'convergence' of github.com:ResearchKit/ResearchKit into rsanchezsaez-charts-convergence
2015-09-03 00:02:34 +01:00
Ricardo SaÃÅnchez-SaÃÅez
5df57bcbda
Charts: add lightweight generics to all arrays declarations
...
This allows to remove all the array-accessing casts.
Detected and fixed a few incorrect CALayer to CAShapeLayer casts.
I have also removed the 'dataPointAtPlotIndex:pointIndex:' method since it no longer provides any advantage over directly accessing the generics-parametrized array.
2015-09-03 00:02:08 +01:00
Yuan Zhu
a6cea16fef
Merge pull request #427 from YuanZhu-apple/convergence_doc_update
...
Small header doc update
2015-09-02 15:36:25 -07:00
Yuan Zhu
76d4555f74
Small header doc update
2015-09-02 15:35:38 -07:00
Ricardo SaÃÅnchez-SaÃÅez
de05c7a632
ORKTest: use sectioned UICollectionView to organize test buttons
2015-09-02 23:21:54 +01:00
Ricardo SaÃÅnchez-SaÃÅez
0d07828edc
ORKTest: fix storyboard warnings
2015-09-02 23:19:19 +01:00
Umer Khan
bb50755b2e
Fix for starting image capture step in split view.
2015-09-02 14:55:01 -07:00
Yuan Zhu
527609982a
Merge branch 'convergence'
2015-09-02 14:35:36 -07:00
Yuan Zhu
32b5e37486
Merge branch 'convergence' of github.com:ResearchKit/ResearchKit into convergence_fix_NaN_in_Chart
...
Conflicts:
ResearchKit/Charts/ORKGraphChartView.m
2015-09-02 11:15:44 -07:00
Umer Khan
01cb0e77be
PR updates.
2015-09-02 11:13:50 -07:00
Yuan Zhu
419f209346
Merge pull request #422 from YuanZhu-apple/convergence_fix_uuid
...
Fix recorder file naming
2015-09-02 10:58:41 -07:00
Yuan Zhu
2338e097c4
Use dot access
2015-09-02 10:57:48 -07:00
Umer Khan
1fdd29c308
Adding example in main view controller and minor updates.
2015-09-02 10:54:02 -07:00
Yuan Zhu
c6a2660a2e
Fixed the graph view and time label overlapping.
...
Some how it works after I removed the constraints in GraphView.
2015-09-01 18:23:20 -07:00
Umer Khan
b6e185284b
Minor update to consent.
2015-09-01 17:44:05 -07:00
Umer Khan
ade8879d54
Refacted factory methods of ORKPasscodeStepViewController into ORKPasscodeViewController
2015-09-01 17:35:08 -07:00
Yuan Zhu
04a1ec81d7
Should use [_recorderUUID uuidString] instead of [_recorderUUID description]
2015-09-01 17:09:10 -07:00
Ricardo SaÃÅnchez-SaÃÅez
015be2da3a
ORKCatalog: replace 'Survey Questions' indentation by a new section
2015-09-02 00:56:20 +01:00
Ricardo SaÃÅnchez-SaÃÅez
2650360476
ORKCatalog: reorganize into alphabetically-sorted sections mirroring the project's readme
2015-09-02 00:02:53 +01:00
Yuan Zhu
a786a661b2
Loc string update (905 11-5)
2015-09-01 14:48:51 -07:00
Umer Khan
d42e7eca38
Adding protocol methods.
2015-09-01 14:42:00 -07:00
Ricardo SaÃÅnchez-SaÃÅez
074a00e2ae
ORKResultPredicate: refactor 'ORKResultIdentifier' class by renaming it to 'ORKResultSelector'
...
Also:
- Improve documentation.
- Update ORKTest example and unit tests.
2015-09-01 22:34:21 +01:00
Yuan Zhu
f7b8901fd2
Merge pull request #384 from rsanchezsaez/rsanchezsaez-codingstyleguide
...
Coding Style Guide: add 'Nullability Annotations' section
2015-09-01 14:04:24 -07:00
Yuan Zhu
db5e374880
Merge pull request #403 from rsanchezsaez/rsanchezsaez-iPadLayoutFixes
...
iPad: constraint and layoutMargin code fixes
2015-09-01 14:03:14 -07:00
Yuan Zhu
d2fed86772
Merge pull request #408 from rsanchezsaez/rsanchezsaez-charts-convergence
...
Charts improvements
2015-09-01 14:02:56 -07:00
Yuan Zhu
a8b1c3658e
Merge pull request #417 from YuanZhu-apple/convergence_loc_AB_RTL
...
Should adjust PageViewControllerNavigationDirection for RTL
2015-09-01 14:01:45 -07:00
Ricardo SaÃÅnchez-SaÃÅez
c01d530cde
ORKCatalog: use new enum to String conversion for identifiers
2015-09-01 20:53:07 +01:00
Yuan Zhu
85598e297b
numberOfXAxisPoints should be NSInteger
2015-09-01 12:00:00 -07:00
Yuan Zhu
71b00ba7f6
Fix NaN crash in chart
2015-09-01 11:56:03 -07:00
Ricardo SaÃÅnchez-SaÃÅez
82acd5aedb
ORKGraphChartView subclasses: use helper method for accessing data points
2015-09-01 02:23:50 +01:00
Ricardo Sánchez-Sáez
81f4b1e4cc
Merge branch 'convergence' of github.com:ResearchKit/ResearchKit into rsanchezsaez-charts-convergence
2015-09-01 01:27:27 +01:00
Yuan Zhu
7c80613f1b
Should adjust PageViewControllerNavigationDirection for RTL
2015-08-31 17:23:03 -07:00
Ricardo SaÃÅnchez-SaÃÅez
d2c7ac3cd8
ORKGraphChartView: add helper method for accessing data points
2015-09-01 01:16:00 +01:00
Ricardo SaÃÅnchez-SaÃÅez
ceec6adf1a
ORKResultPredicate: greatly simplified API by introducing the 'ORKResultIdentifier' wrapper class
...
Also:
- Update tests.
- Update 'Navigable ordered task' example.
2015-09-01 00:56:22 +01:00
Yuan Zhu
2f6247a0ed
Merge pull request #411 from YuanZhu-apple/convergence_loc_text_alignment
...
Fix text label layout problem in right-to-left UI.
2015-08-31 15:01:32 -07:00
Yuan Zhu
87034055b4
Merge pull request #414 from YuanZhu-apple/convergence_consider_placeholder_in_ORKFormItemTextFieldBasedCell_layout
...
Fix placeholder get truncated in FormItemCell.
2015-08-31 15:00:43 -07:00
Yuan Zhu
0093289888
Refactor the code and add documentation.
2015-08-31 14:03:56 -07:00
Yuan Zhu
f8037c08df
Merge pull request #413 from YuanZhu-apple/convergence_show_family_name_first_for_Vietnamese
...
Show family name first for Vietnamese
2015-08-31 13:57:31 -07:00
Yuan Zhu
24a7d469da
Format adjustment
2015-08-31 13:54:49 -07:00
Ricardo SaÃÅnchez-SaÃÅez
dffbaeee6b
ORKResultPredicate: make ORKChoiceQuestionResult predicates to accept any kind of answer object (instead of just strings)
...
Also:
- Fixed problem in nil answer result predicate methods.
- Updated 'ORKTest' example.
- Updated test cases.
- Removed needless predicate convenience method test cases.
2015-08-31 21:45:54 +01:00
Yuan Zhu
2507aa5804
Merge pull request #410 from YuanZhu-apple/convergence_loc_AB_RTL
...
Add right arrow backbutton to support `UIUserInterfaceLayoutDirectionRightToLeft`
2015-08-31 13:18:34 -07:00
Ricardo SaÃÅnchez-SaÃÅez
c45d2cb856
ORKResultPredicate: use '==' instead of 'like' for plain string comparisons
...
(We don't generally want to match wildcard characters.)
2015-08-31 20:38:41 +01:00
Umer Khan
7e5b5b45ec
Minor updates for authentication flow.
2015-08-31 12:34:09 -07:00
Ricardo Sánchez-Sáez
739d22b5d3
ORKResultPredicate: small headerdoc improvement
2015-08-31 05:53:46 +01:00
Umer Khan
070f449c57
Added more passcode flows.
2015-08-30 20:58:25 -07:00
Ricardo SaÃÅnchez-SaÃÅez
43c544b4d0
ORKGraphChartView: use fixed yAxisView width instead of proportional sizing
...
It was getting too wide on the landscape orientation and on iPad. I think the developer should be able to size the graph chart view as they wish without that affecting the yAxisView size.
2015-08-31 01:03:30 +01:00
Ricardo SaÃÅnchez-SaÃÅez
f76c960846
ORKResultPredicate: add 'predicateForNilQuestionResultWithTaskIdentifier:stepIdentifier:resultIdentifier:' method to match results with a nil answer (skipped steps or unanswered form questions)
2015-08-31 00:31:01 +01:00
Ricardo SaÃÅnchez-SaÃÅez
a5640cb4b1
ORKResultPredicate: add optional 'stepIdentifier' argument to all method, to allow matching form item results.
...
Also: use new methods in newly added form predicate.
Result predicates without a supplied 'stepIdentifier' argument now only match the corresponding question step result, but not any form item result.
2015-08-31 00:03:41 +01:00
Ricardo SaÃÅnchez-SaÃÅez
222c017e0d
ORKTaskTests: add some form result predicate tests
2015-08-30 21:14:51 +01:00
Ricardo SaÃÅnchez-SaÃÅez
90c9e1de94
ORKCatalog: fix form step using wrong identifier
2015-08-30 21:13:57 +01:00
Yuan Zhu
38e9b14a87
Fix placeholder get truncated in FormItemCell.
...
Take _textFieldView.estimatedWidth into consideration.
2015-08-28 18:03:37 -07:00
Umer Khan
e8bd259952
Merge remote-tracking branch 'upstream/master' into textSlider
2015-08-28 16:57:35 -07:00
Umer Khan
07736ac5f3
Fixed secureCoding initializer warning.
2015-08-28 16:54:55 -07:00
Umer Khan
21bb2884b5
Laying foundation for different types of passcode flows.
2015-08-28 16:47:47 -07:00
Yuan Zhu
be6811d311
Show family name first for Vietnamese
2015-08-28 16:09:23 -07:00
Umer Khan
b323bd8980
Added Touch ID and other minor updates.
2015-08-28 16:07:41 -07:00
Yuan Zhu
fb609dba72
Fix text label layout problem in right-to-left UI.
...
- Make the checkmark always in the choiceCell, hide it when the cell is unselected.
So layout code get consistent bounds to calculate label's rect.
2015-08-28 15:43:21 -07:00
Yuan Zhu
7445f7388a
Add right arrow backbutton to support UIUserInterfaceLayoutDirectionRightToLeft
2015-08-28 14:39:03 -07:00
Umer Khan
f5e2f54979
Removed step progress from navigation item title.
2015-08-28 12:55:01 -07:00
Umer Khan
39ef6a21f0
Overriding vertical class keyboard methods.
2015-08-28 12:17:23 -07:00
Yuan Zhu
0edc9292b3
Merge pull request #409 from YuanZhu-apple/convergence_fix_NSRangeException_in_Hanoi_task
...
Fix NSRangeException in Hanoi Task
2015-08-28 10:57:15 -07:00
Umer Khan
215e4d6008
PR updates.
2015-08-27 21:23:09 -07:00
Umer Khan
674a131060
Added foundation for Passcode Step
2015-08-27 18:54:29 -07:00
Yuan Zhu
28e1b2092e
Fix NSRangeException in Hanoi Task
...
Tower could be empty, so it is not safe to call `tower.disks[index];` without a check.
Accessibility announcement is only applicable when the both donor and recipient are valid.
2015-08-27 18:38:26 -07:00
Yuan Zhu
f8f30d681f
Merge pull request #407 from YuanZhu-apple/convergence_fix_multiline_desc_on_slider
...
Convergence fix multiline desc on slider
2015-08-27 17:47:32 -07:00
Yuan Zhu
35471350a2
Limit the height of description label in sliderView
2015-08-27 17:46:42 -07:00
Ricardo Sánchez-Sáez
2da1b843d0
ORKPieChartView: move 'sharedInit' to original position for easier review
2015-08-28 01:11:04 +01:00
Ricardo Sánchez-Sáez
f10195edc4
ORKGraphChartView: move 'sharedInit' to original position for easier review
2015-08-28 01:07:27 +01:00
Ricardo SaÃÅnchez-SaÃÅez
770bec9c31
ChartListViewController: more interesting discrete graph chart test
2015-08-28 01:01:18 +01:00
Ricardo SaÃÅnchez-SaÃÅez
3eea308ed4
ORKGraphChartView: fix animation glitch when you scrub over the graph end, raise the finger, and start scrubbing over the opposite end
...
Also improve code reuse.
2015-08-28 00:59:40 +01:00
Ricardo SaÃÅnchez-SaÃÅez
fda79e945f
ORKGraphChartView: fix miscalculation in line animation duration if there is only 1 layer
2015-08-28 00:59:32 +01:00
Ricardo SaÃÅnchez-SaÃÅez
b20fd5755b
Charts: fix more NSUInteger/NSInteger instances
2015-08-28 00:58:06 +01:00
Ricardo SaÃÅnchez-SaÃÅez
1d5461a037
ORKPieChartView: fix legend content size not being properly calculated after a rotation
2015-08-28 00:57:59 +01:00
Ricardo SaÃÅnchez-SaÃÅez
fab251e623
ORKPieChartView: make sure the legendView is not added more than once
2015-08-28 00:57:36 +01:00
Ricardo Sánchez-Sáez
0d914c493a
Chart swift files: add my copyright info
2015-08-28 00:57:24 +01:00
Ricardo Sánchez-Sáez
d4a20a79d5
ORKPieChartView: make properties with default values 'null_resetable'
...
Also improve documentation.
2015-08-28 00:56:20 +01:00
Ricardo Sánchez-Sáez
58eaa1d182
ORKGraphChartView: rename 'axisTitleColor' to 'verticalAxisTitleColor' and improve comment
2015-08-28 00:55:44 +01:00
Ricardo Sánchez-Sáez
a6f5c39e2c
ORKGraphView: make properties with default values 'null_resetable'
2015-08-28 00:55:30 +01:00
Ricardo Sánchez-Sáez
9da358a1f5
ORKGraphChartView: implement 'scrubbingPlotIndexForGraphChartView:' method
2015-08-28 00:51:14 +01:00
Ricardo Sánchez-Sáez
a1db939515
ORKGraphChartView: implement 'graphChartView:colorForPlotIndex:' dataSource method
2015-08-28 00:50:48 +01:00
Ricardo Sánchez-Sáez
9462839950
ORKPieChartView: fix animation not working when 'showsPercentageLabels' was set to 'NO'
2015-08-28 00:44:13 +01:00
Ricardo Sánchez-Sáez
29a6e21e49
ORKPieChartView: use tintColor as base for auto-generated colors when the dataSource doesn't provide custom colors
2015-08-28 00:44:02 +01:00
Ricardo Sánchez-Sáez
5739faffe6
ORKGraphChartView: remove debug NSLog()
2015-08-28 00:43:17 +01:00
Yuan Zhu
e6e1f49c00
Merge branch 'convergence' of github.com:ResearchKit/ResearchKit into convergence_fix_multiline_desc_on_slider
2015-08-27 15:53:03 -07:00
Yuan Zhu
88ea180068
Fix #381 - description label not showing in vertical scale slider.
...
Make slider's view bottom greater than slider's bottom, also greater than lower descriptionLabel's bottom.
Make current value above slider's top, also above upper descriptionLabel's top.
2015-08-27 15:52:43 -07:00
Yuan Zhu
fb50458d67
Merge pull request #406 from YuanZhu-apple/convergence_fix_crash_caused_by_omitted_fillLayer
...
Fixed a crash cause by omitted `fillLayer`
2015-08-27 15:38:23 -07:00
Yuan Zhu
9fd9ea3783
remove some newlines
2015-08-27 15:37:33 -07:00
Yuan Zhu
9b4aeab0a1
Fixed a crash cause by omitted fillLayer
...
`shouldDrawLinesForPlotIndex:` skips certain fillLayers with less than 2 valid data points. Crashed on line 149 `CAShapeLayer *fillLayer = _fillLayers[plotIndex];`.
- Use NSMutableDictionary (instead of a NSMutableArray) to store _fillLayers
- `plotIndex` is used as key in the dictionary.
- Improved _fillLayers iteration
2015-08-26 18:07:58 -07:00
Yuan Zhu
6afa92169d
Merge pull request #404 from YuanZhu-apple/convergence_fix_charts_for_loops
...
Fixed a bug: updating array during a for loop cause incorrect behavior(cause crash)
2015-08-26 15:43:40 -07:00
Yuan Zhu
b2496438bf
Merge pull request #1 from rsanchezsaez/yuanzhu-convergence_fix_charts_for_loops
...
Charts mini-improvement
2015-08-26 15:37:26 -07:00
Ricardo SaÃÅnchez-SaÃÅez
238d8a17fe
Charts: make sure 'numberOfXAxisPoints' is always used as an 'NSInteger' property; and 'numberOfPlots' as an 'NSInteger' returning method
2015-08-26 23:31:39 +01:00
Yuan Zhu
cea248f433
Fixed a bug: updating array during a for loop cause incorrect behavior(leads to crash)
...
Improved the code quality of `for loops` in charts code.
2015-08-26 13:57:24 -07:00
Ricardo SaÃÅnchez-SaÃÅez
778e8571d2
ORKStepNavigationRule: make ObjC separate array initializers unavailable in Swift (in favor of the array of tuples initializer)
2015-08-26 21:52:01 +01:00
Ricardo Sánchez-Sáez
e71356805c
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# ResearchKit/Common/ORKStepNavigationRule_Private.h
2015-08-26 21:40:52 +01:00
Ricardo SaÃÅnchez-SaÃÅez
1b4569f316
Constraint and layoutMargin code fixes
...
- Make sure iPad wide margins are enforced when not in Split View mode.
- Make sure all views resize correctly when going in and out of Split View mode.
2015-08-26 18:35:42 +01:00
Yuan Zhu
1c5cab61aa
Merge pull request #398 from YuanZhu-apple/convergence_fixCharts_crash
...
Fix a crash by adding a boundary check
2015-08-25 18:10:49 -07:00
Yuan Zhu
b01c7166c4
Also, it is more safe to just use _dataPoints.count to loop plots
2015-08-25 18:09:38 -07:00
Yuan Zhu
49166b553f
Fix a crash by adding a boundary check
2015-08-25 18:03:20 -07:00
Yuan Zhu
ddb815d2cb
Merge pull request #397 from YuanZhu-apple/convergence_apply_loc
...
Initial Localization update
2015-08-25 16:52:47 -07:00
Yuan Zhu
30aafbd50f
Initial Localization update
2015-08-25 16:43:00 -07:00
Ricardo Sánchez-Sáez
25612dc872
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKFitnessContentView.m
# ResearchKit/ActiveTasks/ORKTappingContentView.m
# ResearchKit/ActiveTasks/ORKToneAudiometryContentView.m
# ResearchKit/ActiveTasks/ORKTowerOfHanoiTowerView.m
# ResearchKit/ActiveTasks/ORKWalkingTaskStepViewController.m
# ResearchKit/Common/ORKContinueButton.m
# ResearchKit/Common/ORKFormItemCell.m
# ResearchKit/Common/ORKFormStepViewController.m
# ResearchKit/Common/ORKHeadlineLabel.m
# ResearchKit/Common/ORKImageCaptureStepViewController.m
# ResearchKit/Common/ORKImageCaptureView.m
# ResearchKit/Common/ORKInstructionStepView.m
# ResearchKit/Common/ORKQuestionStepViewController.m
# ResearchKit/Common/ORKResult.m
# ResearchKit/Common/ORKSkin.m
# ResearchKit/Common/ORKStepHeaderView.m
# ResearchKit/Common/ORKSubheadlineLabel.m
# ResearchKit/Common/ORKVerticalContainerView.m
# ResearchKit/Common/ORKVerticalContainerView_Internal.h
# ResearchKit/Consent/ORKConsentSignatureController.m
# ResearchKit/Consent/ORKVisualConsentStepViewController.m
# Testing/ORKTest/ORKTest/DynamicTask.m
2015-08-26 00:41:48 +01:00
Yuan Zhu
6ce92f19e0
Merge pull request #391 from YuanZhu-apple/convergence
...
Fix #390 PSAT Visual mode: digits only appears briefly if set `duration` very close to `interval`
2015-08-25 14:58:54 -07:00
Yuan Zhu
18adca5396
Merge pull request #396 from umerkhan-apple/consentLocKeys
...
Refactoring consent localization keys
2015-08-25 13:36:35 -07:00
Ricardo Sánchez-Sáez
8087810ac2
Coding Style Guide: improve 'Spaces in Declarations' subsection
2015-08-25 20:59:13 +01:00
Ricardo Sánchez-Sáez
3e99ad04c7
Coding Style Guide: add 'Lightweight Generics' section
2015-08-25 20:57:15 +01:00
Ricardo Sánchez-Sáez
0a1eb9c8a2
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-codingstyleguide
2015-08-25 20:23:43 +01:00
Umer Khan
5e0b696fef
Refactoring consent localization keys.
2015-08-25 12:10:58 -07:00
Yuan Zhu
adacb612a4
Merge pull request #393 from YuanZhu-apple/convergence_loc_improvement
...
Improve localization string for accessibility of Hanoi Tower
2015-08-25 11:20:06 -07:00
Yuan Zhu
f19fd6187a
Remove the initial space from disksString
2015-08-25 11:08:37 -07:00
Yuan Zhu
82630bdbf5
Improve localization string for accessibility of Hanoi Tower
2015-08-24 15:09:30 -07:00
Umer Khan
c11e70585a
Minor updates.
2015-08-24 14:35:14 -07:00
Umer Khan
045abdd919
Adding type to textChoices and removing NSArray validation for textChoices.
2015-08-24 14:23:05 -07:00
Umer Khan
f9ffd5e5f1
Minor changes.
2015-08-24 12:12:24 -07:00
Umer Khan
407a3da80e
Added serialization and secure coding tests, with some minor fixes.
2015-08-24 11:57:54 -07:00
Yuan Zhu
68e3f11a74
Fix #390 PSAT Visual mode: digits only appears briefly if set stimulusDuration very close to stimulusInterval
...
- Improved the naming of the timer
- Used a delay on `ORKActiveStepTimer` to replace the extra `dispatch_after`
- Don't show `-` if the difference between `stimulusDuration` and `interStimulusInterval` is less than timer's resolution (0.05s).
#390
2015-08-24 11:12:08 -07:00
DanKeen
c786ed06e1
Merge pull request #389 from rsanchezsaez/rsanchezsaez-readme
...
README.md improvements
2015-08-23 21:25:51 -07:00
Ricardo Sánchez-Sáez
2765fa5575
README.md: improvements
...
- Simplify introduction bullet list links.
- Use proper sentences surrounding links to in-depth documentation.
- Replace all instances of 'researchkit.github.io' by 'researchkit.org'.
2015-08-24 02:43:24 +01:00
Ricardo Sánchez-Sáez
835df17c5a
README.md: small improvements
2015-08-24 02:23:28 +01:00
Ricardo Sánchez-Sáez
68e0c685db
Hole Peg Test Task: improve introduction image
2015-08-24 02:11:55 +01:00
Ricardo Sánchez-Sáez
352fa46668
Hole Peg Test Task: add new instruction images
...
(Adds pinching fingers to the diagrams.)
2015-08-24 01:41:56 +01:00
Ricardo Sánchez-Sáez
87d8db3218
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-codingstyleguide
2015-08-24 00:15:09 +01:00
Ricardo Sánchez-Sáez
458f290956
Coding Style Guide: fix small grammar issue
2015-08-23 20:13:52 +01:00
Yuan Zhu
0c268974f6
Merge pull request #387 from YuanZhu-apple/convergence
...
Accessibility enhancement for Charts
2015-08-20 18:08:09 -07:00
Yuan Zhu
33927b17c7
Accessibility enhancement for Charts
2015-08-20 15:19:48 -07:00
Umer Khan
f8c492aadd
Merge remote-tracking branch 'upstream/master' into textSlider
2015-08-20 11:31:41 -07:00
Umer Khan
22bcc07047
Added ORKTextScaleAnswerFormat
2015-08-20 11:31:20 -07:00
Yuan Zhu
ca7479609c
Update README.md
2015-08-20 11:31:14 -07:00
Yuan Zhu
d1adbf1f50
Merge branch 'convergence'
2015-08-20 11:13:06 -07:00
Ricardo Sánchez-Sáez
321b19adbe
Coding Style Guide: add 'Nullability Annotations' section
...
Also:
- Make new separate section for Header File Example.
- Other very small fixes.
2015-08-19 23:42:28 +01:00
Ricardo Sánchez-Sáez
d86fba5c56
ORKPredicateStepNavigationRule: add Swift initializer that takes an array of tuples (result predicate, destination step identifier) instead of two arrays
...
Add sample code to ORKTest: move Navigable Ordered Task creation to Swift and use the overlay Swift initializer for creating the predicate step navigation rules.
2015-08-19 21:58:24 +01:00
Yuan Zhu
9f00bb182d
Add bundle identifier for orktest
2015-08-19 11:44:50 -07:00
Yuan Zhu
e69751361a
Merge pull request #382 from YuanZhu-apple/convergence
...
Add strings for accessibility of charts
2015-08-19 00:45:14 -07:00
Yuan Zhu
57447fb562
Add strings for accessibility of charts
2015-08-19 00:43:32 -07:00
Yuan Zhu
9c022c300e
Merge branch 'master' into ios9
...
Conflicts:
ResearchKit.xcodeproj/xcshareddata/xcschemes/ResearchKit.xcscheme
ResearchKit.xcodeproj/xcshareddata/xcschemes/docs.xcscheme
ResearchKit/Common/ORKHelpers.h
ResearchKit/Common/ORKHelpers.m
ResearchKit/Common/ORKImageCaptureStepViewController.m
Testing/ORKTest/ORKTest.xcodeproj/project.pbxproj
Testing/ORKTest/ORKTest.xcodeproj/xcshareddata/xcschemes/ORKTest.xcscheme
samples/ORKCatalog/ORKCatalog.xcodeproj/project.pbxproj
samples/ORKCatalog/ORKCatalog/Results/ResultTableViewProviders.swift
2015-08-18 23:28:57 -07:00
Yuan Zhu
9614d50af9
Merge pull request #377 from chb/feature/consent-signing
...
Consent section: avoid headers without body
2015-08-18 21:54:27 -07:00
Pascal Pfiffner
42f9f6f03d
Merge branch 'master' into feature/consent-signing
2015-08-19 06:47:00 +02:00
Yuan Zhu
445d8af2e3
Merge PSAT. Thanks @julientherier.
2015-08-18 21:22:27 -07:00
Yuan Zhu
2769b268e8
Merge pull request #178 from coxy1989/coxy-graphs
...
Charts for ResearchKit (Issue #92 )
2015-08-18 18:15:08 -07:00
Yuan Zhu
5a4c9e172e
Merge pull request #378 from newbyman/master
...
Performance, Consolidation of Operations, and Formatting
2015-08-18 17:43:52 -07:00
Coxy1989
1c0595f1dc
Merge pull request #6 from rsanchezsaez/coxy-graphs
...
Fix headerdoc typos
2015-08-19 00:13:40 +01:00
Newbyman Enterprises
61ba198cc2
- Reintroduced NSUInteger index with break
2015-08-18 19:06:43 -04:00
Ricardo Sánchez-Sáez
43e4ae11b2
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKWalkingTaskStepViewController.m
# ResearchKit/Common/ORKScaleSliderView.m
# Testing/ORKTest/ORKTest/CustomRecorder.m
2015-08-18 22:34:31 +01:00
Newbyman Enterprises
54d0ab0e3f
- Additional Conditional Formatting, extended out.
2015-08-18 17:18:44 -04:00
Yuan Zhu
b74048502f
Merge pull request #380 from rsanchezsaez/ios9-towerofhanoi
...
Alternate fix for Tower of Hanoi iOS 9 constraint crash
2015-08-18 14:01:49 -07:00
Ricardo Sánchez-Sáez
e86f3b6491
ORKTowerOfHanoiTowerView: alternate fix for iOS 9 constraint crash
2015-08-18 21:05:27 +01:00
Ricardo Sánchez-Sáez
64a68729a5
Merge branch 'coxy-graphs' of github.com:coxy1989/ResearchKit into coxy-graphs
2015-08-18 20:07:56 +01:00
Ricardo Sánchez-Sáez
a289453eaf
ORKGraphChartView: fix headerdoc typos
2015-08-18 20:07:43 +01:00
Pascal Pfiffner
848c4dee8b
Whitespace fix, thanks Xcode :P
2015-08-18 11:23:22 +02:00
Pascal Pfiffner
a750b2718d
Add omitFromDocument property to consent section
2015-08-18 11:21:21 +02:00
Pascal Pfiffner
071242f217
Fix whitespace
2015-08-18 00:25:00 +02:00
Coxy1989
ceefc62cf0
Merge pull request #5 from rsanchezsaez/coxy-graphs
...
Latest charts changes
2015-08-17 23:24:45 +01:00
Yuan Zhu
738c6972a4
Merge pull request #375 from YuanZhu-apple/ios9
...
Accessibility enhancement of Tower of Hanoi
2015-08-17 14:33:43 -07:00
Ricardo Sánchez-Sáez
e8ab35abb8
Charts: refactor 'ORK*GraphView' to 'ORK*GraphChartView'
2015-08-17 21:02:56 +01:00
Ricardo Sánchez-Sáez
efba2dabb3
ORKGraphView: call 'setNeedsLayout' from overrided 'setBounds:' rather than from 'traitCollectionDidChange:'
...
(Fixes a rare bug in which sometimes view width is not correct during 'layoutSubviews' after a portrait to landscape rotation. E.g.: bug is present in ORKTest, but not in ORKCatalog.)
2015-08-17 20:13:01 +01:00
Newbyman Enterprises
64cb0d88bd
- Removed the __nonnull declaration in the implementation file, was added back in May/15, keeping with coding style, didn't see any others.
2015-08-17 14:47:53 -04:00
Ricardo Sánchez-Sáez
4bfed38f92
ORKGraphView: share verticalReferenceLineLayer's contents (improves memory usage and performance)
...
Also, add slight top padding so drawn are doesn't overflow graph view bounds at default text size.
2015-08-17 19:36:51 +01:00
Ricardo Sánchez-Sáez
96fd5872a7
Chart.storyboard: nicer top background color
2015-08-17 19:34:10 +01:00
Newbyman Enterprises
b53cdbc27a
- Minor formatting updates of condensed if() statements.
2015-08-17 13:58:56 -04:00
Newbyman Enterprises
ebdd27d251
- Code formatting updates in accordance with the provided coding style guide
2015-08-17 13:05:44 -04:00
Ricardo Sánchez-Sáez
7b97e2d9bb
ORKGraphView: more efficient tintColor change; make sure secondary graph color is updated when changing referenceLineColor
2015-08-17 16:36:42 +01:00
Ricardo Sánchez-Sáez
afe1d8a8ee
Charts: use NSUIntegers/NSIntegers instead of int
2015-08-17 16:24:57 +01:00
Ricardo Sánchez-Sáez
8833aa841c
Charts: minor headerdoc comments improvements
2015-08-17 16:12:55 +01:00
Pascal Pfiffner
52aed1a5b6
Use section title in “Learn More” screen
2015-08-17 16:58:33 +02:00
Pascal Pfiffner
2e736a7306
Consent section: avoid headers without body
2015-08-17 16:21:43 +02:00
Ricardo Sánchez-Sáez
b6f2ce945d
ORKGraphView: correctly handle tint color
...
Also fixes a occasional crash if line/point layout is tried before obtaining the normalized y axis points.
2015-08-17 04:46:08 +01:00
Ricardo Sánchez-Sáez
9fc539ec59
Merge branch 'master' of github.com:ResearchKit/ResearchKit into coxy-graphs
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# ResearchKit/Common/ORKHelpers.h
# ResearchKit/Common/ORKHelpers.m
# Testing/ORKTest/ORKTest.xcodeproj/project.pbxproj
# Testing/ORKTest/ORKTest/MainViewController.m
2015-08-17 03:52:57 +01:00
Newbyman Enterprises
14e96bce38
- Simplification of operation
2015-08-16 22:40:30 -04:00
Ricardo Sánchez-Sáez
9b8ae3de92
ORKCatalog: simplify chart example to make it more visually compeling
2015-08-17 03:38:20 +01:00
Ricardo Sánchez-Sáez
445eb7deb1
ORKTest: add close button to charts example
2015-08-17 03:37:32 +01:00
Ricardo Sánchez-Sáez
149e341352
ORKTest: add charts example/test
2015-08-17 03:18:32 +01:00
Newbyman Enterprises
1350a20f15
- Formatting Consistency
2015-08-16 22:03:58 -04:00
Newbyman Enterprises
aaf9d7dde4
- Leveraged mutable string directly to prevent another string builder request.
2015-08-16 21:58:51 -04:00
Newbyman Enterprises
852102eb99
- Performance consolidation of formatter string building.
2015-08-16 21:57:53 -04:00
Newbyman Enterprises
c1f4392dca
- Performance breaks, and returns.
2015-08-16 21:49:08 -04:00
Ricardo Sánchez-Sáez
335f887932
ORKPieChartView: implement showsPercentageLabels property
...
Also:
- Some property renames.
- Make text property of 'copy' type.
- Remove unneeded 'hidesLegend' property.
2015-08-17 02:36:15 +01:00
Ricardo Sánchez-Sáez
3ec1a1385b
ORKGraphView: make sure all property changes propagate correctly and cause an immediate layout pass of the appropriate elements
2015-08-17 02:05:42 +01:00
Ricardo Sánchez-Sáez
d35cfaacb0
ORKGraphView: make all fonts dependent on user selected contentSizeCategory
...
Also:
- Remove axisTitleFont property (it was the only font property).
- Extract some magic numbers as constants.
- Slightly tweaks to _scrubberLabel appearance.
- Better handling of _noDataLabel
2015-08-17 00:39:34 +01:00
Ricardo Sánchez-Sáez
1ce5cedd7e
ORKPieChartView: dynamically adjust content size category fonts of the legend
2015-08-16 22:47:33 +01:00
Ricardo Sánchez-Sáez
1dc55d1a0c
ORKPieChartView: move animation call to 'viewWillAppear:' and update documentation
...
(The new static constrained cell legend supports animation being triggered there.)
2015-08-16 22:42:20 +01:00
Ricardo Sánchez-Sáez
6939af6599
ORKPieChartLegend: reuse sizing cell instead of creating a new one each time
2015-08-16 22:37:32 +01:00
Ricardo Sánchez-Sáez
6dd1a9d3f1
ORKPieChart: new legend layout
2015-08-16 21:57:15 +01:00
Ricardo Sánchez-Sáez
ab281c75ce
ORKPieChartView: avoid pure white and pure black in default auto-generated pie chart colors
2015-08-16 21:51:55 +01:00
Ricardo Sánchez-Sáez
291a6fdd0f
ChartListViewController: update to use graph animation method
2015-08-16 21:25:20 +01:00
Ricardo Sánchez-Sáez
9ba1f76e53
ChartDataSources: add an empty line after the last value for testing purposes
2015-08-16 21:24:16 +01:00
Ricardo Sánchez-Sáez
5abdbd97dd
ORKPieChartView: extract pie, legend and titleText subviews into their own files
2015-08-16 21:23:11 +01:00
Ricardo Sánchez-Sáez
b0011de863
ORKGraphView: go back to transparent plotView (it obscures xAxisView tick layers)
2015-08-16 20:54:52 +01:00
Ricardo Sánchez-Sáez
be8ecb84f4
ORKGraphView, ORKPieChartView: improve headerdoc comments
2015-08-16 20:46:10 +01:00
Ricardo Sánchez-Sáez
82eb38c815
ORKPieChartView: fix liver updating of percentage labels text size category
2015-08-16 20:22:46 +01:00
Ricardo Sánchez-Sáez
6d9d488fb4
ORKPieChartView: nicer default text, title and legend text color
2015-08-16 20:11:31 +01:00
Ricardo Sánchez-Sáez
6f995d1092
ORKPieChartView: implement support for legend-less pie (when the dataSource's pieChart:titleForSection: method is not implemented)
2015-08-16 19:45:22 +01:00
Ricardo Sánchez-Sáez
02603ee8d7
ORKPieChartView: add titleTextView animation
2015-08-16 19:07:25 +01:00
Ricardo Sánchez-Sáez
70e6a7c58e
ORKGraphView: honor animation duration
...
Now all plots start animating at the same time in multi-plot graphs.
2015-08-16 19:05:11 +01:00
Ricardo Sánchez-Sáez
8ea3ef21a9
ORKGraphView: cache pointLayer contents for points of the same color (increases rotation performance)
2015-08-16 18:24:17 +01:00
Ricardo Sánchez-Sáez
5f627812f5
ORKGraphView: replace shouldAnimate property with optional animation method
2015-08-16 16:42:33 +01:00
Ricardo Sánchez-Sáez
758988e1e5
ORKGraphView: set plotView backgroundColor to white
2015-08-16 00:56:54 +01:00
Ricardo Sánchez-Sáez
a988b4dcfb
ORKGraphView: store points and line layers in bi-dimensional array for better code encapsulation
2015-08-16 00:34:46 +01:00
Ricardo Sánchez-Sáez
6784af13ed
ORKGraphView: split point, line and fill layers creation from layout so layers are reused instead of re-generated each time
2015-08-15 23:37:32 +01:00
Ricardo Sánchez-Sáez
b4e9f2ef81
ChartDataSource: start first graph with an empty point to make sure it handles leading blank data correctly
2015-08-15 23:34:49 +01:00
Ricardo Sánchez-Sáez
825241001b
Merge branch 'coxy-graphs' of github.com:coxy1989/ResearchKit into coxy-graphs
2015-08-15 06:19:28 +01:00
Ricardo Sánchez-Sáez
fae45fe36a
ORKGraphView: use local data points for min and max calculation
2015-08-15 05:51:14 +01:00
Ricardo Sánchez-Sáez
8716c92a30
ORKGraphView: directly add reference layers to plotView
2015-08-15 05:44:47 +01:00
Ricardo Sánchez-Sáez
ae2ae485db
ORKGraphView: remove ORKCircleView class and use layers instead for performance
2015-08-15 05:43:21 +01:00
Ricardo Sánchez-Sáez
8d0c13d09d
ORKGraphView: remove needless array
2015-08-15 05:17:58 +01:00
Ricardo Sánchez-Sáez
b869eebe9a
ORKGraphView: reuse reference line layers instead of recreating them at each draw
2015-08-15 04:56:56 +01:00
Ricardo Sánchez-Sáez
655ff5a50e
ORKPieChart: rename some properties; make sure layout is triggered if clockwise property changes
2015-08-15 04:55:39 +01:00
Ricardo Sánchez-Sáez
e3bc0ecc4e
ORKGraphView: encapsulate yAxisView layout into its own class
2015-08-15 04:06:10 +01:00
Ricardo Sánchez-Sáez
b35fbae894
ORKXAxisView: fix issue with caused ticks not to draw
2015-08-15 03:39:42 +01:00
Ricardo Sánchez-Sáez
5cb8ad525f
ORKPieChartView: simplify subview initializer methods
2015-08-15 03:04:07 +01:00
Ricardo Sánchez-Sáez
586f9950d2
ORKGraphView: encapsulate ORKXAxisView drawing and layout inside its own implementation
2015-08-15 03:02:59 +01:00
Ricardo Sánchez-Sáez
14afba5f60
ORKGraphView & friends: refactoring with some improvements in performance and safety
...
Changes:
- X canvas positions are dynamically calculated (instead of constantly packing and unpacking NSNumbers).
- _dataPoints and _yAxisPoints are now a bi-dimensional array holding all the plot values
- Now scrubbing happens over the primary plot (instead of the last one)
- ORKGraphView refreshes itself on traits change without having to manually call setNeedsLayout and refreshGraph
- Fix ORKRangedPoint isUnset method name error
2015-08-15 00:46:15 +01:00
Ricardo Sánchez-Sáez
5b0dc979de
ORKAxisView: tintColor management improvements
...
Also: make _titleLabels an ivar.
2015-08-15 00:36:59 +01:00
Coxy1989
e270ac4c4d
Merge pull request #4 from rsanchezsaez/coxy-graphs
...
Graphs: additional fixes
2015-08-15 00:11:55 +01:00
Yuan Zhu
3afd7ed5e4
Leave only one - after #pragma mark
2015-08-14 15:20:49 -07:00
Umer Khan
217f40e6ec
Merge remote-tracking branch 'upstream/master' into textSlider
2015-08-14 15:10:24 -07:00
Yuan Zhu
e8d4a17265
Update pragma mark
2015-08-14 14:45:43 -07:00
Yuan Zhu
6dc4f5f714
Add one second delay to avoid Accessibility Notification being canceled.
2015-08-14 14:43:46 -07:00
Yuan Zhu
f2447ad1dc
Accessibility enhancement of Tower of Hanoi
2015-08-14 13:49:36 -07:00
Yuan Zhu
6064dc8253
Merge branch 'master' into ios9
...
Conflicts:
samples/ORKCatalog/ORKCatalog/ResultTableViewProviders.swift
2015-08-14 13:35:09 -07:00
Ricardo Sánchez-Sáez
59cbbf845a
ORKPieChartView: call super in '-traitCollectionDidChange:'
2015-08-14 20:58:38 +01:00
Ricardo Sánchez-Sáez
fac25d9a1f
ORKGraphView: fix crash when trying to scrub over empty areas
2015-08-14 03:19:55 +01:00
Ricardo Sánchez-Sáez
3a277a1658
ORKGraphView: move some ivars from the internal header to the implementation file
2015-08-14 02:52:00 +01:00
Ricardo Sánchez-Sáez
d23f8ee8da
ChartDataSources: more compact swift
2015-08-14 02:25:01 +01:00
Ricardo Sánchez-Sáez
4dde26d7fd
ORKGraphView: adjust Y axis rule length and padding
2015-08-14 02:20:53 +01:00
Ricardo Sánchez-Sáez
c3bb0ec1f8
ORKGraphView, ORKPieChartView: fix localization issues of 'noDataText'
2015-08-14 02:15:06 +01:00
Ricardo Sánchez-Sáez
a36035f4fa
ORKGraphView: fix bugs
...
1) avoid crash when 'numberOfDivisionsInXAxisForGraphView:' returns a value lower than the number of data points.
2) calculate maximum and minimum value taking all plots into account.
2015-08-14 02:01:23 +01:00
Ricardo Sánchez-Sáez
b4ad468974
ORKGraphView: fix bug when secondary plots have more points than primary plot
2015-08-14 01:22:02 +01:00
Ricardo Sánchez-Sáez
04ae04d928
ORKGraphView: using ivars directly instead of property accessors
2015-08-14 00:46:27 +01:00
Ricardo Sánchez-Sáez
24cd69c075
Project: move chart files to their own folder
2015-08-13 23:59:54 +01:00
Ricardo Sánchez-Sáez
597d3c6433
ChartDataSources: change graph sample values
2015-08-13 23:58:49 +01:00
Ricardo Sánchez-Sáez
3b588e39b3
ChartListViewController: caching graph cells to avoid regenerating them on device rotation; add ORKPieChartView appearing animation example code
2015-08-13 20:52:15 +01:00
Ricardo Sánchez-Sáez
60d273db6e
ORKPieChartView: extensive refactor improving performance
...
- Subdivides ORKPieChartView into ORKPieChartTileTextView, ORKPieChartPieView and ORKPieChartLegendView, and uses autolayout to set their sizes.
- Avoids regenerating layers and percentage labels each time layoutSubviews is called.
- Makes appearing animation optional by adding the '- animateWithDuration:' method.
2015-08-13 20:50:38 +01:00
Yuan Zhu
7ee10516db
Merge pull request #329 from shazino/timed-walk
...
Timed-Walk active task
2015-08-13 12:48:40 -07:00
Ricardo Sánchez-Sáez
9468b6e806
PieChartDataSource: show n pie segments rather than n+1
2015-08-13 20:38:33 +01:00
Yuan Zhu
56d76705ff
Merge pull request #372 from umerkhan-apple/splitViewFix
...
iOS9: Split view fix for image capture step.
2015-08-13 10:28:00 -07:00
Julien Thérier
3353ff3dd0
Merge remote-tracking branch 'ResearchKit/master'
2015-08-13 16:30:32 +02:00
Julien Thérier
9e45652356
Fix conflict.
2015-08-13 15:52:19 +02:00
Julien Thérier
d83e859d84
Fix conflicts.
2015-08-13 15:47:18 +02:00
Julien Thérier
4195dfe755
Fix conflicts.
2015-08-13 14:57:56 +02:00
Julien Thérier
55aa48b544
Merge remote-tracking branch 'ResearchKit/master' into 9hpt-task
2015-08-13 14:45:43 +02:00
Julien Thérier
78593561d2
Fix merge conflicts.
2015-08-13 11:48:04 +02:00
Julien Thérier
0075ae973c
Merge remote-tracking branch 'ResearchKit/master' into timed-walk
2015-08-13 11:34:44 +02:00
Julien Thérier
5d3c846ed7
Add french localisation.
2015-08-13 11:01:11 +02:00
Julien Thérier
17c82175c2
Show time.
2015-08-13 10:50:59 +02:00
Julien Thérier
ddeea33a02
Add tests.
2015-08-13 10:45:18 +02:00
Yuan Zhu
85384bbc1d
Merge pull request #357 from umerkhan-apple/imageSlider
...
IOI #356 - Scale slider with images.
2015-08-12 13:14:04 -07:00
Yuan Zhu
e322c39942
Merge pull request #370 from YuanZhu-apple/split_view_support
...
iOS9 iPad split view support
2015-08-12 13:12:14 -07:00
Yuan Zhu
64e8560bca
Update CONTRIBUTING.md
2015-08-12 11:01:13 -07:00
Julien Thérier
f4d8224164
Add icons.
2015-08-12 14:46:04 +02:00
Umer Khan
ae99b8254e
Refactored logic for split view error to use setError method.
2015-08-11 15:32:33 -07:00
Umer Khan
c62274c103
Adding accessibility hint to image views on scale slider.
2015-08-11 11:12:24 -07:00
Umer Khan
70d449ba1c
Refactored UI state code in updateAppearance.
2015-08-11 10:41:38 -07:00
Julien Thérier
aa5e5b8394
Add distance result.
2015-08-11 10:36:28 +02:00
Julien Thérier
f914263d0e
Improve gesture recognition.
2015-08-11 09:30:21 +02:00
Yuan Zhu
a2987a4bea
Use vertical metrics for ORKScreenMetricTopToIllustration
2015-08-10 17:10:38 -07:00
Yuan Zhu
064af84e38
Remove NSLog
2015-08-10 16:22:23 -07:00
Umer Khan
462543c95d
Removed redundant check.
2015-08-10 14:47:27 -07:00
Umer Khan
b1ff602e74
Fix for image capture step while in split view.
2015-08-10 14:41:15 -07:00
Yuan Zhu
2d80083177
Merge pull request #342 from rsanchezsaez/rsanchezsaez-customrecorderfix
...
Fix CustomRecorder example: green filler view and orange tappable button layout
2015-08-10 10:45:10 -07:00
Yuan Zhu
f14d775a78
Merge pull request #365 from umerkhan-apple/secureCodingFix
...
Secure coding fix and delegate fix.
2015-08-10 10:15:07 -07:00
Julien Thérier
d3634439af
Add results and samples.
2015-08-10 18:18:00 +02:00
Yuan Zhu
f0083a3227
Add split view support.
...
1. Rename `ORKGetScreenTypeForWindow` to `ORKGetVerticalScreenTypeForWindow`
And introduce `ORKGetHorizontalScreenTypeForWindow`
Use vertical screen type for most the metrics.
Except:
ORKScreenMetricContinueButtonWidth
ORKScreenMetricHeadlineSideMargin
ORKScreenMetricLearnMoreButtonSideMargin
ORKScreenMetricTopToIllustration
2. Update `layoutMargin` in vertical container view's `updateConstraintConstants`
2015-08-09 01:40:57 -07:00
Julien Thérier
b509908b2a
Start at first move.
2015-08-07 14:07:29 +02:00
Julien Thérier
6490a7a8c3
Dominant / Non Dominant.
2015-08-07 13:23:16 +02:00
Julien Thérier
162764e508
Right / Left orientation.
2015-08-07 13:17:58 +02:00
Julien Thérier
5d99a54c58
Update text description when fail.
2015-08-07 12:40:54 +02:00
Julien Thérier
7252b83ef2
Rename to "Place" Step.
2015-08-07 11:40:49 +02:00
Julien Thérier
a0011f8e90
Comply with spacing guidelines.
2015-08-07 09:36:31 +02:00
Yuan Zhu
04ce2a3be9
Merge pull request #360 from rsanchezsaez/rsanchezsaez-navigationrules
...
ORKTest: add form step to Navigable Ordered Task example
2015-08-06 16:35:42 -07:00
Ricardo Sánchez-Sáez
a10816efd4
ORKTest: remove CustomRecorder example
2015-08-07 01:31:02 +02:00
Umer Khan
d47d1cc221
Minor refactoring.
2015-08-06 15:20:32 -07:00
Umer Khan
79a2005505
Added nullable to delegate.
2015-08-06 14:11:29 -07:00
Umer Khan
5f7a28ff3a
Add a new line at the end of class.
2015-08-06 14:06:24 -07:00
Umer Khan
5029179b83
PR fixes.
2015-08-06 12:47:34 -07:00
Yuan Zhu
8d65a9e01e
Merge pull request #362 from YuanZhu-apple/ios9
...
Fix a crash case in HanoiTowerView for iOS9
2015-08-06 12:16:23 -07:00
Yuan Zhu
e00fc4461c
Fix a crash case in HanoiTowerView for iOS9
2015-08-06 10:38:48 -07:00
Julien Thérier
98b6269f11
Update take with translation/rotation thresholds.
2015-08-06 14:50:19 +02:00
Ricardo Sánchez-Sáez
1bfb6f49e1
ORKTest: add form step to ORKNavigableOrderedTask example
...
Also: rename the button text to "Navigable Ordered Task".
2015-08-06 12:10:18 +02:00
Ricardo Sánchez-Sáez
b8ee219a5f
Merge branch 'master' of github.com:rsanchezsaez/ResearchKit into rsanchezsaez-constraints
2015-08-06 11:32:16 +02:00
Yuan Zhu
40db9f36d5
Fix a error in Xcode 7 beta 4
2015-08-05 16:36:25 -07:00
Yuan Zhu
c2f1c033c8
Merge branch 'master' into ios9
2015-08-05 16:33:46 -07:00
Yuan Zhu
d8764a7be6
Merge pull request #347 from oliverschaefer/master
...
Implementation of issue #346
2015-08-05 16:31:30 -07:00
Yuan Zhu
33879662e8
Merge pull request #358 from YuanZhu-apple/fix_numberOfDisks
...
Should use `NSUInteger` instead of `int` in the API
2015-08-05 15:59:04 -07:00
Yuan Zhu
6be21169c6
Should use NSUInteger instead of int in the API
2015-08-05 15:54:02 -07:00
Umer Khan
2f00fa57b2
Refactored some code.
2015-08-05 15:44:25 -07:00
Yuan Zhu
7a8780a59a
Merge pull request #348 from rsanchezsaez/rsanchezsaez-codingstyleguide
...
Coding Style Guide improvements
2015-08-05 15:30:25 -07:00
Umer Khan
230e07cc83
Minor fixes
2015-08-05 14:21:33 -07:00
Umer Khan
5dd9e4ae24
Updated serialization and secure coding code.
2015-08-05 14:16:37 -07:00
Umer Khan
3194d9fcc9
Merge remote-tracking branch 'upstream/master' into imageSlider
2015-08-05 13:47:28 -07:00
Yuan Zhu
5145a38e8d
Merge pull request #355 from umerkhan-apple/secureCodingFix
...
Secure coding fix for TowerOfHanoiStep
2015-08-05 13:44:25 -07:00
Umer Khan
c32eff2947
Merge remote-tracking branch 'upstream/master' into secureCodingFix
2015-08-05 13:42:47 -07:00
Umer Khan
4070552d36
Secure coding fix for TowerOfHanoiStep
2015-08-05 13:37:56 -07:00
Umer Khan
ad1c024455
Updated Documentation and refactored constants for ORKScaleRangeImageView
2015-08-05 13:30:25 -07:00
Umer Khan
66b3f9689d
Modified constraints for vertical scale slider and updated example in ORKTest.
2015-08-05 13:21:27 -07:00
Umer Khan
7598debcf6
Adding images to scale
2015-08-05 11:30:05 -07:00
Yuan Zhu
41a24aeffd
Merge pull request #351 from YuanZhu-apple/ios9
...
Merge branch 'master' into ios9
2015-08-05 10:41:20 -07:00
Julien Thérier
01e8c561bb
Better UI.
2015-08-05 17:24:36 +02:00
Julien Thérier
71a0646065
Add check success.
2015-08-05 12:23:46 +02:00
Julien Thérier
515bf1de51
Remove notification for distanceLabel locale.
2015-08-05 09:17:28 +02:00
Julien Thérier
c8f5a1ccb6
Add 3 arrows.
2015-08-05 09:14:39 +02:00
Oliver Schäfer
014be09d5b
Added helper method shouldDisplayProgressLabel
2015-08-05 06:14:40 +02:00
Ricardo Sánchez-Sáez
a5072c457c
ORKGraphView: fix typo in delegate method name
2015-08-05 05:37:55 +02:00
Yuan Zhu
dab245a415
Merge pull request #353 from YuanZhu-apple/issue_352
...
Expose `secureTextEntry` on ORKTextAnswerFormat
2015-08-04 17:35:48 -07:00
Yuan Zhu
ad88999c7b
Expose secureTextEntry on ORKTextAnswerFormat
2015-08-04 16:48:21 -07:00
Yuan Zhu
1ab959d8a8
Merge branch 'master' into ios9
...
Conflicts:
samples/ORKCatalog/ORKCatalog/ResultTableViewProviders.swift
samples/ORKCatalog/ORKCatalog/TaskListRow.swift
Also fixed secure coding for `ORKTowerOfHanoiStep`
2015-08-04 13:52:15 -07:00
Yuan Zhu
92028763ad
Merge pull request #350 from rsanchezsaez/rsanchezsaez-towerofhanoifixes
...
Fix small Tower of Hanoi issues
2015-08-04 13:16:41 -07:00
Umer Khan
cd43c68dc6
Added image support for scale slider
2015-08-04 11:09:00 -07:00
Ricardo Sánchez-Sáez
714ba82c0c
ORKPieChartViewDataSource: add support for multiple pie charts sharing the same data source
2015-08-04 18:47:58 +02:00
Oliver Schäfer
fee323588e
Added Custom Navigation Item Example
2015-08-04 16:16:56 +02:00
Ricardo Sánchez-Sáez
d906b07c55
ORKTowerOfHanoiTowerView: make sure tintColor is honored
2015-08-04 15:52:28 +02:00
Ricardo Sánchez-Sáez
20739d6df5
ORKTowerOfHanoiResult: fix ORKTest's serialization unit test failure due to improper array unarchiving
2015-08-04 15:29:48 +02:00
Ricardo Sánchez-Sáez
2d1c697402
ORKESerialization: refactor NSNumber, NSValue and NSString '*value' methods to property syntax
2015-08-04 15:23:03 +02:00
Ricardo Sánchez-Sáez
c96a94c164
Refactor NSNumber, NSValue and NSString '*value' methods to property syntax
2015-08-04 15:22:47 +02:00
Ricardo Sánchez-Sáez
41d346853e
Refactor 'value' method syntax to property syntax
2015-08-04 14:16:08 +02:00
Ricardo Sánchez-Sáez
ad919639c7
Refactor 'bounds' method syntax to property syntax
2015-08-04 14:10:42 +02:00
Ricardo Sánchez-Sáez
5ebcc6d6b5
Refactor 'bytes/mutableBytes/userInfo' method syntax to property syntax
2015-08-04 14:07:30 +02:00
Ricardo Sánchez-Sáez
27c084707e
Refactor 'length' method syntax to property syntax
2015-08-04 14:03:50 +02:00
Ricardo Sánchez-Sáez
eeae8f3c1d
Refactor 'firstObject/lastObject' method syntax to property syntax
2015-08-04 13:58:46 +02:00
Ricardo Sánchez-Sáez
36f86eb607
Refactor '[object description]' method syntax to 'object.description' property syntax
2015-08-04 13:52:23 +02:00
Ricardo Sánchez-Sáez
e69460acfe
Refactor '[array count]' method syntax to 'array.count' property syntax
2015-08-04 13:50:00 +02:00
Julien Thérier
f7be4f6ae2
Add direction indicator.
2015-08-04 13:40:59 +02:00
Ricardo Sánchez-Sáez
ffd404ff6b
Coding Style Guide: improve Dot Notation section
2015-08-04 11:20:50 +02:00
Julien Thérier
b99ec7b5ca
Remove the distanceLabel.
2015-08-04 09:33:13 +02:00
Julien Thérier
d7975ec9f2
Add arrow view.
2015-08-04 09:08:19 +02:00
Umer Khan
0405f813a2
Added ORKAnswerFormat support for ORKTextScaleSlider
2015-08-03 15:46:20 -07:00
Ricardo Sánchez-Sáez
ee66c66521
Coding Style Guide: add 'Constant Declarations' section
2015-08-04 00:36:03 +02:00
Ricardo Sánchez-Sáez
6e0ee1d079
Coding Style Guide: update property/method syntax section
2015-08-04 00:04:48 +02:00
Ricardo Sánchez-Sáez
cda4216d0d
Coding Style Guide: better, more interesting, examples
2015-08-03 23:53:29 +02:00
Oliver Schäfer
c2dd0a827c
Implementation of issue #346
2015-08-03 21:34:32 +02:00
Julien Thérier
8492334353
Improve design.
2015-08-03 15:57:49 +02:00
Coxy1989
9a7d04b684
Merge pull request #3 from rsanchezsaez/coxy-graphs
...
Apple review improvements
2015-08-02 16:58:17 +01:00
Ricardo Sánchez-Sáez
d90cd52913
ORKPieChartView: fix spacing
2015-07-31 23:17:12 +02:00
Ricardo Sánchez-Sáez
ce7ff64000
ORKPieChartView: use ORKPieChartLabel class instead of custom dictionary for passing pieLabel/angle pairs
2015-07-31 23:15:30 +02:00
Ricardo Sánchez-Sáez
5f37a4d360
Graphs: use '[array count]' method syntax instead of 'array.count' property syntax
2015-07-31 21:31:41 +02:00
Ricardo Sánchez-Sáez
4215498fbc
Graphs: some minor improvements
2015-07-31 21:10:05 +02:00
Ricardo Sánchez-Sáez
f15b095e15
Graphs: use newly defined ORKCGFloatInvalidValue constant (CGFLOAT_MAX) as an invalid value
2015-07-31 20:50:25 +02:00
Ricardo Sánchez-Sáez
1e0c22e364
ORKGraphView: better code reuse when adding layer animations
2015-07-31 20:30:26 +02:00
Ricardo Sánchez-Sáez
fa66666033
ORKGraphView: better code reuse by using block
2015-07-31 20:22:54 +02:00
Ricardo Sánchez-Sáez
b034f195d3
ORKGraphView: coding style and spacing improvements
2015-07-31 20:20:28 +02:00
Ricardo Sánchez-Sáez
8b943730b4
ORKGraphView: more general removal of notification observing
2015-07-31 20:01:55 +02:00
Ricardo Sánchez-Sáez
fae4cbfb80
ORKGraphView: make the constants which are unused by subclasses static to the implementation file
...
Also rename some non-static constants.
2015-07-31 19:56:53 +02:00
Ricardo Sánchez-Sáez
a4966c12e6
ORKDiscreteGraphView: extract constant
2015-07-31 19:26:16 +02:00
Ricardo Sánchez-Sáez
378befbf4f
ORKCircleView: remove unused property
2015-07-31 19:25:03 +02:00
Ricardo Sánchez-Sáez
c9292ca9c3
Rename ORKCentredCollectionViewLayout files to ORKCenteredCollectionViewLayout
2015-07-31 19:24:18 +02:00
Ricardo Sánchez-Sáez
579917ff58
ORKAxisView: extract LastLabelPadding constant
2015-07-31 19:22:45 +02:00
Ricardo Sánchez-Sáez
399da05c61
Add James Cox copyright line to all graph related files
2015-07-31 19:08:40 +02:00
Ricardo Sánchez-Sáez
20e5e6db03
ORKTowerOfHanoiTowerView & ORKTowerOfHanoiStepViewController: homogenize constraint code
2015-07-30 20:56:09 +02:00
Ricardo Sánchez-Sáez
ca442e748d
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/Common/ORKContinueButton.m
# ResearchKit/Common/ORKNavigationContainerView.m
2015-07-30 20:44:23 +02:00
Ricardo Sánchez-Sáez
4e6e3c9ad3
ORKFormItemCell: remove needless screenType property and init method argument
2015-07-30 20:25:12 +02:00
Yuan Zhu
09d7f1f9e4
Merge pull request #337 from umerkhan-apple/decimal
...
Fixed bug in ORKNumericAnswerFormat so the value shown is the full decimal
2015-07-30 11:21:19 -07:00
Yuan Zhu
7e6b7ba6f4
Merge pull request #318 from coxy1989/coxy-toh
...
Add Tower of Hanoi Task
2015-07-30 11:20:47 -07:00
Yuan Zhu
aad109b533
Merge pull request #338 from oliverschaefer/master
...
Implementation of issue #336
2015-07-30 11:20:20 -07:00
Ricardo Sánchez-Sáez
eeee427c97
Remaining minor constraint code refactoring
2015-07-30 20:16:49 +02:00
Ricardo Sánchez-Sáez
2bc714f05f
ORKScaleSliderView: add informative NSLayoutFormatOptions cast for empty options
2015-07-30 20:16:25 +02:00
Ricardo Sánchez-Sáez
a07aa08fd4
ORKQuestionStepViewController: add informative NSLayoutFormatOptions cast for empty options
2015-07-30 20:15:43 +02:00
Ricardo Sánchez-Sáez
00ca93e14d
ORKActiveStepViewController: add informative NSLayoutFormatOptions cast for empty options
2015-07-30 20:15:13 +02:00
Ricardo Sánchez-Sáez
a5e641185b
ORKTableContainerView: constraint method rename
2015-07-30 20:13:17 +02:00
Ricardo Sánchez-Sáez
ba7433dade
ORKSurveyAnswerCellForText: remove needless setNeedsUpdateConstraints
2015-07-30 20:12:39 +02:00
Ricardo Sánchez-Sáez
99f4263417
ORKSurveyAnswerCellForScale: constraint code alignment
2015-07-30 19:55:56 +02:00
Ricardo Sánchez-Sáez
a5c16f9d0b
ORKSurveyAnswerCellForScale: set layoutMargins outside setUpConstraints
2015-07-30 19:53:54 +02:00
Ricardo Sánchez-Sáez
2d82a2a904
ORKImageChoiceLabel: fix error in calculating the intrinsicContentSize
2015-07-30 19:50:57 +02:00
Ricardo Sánchez-Sáez
286366333f
ORKSurveyAnswerCellForImageSelection: homogenize constraint code
2015-07-30 19:34:58 +02:00
Ricardo Sánchez-Sáez
a90abe74ae
ORKSurveyAnswerCell: constraint code alignment
2015-07-30 19:25:29 +02:00
Ricardo Sánchez-Sáez
9e72e3aaeb
ORKStepHeaderView: constraint code alignment
2015-07-30 19:24:01 +02:00
Ricardo Sánchez-Sáez
0af4b33056
ORKSpatialSpanMemoryGameView: use ORKScreenMetricMaxDimension instead of magic number
2015-07-30 19:23:44 +02:00
Ricardo Sánchez-Sáez
62fc9cc6ea
ORKSignatureView: move width constraint from ORKConsentSignatureWrapperView
2015-07-30 19:17:00 +02:00
Ricardo Sánchez-Sáez
2b54f90b97
ORKSkin: guard against nil window on ORKWidthForSignatureView()
2015-07-30 19:08:03 +02:00
Ricardo Sánchez-Sáez
cfd1724cb0
ORKConsentSignatureController: fix unsatisfiable constraint warning
2015-07-30 19:07:38 +02:00
Ricardo Sánchez-Sáez
f6d9feda07
ORKScaleSliderView: use ivars instead of internal properties and refactor constraint code.
2015-07-30 18:39:57 +02:00
Ricardo Sánchez-Sáez
be44b0c39a
ORKReactionTimeContentView: use ivar instead of internal property
2015-07-30 18:38:22 +02:00
Ricardo Sánchez-Sáez
5e3f4acd78
ORKQuestionStepViewController: homogenize constraint code
2015-07-30 18:26:14 +02:00
Ricardo Sánchez-Sáez
fd4557a8e6
ORKNavigationContainerView: refactor constraint code
...
- Make constraint ivar name clearer.
- Rename updateConstraintConstants to 'updateSkipToContinueButtonConstraint' to reflect that the constraint can get activated/deactivated.
- Call 'setNeedsUpdateConstraints' after 'updateContinueAndSkipEnabled'.
2015-07-30 17:48:26 +02:00
Ricardo Sánchez-Sáez
28f4205bcd
ORKInstructionStepView: homogenize constraint code
2015-07-30 17:37:29 +02:00
Ricardo Sánchez-Sáez
7b70f5c362
ORKChoiceButtonView & ORKImageSelectionView: refactor constraint code
...
- Homogenize constraint code.
- Simplify ORKImageSelectionView by dropping _invisibleLabel (_choiceLabel takes its functionality).
- Extract constraint setup to its own method.
2015-07-30 17:30:40 +02:00
Ricardo Sánchez-Sáez
7f25099acd
ORKImageChoiceLabel: make intrinsicContentSize not to change the label itself
...
(Allows to drop ORKImageSelectionView invisible label.)
2015-07-30 17:25:00 +02:00
Ricardo Sánchez-Sáez
fd84d8d893
ORKImageCaptureView: align constraints so they are easier to read
2015-07-30 16:32:28 +02:00
Ricardo Sánchez-Sáez
49bee20f8e
ORKImageCaptureStepViewController: extract constraint setup to separate method
2015-07-30 16:29:09 +02:00
Ricardo Sánchez-Sáez
49cbb27222
ORKImageCaptureStepViewController: use ivars instead of internal properties
...
Also, rename some variables and method names by naming conventions.
2015-07-30 16:25:34 +02:00
Ricardo Sánchez-Sáez
90b4c7b1b6
ORKImageCaptureCameraPreviewView: extract constraint setup to separate method
2015-07-30 16:05:47 +02:00
Ricardo Sánchez-Sáez
aa57b8223c
ORKImageCaptureCameraPreviewView: use ivars instead of internal properties
2015-07-30 16:00:03 +02:00
Ricardo Sánchez-Sáez
db93a6ddc8
ORKFormStepViewController: homogenize constraint code
2015-07-30 15:57:00 +02:00
Ricardo Sánchez-Sáez
41457846e2
ORKFormItemTextCell, ORKFormItemImageSelectionCell & ORKFormItemScaleCell: extract constraint setup to separate method
2015-07-30 15:32:28 +02:00
Ricardo Sánchez-Sáez
08f1b8e3d9
ORKFitnessContentView: better constraint onscreen align
2015-07-30 15:31:50 +02:00
Ricardo Sánchez-Sáez
dc5460c120
ORKFitnessContentView: homogenize constraint code
2015-07-30 15:21:01 +02:00
Ricardo Sánchez-Sáez
6a6cb929e1
ORKQuestionStepCellHolderView: homogenize constraint code
2015-07-30 15:07:46 +02:00
Ricardo Sánchez-Sáez
fb56d6b64b
ORKCountdownView: extract constraint setup to its own method
2015-07-30 15:00:45 +02:00
Ricardo Sánchez-Sáez
2ed0111866
ORKConsentReviewController: homogenize constraint code
2015-07-30 14:53:58 +02:00
Ricardo Sánchez-Sáez
ccc615cea6
ORKConsentLearnMoreViewController: homogenize constraint code
2015-07-30 14:51:17 +02:00
Ricardo Sánchez-Sáez
97be632ed8
ORKCompletionStepView: use translatesAutoresizingMaskIntoConstraints property syntax instead of method
2015-07-30 14:49:51 +02:00
Ricardo Sánchez-Sáez
588d9b6528
ORKAudioGraphView: extract constraint setup to its own method
2015-07-30 14:48:34 +02:00
Ricardo Sánchez-Sáez
4d791e96e3
ORKActiveStepViewController: homogenize constraint code
2015-07-30 14:40:00 +02:00
Ricardo Sánchez-Sáez
deaa85ad09
ORKActiveStepQuantityView: add space between binary operators
2015-07-30 14:36:03 +02:00
Ricardo Sánchez-Sáez
415a937a7e
ORKTest's MainViewController: homogenize constraint code
2015-07-30 14:31:51 +02:00
Ricardo Sánchez-Sáez
e15906aeb8
CustomRecorder: homogenize constraint code
2015-07-30 14:14:11 +02:00
Ricardo Sánchez-Sáez
61f9470d84
CustomRecorder: fix green filler view and orange tappable button layout
2015-07-30 14:12:13 +02:00
Ricardo Sánchez-Sáez
853adebbcd
ORKVerticalContainerView: rename constraint methods
2015-07-30 12:56:43 +02:00
Julien Thérier
0c39747462
Add first views.
2015-07-30 09:13:30 +02:00
Jamie Cox
311789b4dc
resolve merge conflict
2015-07-30 00:12:27 +01:00
Oliver Schäfer
6c52fec789
Changed hasBeenPresented implementation to be a property
2015-07-29 21:47:13 +02:00
Oliver Schäfer
8b18c901f4
Added hasBeenPresented method to address issue #326
2015-07-29 21:30:53 +02:00
Umer Khan
a50ae54c6a
Fixed bug in ORKNumericAnswerFormat where the value shown is the full decimal.
2015-07-29 11:09:21 -07:00
Ricardo Sánchez-Sáez
7d9e48a8a6
ORKVerticalContainerView: refactor constraint code
...
- Homogenize code.
- Add constraints by activation.
- Enable autolayout only once for container views.
- Extract static constraint setup to its own method
- Use direct constraint variables instead of dictionary for adjustable constraints.
- Extract some constraint activation/deactivation out from updateConstraintConstants method.
2015-07-29 19:23:10 +02:00
Ricardo Sánchez-Sáez
e75f76a1e6
ORKVerticalContainerView: first pass at constraint code homogenization
2015-07-29 18:13:40 +02:00
Julien Thérier
6026246a4b
Remove shouldContinueOnFinish override.
2015-07-29 10:03:31 +02:00
Julien Thérier
e5ac86f029
First draft for hpt task.
2015-07-29 09:29:51 +02:00
Yuan Zhu
51f9006a59
Merge pull request #331 from rsanchezsaez/rsanchezsaez-compactcontinuebutton
...
Reduce continue button height on compact vertical size classes
2015-07-27 12:48:51 -07:00
Ricardo Sánchez-Sáez
1ef8b48d2a
ORKWalkingContentView: make constraints static
2015-07-25 14:21:44 +02:00
Ricardo Sánchez-Sáez
b19f2e06a8
ORKToneAudiometryContentView: refactor constraint code
...
- Homogenize code.
- Make constraints update after moving to a new window.
2015-07-25 14:13:04 +02:00
Ricardo Sánchez-Sáez
8912749a75
ORKTextFieldView: make constraints static
2015-07-24 21:16:30 +02:00
Yuan Zhu
7c37a54bb2
Merge pull request #312 from umerkhan-apple/iss261
...
IOI # 261 - Exposing keyboard type property
2015-07-24 10:50:35 -07:00
Umer Khan
537c0a03d5
Updated comment for URL keyboard example.
2015-07-24 10:40:00 -07:00
Ricardo Sánchez-Sáez
033719036f
ORKTappingContentView: make constraints static and homogenize code
2015-07-24 18:10:39 +02:00
DanKeen
6e5552d929
Merge pull request #333 from rsanchezsaez/rsanchezsaez-typos
...
Fix small typos (deleagte -> delegate)
2015-07-24 08:27:54 -07:00
Ricardo Sánchez-Sáez
58edda4a9c
Fix small typos
2015-07-24 16:18:51 +02:00
Julien Thérier
78a32cacc9
Change distance to distanceInMeters.
2015-07-24 09:33:23 +02:00
Julien Thérier
2a77a97cc2
Use copy for NSArray properties.
2015-07-24 09:10:52 +02:00
Julien Thérier
07f41ae7d1
Fix timed-walkingman-return@2x.png stopwatch orientation.
2015-07-24 09:05:49 +02:00
Julien Thérier
4bde825ba0
Create task in the list
2015-07-24 09:01:43 +02:00
Umer Khan
f222b97ca1
Refactored logic for a textField delegate callback.
2015-07-23 15:04:52 -07:00
Ricardo Sánchez-Sáez
48387caea9
ORKContinueButton: add constraints comments
...
Also, avoid activating constraints multiples times.
2015-07-23 20:44:17 +02:00
Yuan Zhu
8832fc1a0c
Merge pull request #330 from rsanchezsaez/rsanchezsaez-navigationrules
...
Enhance argument validation for Predicate Step Navigation Rule
2015-07-23 11:20:41 -07:00
Ricardo Sánchez-Sáez
ad5aa9912b
ORKStepHeaderView: use constraint ivars instead of dictionary (clearer and safer)
2015-07-23 20:13:19 +02:00
Ricardo Sánchez-Sáez
43c6e8b72b
ORKStepHeaderView: fix issue in which constraints were not correctly updated for the after moving to a new window
2015-07-23 20:02:01 +02:00
Ricardo Sánchez-Sáez
650c9154b5
ORKSurveyAnswerCellForTextField: make constraints static
2015-07-23 19:42:33 +02:00
Ricardo Sánchez-Sáez
deeec06e03
ORKTableContainerView: make constraints static
2015-07-23 19:09:46 +02:00
Ricardo Sánchez-Sáez
2737e60305
ORKSurveyAnswerCellForText: make constraints static and homogenize code
2015-07-23 19:02:24 +02:00
Ricardo Sánchez-Sáez
662e2f746b
ORKSurveyAnswerCellForPicker: make constraints static
2015-07-23 18:56:45 +02:00
Ricardo Sánchez-Sáez
43488a1145
ORKSurveyAnswerCellForNumber: refactor constraint code
...
- Homogenize code.
- Make constraints static.
- Add constraints by activation.
2015-07-23 16:29:07 +02:00
Ricardo Sánchez-Sáez
6d0bd6a66d
ORKStepHeaderView: refactor constraint code
...
- Homogenize code.
- Move initial constraint creation to their own method.
- Add constraints by activation.
- Remove unneeded ivars.
2015-07-23 16:17:13 +02:00
Ricardo Sánchez-Sáez
da76a7a174
ORKContinueButton: reduce button height on compact vertical size class on all devices except iPhone 6 Plus
2015-07-23 15:27:16 +02:00
Ricardo Sánchez-Sáez
36d57c9419
ORKSpatialSpanMemoryContentView: make constraints static
2015-07-23 14:40:10 +02:00
Ricardo Sánchez-Sáez
43c75d6d76
ORKNavigationContainerView: refactor constraint code
...
- Make sure [super updateConstraints] runs last.
- Make most constraints static.
- Add constraints by activation.
- Homogenize code.
2015-07-23 14:25:15 +02:00
Ricardo Sánchez-Sáez
e5165b8aa5
ORKTest: slight rewrite to ORKNavigableOrderedTask example so it's easier to read
2015-07-23 13:37:35 +02:00
Ricardo Sánchez-Sáez
28b52a7114
ORKPredicateStepNavigationRule: add validation checking if objects in the passed arrays are of the correct class
2015-07-23 13:36:34 +02:00
Umer Khan
8f4bf262b6
Updated const formatting and added a fix for a bug in textfield cells.
2015-07-22 13:06:06 -07:00
Umer Khan
c83351c201
PR updates.
2015-07-22 11:25:35 -07:00
Julien Thérier
e9306c8965
Timed-walk active task.
2015-07-22 16:01:15 +02:00
Julien Thérier
b0ca0c79db
Create walking group.
2015-07-22 15:11:18 +02:00
Julien Thérier
71912aeb1d
Update ORKWalkingTaskStepViewController.
2015-07-22 15:08:34 +02:00
Julien Thérier
62827cfefe
Extract ORKProgressView.
2015-07-22 15:08:16 +02:00
Coxy
bfd209d238
remove spaces
2015-07-21 23:23:50 +01:00
Coxy
a6359e176a
Add title to active step view
2015-07-21 22:57:15 +01:00
Umer Khan
25378ac9e0
Moved UITextFieldDelegate implementation into superclass UITextFieldBasedCell.
2015-07-21 14:13:18 -07:00
Umer Khan
0fc9bc54af
Added PR changes.
2015-07-21 13:33:10 -07:00
Yuan Zhu
d89734a682
Merge pull request #306 from brucehappy/issue_228
...
Implementation of issue #228
2015-07-21 13:15:27 -07:00
Yuan Zhu
318377993c
Merge pull request #327 from YuanZhu-apple/issue_294
...
Fix issue 294, adaptive UI for non-optional single choice step
2015-07-20 15:26:12 -07:00
Yuan Zhu
97ed959b62
Fix issue 294, adaptive UI for non-optional single choice step
...
- Show choice cells with nextButton on step has an answer
- Show arrowed choice cells without next button on step has no answer
2015-07-20 12:59:17 -07:00
Coxy
de40dd7802
rename TOWER_OF_HANOI_TASK_TASK_INTRO_TEXT_FORMAT for correctness
2015-07-18 10:55:38 +01:00
Coxy
a6d032db7b
prefix constant with k, revert spacing change
2015-07-17 00:51:40 +01:00
Coxy
9453a0c4f7
fix result hierarchy issue, refactor lazy instantiations, adhere to if else code style convention, other small refactorings
2015-07-17 00:46:28 +01:00
Yuan Zhu
39138f818b
Merge pull request #326 from umerkhan-apple/iss325
...
IOI # 325 - Delegate bug in ORKTaskViewController with restorationData
2015-07-16 12:46:26 -07:00
Yuan Zhu
ba62daa43c
Merge pull request #324 from umerkhan-apple/iss323
...
IOI # 323 - Refactored ORKRecorder's logName
2015-07-16 11:17:02 -07:00
Ricardo Sánchez-Sáez
d146c50cf0
ORKFormItemTextCell, ORKFormItemImageSelectionCell, ORKFormItemScaleCell: refactor constraint code
...
- Add constraints by activation.
- Homogenize code.
2015-07-16 18:51:09 +02:00
Ricardo Sánchez-Sáez
bd6d36fa31
ORKFormItemTextFieldBasedCell: refactor constraint code
...
- Add constraints by activation
- Homogenize code.
2015-07-16 18:41:11 +02:00
Coxy
c502a8a06d
Remove dirty newline: Set minimumStepHeaderHeight instead for consistent layout with localized strings
2015-07-16 15:31:16 +01:00
Coxy
952b837a09
ORKTowerOFHanoiResult now includes move records, various refactorings, add documentation
2015-07-16 13:06:09 +01:00
Umer Khan
4aa8a67e99
Fixed delegate bug in ORKTaskViewController when initializing with restorationData.
2015-07-15 16:23:55 -07:00
Umer Khan
0f1a234076
Removed identifiers from logName and added recorderUUID.
2015-07-15 15:50:29 -07:00
Coxy
1b61c97a44
add conclusion step to ordered task for consistency
2015-07-15 20:10:48 +01:00
Coxy
43424a4727
make suggested changes
2015-07-15 20:00:16 +01:00
Ricardo Sánchez-Sáez
27a777a3e7
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-07-15 19:54:08 +02:00
Umer Khan
c5809e2f71
Refactored order of step identifier and recorder identifier.
2015-07-15 10:41:25 -07:00
Coxy
632bbd399b
invert highlighting of selected disk
2015-07-15 17:13:22 +01:00
Coxy1989
966f8e737d
Merge pull request #2 from rsanchezsaez/coxy-toh
...
Add custom Tower of Hanoi task images
2015-07-15 17:04:30 +01:00
Ricardo Sánchez-Sáez
d6297d2300
Add custom Tower of Hanoi task images
2015-07-15 17:27:39 +02:00
Coxy
a85ce60704
revert committed redundant change
2015-07-15 09:31:59 +01:00
Coxy
b17f01425c
Print warning if the number of disks is not sensible + Refactorings suggested in PR.
2015-07-15 09:29:50 +01:00
Umer Khan
1573b011b6
Added step identifier to ORKRecorder logName.
2015-07-14 14:47:36 -07:00
Bruce Duncan
584394be4f
Changed both accessibility properties to copy. Updated the example accessibilityInstructions in ORKTest. Updated the accessibilityInstructions documentation to include a better description and example usage.
2015-07-14 15:36:04 -04:00
Umer Khan
5f568e7516
Fixed character count bug for textAnswerFormat with maximum length.
2015-07-14 11:33:58 -07:00
Yuan Zhu
188a96bb4b
Merge pull request #315 from umerkhan-apple/iss310
...
Implementation of issue # 310 - Custom title glitch for bar button items.
2015-07-14 10:41:40 -07:00
Umer Khan
f066f4ff4b
Added 'isEmailAddress' validation for isEqual in ORKTextAnswerFormat.
2015-07-13 16:19:50 -07:00
Umer Khan
285a04853f
Added documentation for setupButtons method placement.
2015-07-13 14:42:27 -07:00
Coxy
255f810b6c
Re-implement time formatting with NSDateComponentsFormatter
2015-07-12 19:06:03 +01:00
Umer Khan
84b8501b63
Fixed learnMoreButtonTitle not updating title text.
2015-07-10 15:15:43 -07:00
Yuan Zhu
3e51248aae
Merge branch 'master' into ios9
2015-07-10 14:33:22 -07:00
Umer Khan
2054b39cc7
Fixed learnMoreButtonTitle not updating issue.
2015-07-10 11:27:54 -07:00
Coxy
979ba19958
Tower selection color scheme is now visually consistent with RK, Redundant Plist change is reverted, feature is now included in ORKTest
2015-07-10 09:39:46 +01:00
Umer Khan
00d469ca9b
Fixed code format for if statement.
2015-07-09 17:36:07 -07:00
Umer Khan
268367bfbe
Refactored text and email answer validation.
2015-07-09 17:30:41 -07:00
Umer Khan
f7f6143f34
Added context alerts for text and email form items & updated Mini Form in test app.
2015-07-09 14:33:40 -07:00
Yuan Zhu
df7428f8c0
Merge pull request #317 from danoli3/ios9-example-fix
...
Fix: Initializing from a metatype must reference 'init' explicitly
2015-07-09 11:27:35 -07:00
Umer Khan
019742bfc7
Moved validation code from ORKSurveyAnswerCell to ORKAnswerFormat.
2015-07-09 11:10:30 -07:00
Umer Khan
6d20008857
Updated invalid text alert message in localization file.
2015-07-09 10:37:29 -07:00
Umer Khan
86adf5093f
Updated text answer validation for email address.
2015-07-09 10:36:13 -07:00
Ricardo Sánchez-Sáez
fdedacaa51
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-07-09 15:46:58 +01:00
Coxy
7c9ebe1960
Add Tower of Hanoi Task
2015-07-09 13:10:54 +01:00
Daniel Rosser
ef606e38ac
Fix: Initializing from a metatype must reference 'init' explicitly
2015-07-09 15:54:38 +10:00
Bruce Duncan
b6dce69805
Per feedback from @umerkhan-apple, renamed accessibilityHint on the ORKImageCaptureStep to be accessibilityInstructions, and then added a new accessibilityHint property that represents the accessibilityHint on the "Capture Image" button.
2015-07-08 23:14:43 -04:00
Umer Khan
c005814613
Fixed navigation bar button glitch when switching views with custom title.
2015-07-08 15:24:14 -07:00
Umer Khan
324048d709
Modified localized invalid email alert message.
2015-07-07 17:43:16 -07:00
Umer Khan
12ef17ec90
Updated unit tests for ORKEmailAnswerFormat.
2015-07-07 16:35:31 -07:00
Yuan Zhu
c856b29933
Merge pull request #314 from ubik2/master
...
Fix issue #313 Special case handling for HKUnit percentUnit
2015-07-07 16:22:01 -07:00
Umer Khan
4e56c56985
Moved answerFormat from ORKAnswerFormat_Internal to ORKAnswerFormat.
2015-07-07 16:18:11 -07:00
Umer Khan
f85964f2f9
Added alert for maximum length exceeded in a text answer.
2015-07-07 16:01:35 -07:00
Robin McCollum
548b38924b
Fix issue #313 Special case handling for HKUnit percentUnit default form values
2015-07-07 15:47:21 -07:00
Umer Khan
5665d02cab
Updated localizedInvalidValueStringWithAnswerString for email validation only.
2015-07-07 11:06:51 -07:00
Umer Khan
5ae1252bff
Fixed ORKSurveyAnswerCellForText email validation.
2015-07-07 10:24:51 -07:00
Umer Khan
3cc9ddcb02
Updated localizedInvalidValueStringWithAnswerString for ORKTextAnswerFormat.
2015-07-06 17:51:45 -07:00
Umer Khan
8a01f9c741
Implemented PR changes.
2015-07-06 17:45:15 -07:00
Umer Khan
3ed95dec20
Updates from PR.
2015-07-06 17:03:47 -07:00
Umer Khan
3d33bb4061
Removed extra imports from ORKAnswerFormatTests.
2015-07-06 16:59:43 -07:00
Umer Khan
1838ebd9cd
Added unit tests for email answer format regex validation.
2015-07-06 16:58:16 -07:00
Umer Khan
e7058383cf
Added ORKFormItemCell implementation for ORKEmailAnswerFormat with MiniForm Test.
2015-07-06 15:30:59 -07:00
Umer Khan
cafbd3efb4
Removed ORKQuestionTypeEmail from implementation.
2015-07-06 15:10:53 -07:00
Umer Khan
02fade4c5c
Revert correctValueIfNeeded in ORKSurveyAnswerCellForText back to original implementation.
2015-07-06 13:37:59 -07:00
Umer Khan
ecdfacd8e4
Added questionResultClass to ORKEmailAnswerFormat.
2015-07-06 13:32:43 -07:00
Umer Khan
4a37a54f24
Updated the documentation for ORKEmailAnswerFormat
2015-07-06 13:27:35 -07:00
Umer Khan
82d1d32149
Added ORKEmailAnswerFormat test into Selection Survey.
2015-07-06 12:53:58 -07:00
Umer Khan
ea189b85c5
Add class method implementation for ORKEmailAnswerFormat.
2015-07-06 10:39:08 -07:00
Yuan Zhu
75e5f6846f
Merge pull request #307 from weijentu/master
...
ORKHTMLPDFWriter generates an extra empty page when useMetric is true
2015-07-06 10:19:55 -07:00
Umer Khan
d25ee99dd6
Added ORKEmailAnswerFormat to support email answers.
2015-07-02 16:53:35 -07:00
Umer Khan
ffef2ffef3
Updating comment for numer pad keyboard test.
2015-07-02 13:56:28 -07:00
Umer Khan
eef7a42501
Updating ORKTest with a textAnswerFormat using a number pad keyboard.
2015-07-02 13:39:36 -07:00
Umer Khan
01231010cd
Merge remote-tracking branch 'upstream/master' into iss261
2015-07-02 13:29:17 -07:00
Bruce Duncan
90448fe9b4
Per discussion with @umerkhan-apple, removed the recaptureAccessibilityHint and renamed the remaining property to simply be accessibilityHint. Added a new accessibilityLabel localized string for when the preview is showing a captured image.
2015-07-02 16:27:23 -04:00
Umer Khan
8808da5225
Exposed keyboard type property on text entry fields.
2015-07-02 13:22:14 -07:00
Allen Tu
679f8f7f6b
ORKHTMLPDFWriter generate an extra empty page when useMetric is true
...
When useMetric is true, ORKHTMLPDFWriter is going to generate an extra
empty pages before the signature page. To gain little more pixels can
omit this extra empty page.
2015-07-02 09:58:51 -07:00
Yuan Zhu
e258f01e0a
Merge pull request #304 from weijentu/master
...
Reverse family/given name order for zh, ko and ja
2015-07-01 16:49:47 -07:00
Allen Tu
da117c191f
Address an issue that the method familyNameFirstLangs to be constructed multiple times
...
inline keyword would actually copy the code to the places where it get
referenced. It causes static dispatch_once_t onceToken and static
NSArray *familyNameFirstLangs to be duplicated.
2015-07-01 16:34:55 -07:00
Bruce Duncan
4072b6e285
Implementation of issue #228 , with a separate hint for each of the two different modes of the preview view.
2015-07-01 19:11:04 -04:00
Allen Tu
dfda44c635
Make the separator explicit
2015-07-01 15:55:55 -07:00
Allen Tu
130c172a6e
Move currentLocalePresentsFamilyNameFirst to ORKHelpers
...
Move currentLocalePresentsFamilyNameFirst to ORKHelpers
2015-07-01 15:38:02 -07:00
Allen Tu
926d6f4a4b
Reverse family name first in language configuration with a prefix @"zh", @"ko" or @"ja" when making a pdf consent
...
Reverse family name first in language configuration with a prefix
@"zh", @"ko" or @"ja" when making a pdf consent
2015-07-01 13:29:46 -07:00
Yuan Zhu
286c26359d
Merge pull request #301 from umerkhan-apple/master
...
Localization for numbers throughout the ResearchKit
2015-07-01 13:05:08 -07:00
Umer Khan
bf6c081869
Refactored macro and number formatter for tapping test.
2015-06-29 17:05:43 -07:00
Umer Khan
981103e54c
Localized numbers for tapping count.
2015-06-29 16:13:42 -07:00
Umer Khan
16c1b736bc
Updated the Localizable.strings files.
2015-06-29 15:36:36 -07:00
Umer Khan
6dabdf1ec1
Refactored localization code with macro.
2015-06-29 15:08:08 -07:00
Umer Khan
d4e88e28cb
Reverting minor change in Localizable.strings files.
2015-06-29 11:44:49 -07:00
Umer Khan
4fad188807
Minor fix in localized strings file for English (UK).
2015-06-29 11:40:05 -07:00
Umer Khan
399ea5b117
Localized numbers throughout the kit
2015-06-29 11:18:05 -07:00
Yuan Zhu
6fd991a0d7
Merge pull request #298 from YuanZhu-apple/master
...
Fix issue #292 Value picker in a non optional form allows going to next step
2015-06-26 10:07:46 -07:00
Yuan Zhu
88b1559ad9
Merge pull request #293 from shazino/ork_catalog-app-icon
...
Add AppIcon for ORKCatalog app
2015-06-23 16:09:38 -07:00
Yuan Zhu
197e0205c6
Remove debug code
2015-06-20 23:53:50 -07:00
Yuan Zhu
bdc136b184
Fix issue #292 Value picker in a non optional form allows going to next step
...
Add a common method `ORKIsAnswerEmpty(id answer)` to judge if an answer is empty.
Also add a non optional form step in ORKTest.
2015-06-20 23:52:08 -07:00
Coxy
f98574a483
correct dumb error
2015-06-18 11:16:24 +01:00
Coxy
b4e463ed21
make PR suggested changes
2015-06-18 09:13:35 +01:00
Coxy
36a4d7e200
Pie chart title layout is now customisable, apply refactoring suggestions in PR, ORKAxisView now uses autolayout. A few other small changes for cosmetic reasons and consistency
2015-06-17 19:56:46 +01:00
Yuan Zhu
892404fd59
Merge pull request #204 from rsanchezsaez/rsanchezsaez-codingstyleguide
...
Add coding-sytle-guide.md document
2015-06-16 14:44:35 -07:00
Ricardo Sánchez-Sáez
73bb8b00a5
Coding Style Guide: personalize copyright line in example header
2015-06-16 15:13:13 +01:00
Coxy
54442f56cc
pie chart now appears first in catalog, title / text labels now appear above pie chart, pie chart animation is now visible, cosmetic / style issues now resolved.
2015-06-15 19:18:05 +01:00
Ricardo Sánchez-Sáez
bc3640c776
Coding Style Guide: add hard wrap guideline to appledoc section
2015-06-15 11:08:34 +01:00
Ricardo Sánchez-Sáez
c659231e85
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-codingstyleguide
2015-06-14 23:00:28 +01:00
Ricardo Sánchez-Sáez
2b7efb3d9b
Coding Style Guide: add appledoc section
2015-06-14 22:59:07 +01:00
Ricardo Sánchez-Sáez
6e1200ec0f
Coding Style Guide: remove redundant wording
2015-06-14 22:33:45 +01:00
Ricardo Sánchez-Sáez
34f63d94e1
Coding Style Guide: add note about implicit nil initialization of object pointers
2015-06-14 22:33:45 +01:00
Ricardo Sánchez-Sáez
23c8f0c3a1
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-codingstyleguide
2015-06-14 22:33:45 +01:00
Ricardo Sánchez-Sáez
b7b1cc74eb
Add coding-style-guide.md document
...
Link it from CONTRIBUTING.md. Also: move dependency-management.md to the new docs-standalone folder.
2015-06-14 22:33:45 +01:00
Julien Therier
a06c6488a4
Add AppIcon for ORKCatalog app
2015-06-14 16:42:22 +02:00
Yuan Zhu
80bed1dec2
Merge pull request #273 from brucehappy/stepheaderviewlayout
...
Allow caption and instruction labels to grow or shrink in step header view
2015-06-12 11:22:40 -07:00
Bruce Duncan
e31b8f21f8
Moved existing layout debug code up into the initializer and changed the colors to match each separate component's background color.
2015-06-12 14:07:26 -04:00
Yuan Zhu
85cd25741a
Merge pull request #265 from rsanchezsaez/rsanchezsaez-imagecapture
...
Fix Image Capture View constraints not being updated after a rotation
2015-06-12 10:19:53 -07:00
Bruce Duncan
3c01156ea9
Changed the layout debug colors to use alpha. Removed setting of default hugging priority in initializer for caption and instruction labels.
2015-06-12 11:27:39 -04:00
Coxy
45bd2f28e3
line charts now animate out of snapped positions, pie chart line width is configurable and capped when it results in filled pie.
2015-06-12 10:09:10 +01:00
Bruce Duncan
71de23ce43
Merge branch 'master' into stepheaderviewlayout
2015-06-11 20:55:11 -04:00
Ricardo Sánchez-Sáez
e2c081dd98
ORKImageCaptureView: use ivars instead of internal properties
...
Also hard-wraps constraint code.
2015-06-11 00:15:52 +01:00
Ricardo Sánchez-Sáez
040cd69ecf
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-imagecapture
...
# Conflicts:
# ResearchKit/Common/ORKImageCaptureView.m
2015-06-11 00:07:10 +01:00
Yuan Zhu
6f44f74028
Merge pull request #278 from coxy1989/coxy-issue193
...
prevent ORKFormStepViewController proceeding to the next step if the …
2015-06-10 14:26:05 -07:00
Coxy
c4bfa99597
improve readability, add documenting comment
2015-06-10 08:54:19 +01:00
Yuan Zhu
57cb115ac4
Merge branch 'stable'
2015-06-09 18:37:44 -07:00
Yuan Zhu
fa5214c4bc
Update ResearchKit.podspec
...
To 1.1.2
2015-06-09 18:35:52 -07:00
Yuan Zhu
84ad0d4072
Fix two warnings in release build.
2015-06-09 18:31:52 -07:00
Yuan Zhu
8b9cfb3082
Merge branch 'stable'
2015-06-09 18:17:51 -07:00
Yuan Zhu
9ed835007f
Update ResearchKit.podspec
...
To 1.1.1
2015-06-09 18:15:44 -07:00
Coxy
df71dd575e
fix
2015-06-09 13:16:15 +01:00
jwe-apple
23d42e1883
Merge pull request #288 from jwe-apple/ios9
...
Support for iOS 9, Xcode 7, and Swift 2.
2015-06-08 18:35:17 -07:00
John Earl
6ee6c36483
Support for iOS 9, Xcode 7, and Swift 2.
2015-06-08 18:11:07 -07:00
jwe-apple
1e67f88a7f
Merge pull request #287 from jwe-apple/serialization-nullability
...
Add nullability annotation to ORKESerialization
2015-06-08 18:10:07 -07:00
John Earl
d616b26fc0
Add nullability annotation to ORKESerialization
2015-06-08 18:05:40 -07:00
John Earl
c291842226
Merge branch 'convergence'
2015-06-08 16:51:11 -07:00
jwe-apple
67bc2884bb
Merge pull request #286 from jwe-apple/translations-1.1
...
Localization update for ResearchKit 1.1
2015-06-08 16:49:28 -07:00
John Earl
3b3280bdda
Review fix
2015-06-08 16:46:02 -07:00
John Earl
4fcb4b8cb6
Project file update
2015-06-08 16:42:24 -07:00
John Earl
7d7a25f77c
Localization update for ResearchKit 1.1
...
Updates ResearchKit translations for new features for 1.1.
Incorporates some bug fixes to existing translations too, and
ensures that ORKTest app can be used for testing all the localizations.
2015-06-08 14:35:17 -07:00
Yuan Zhu
544352a288
Merge pull request #274 from niakrise/issue_259
...
Minor animation glitch when showing keyboard on a form #259
2015-06-08 14:27:38 -07:00
John Earl
33e0f03c37
Merge branch 'convergence'
2015-06-08 14:21:56 -07:00
jwe-apple
64f51aaa3c
Merge pull request #285 from jwe-apple/speech
...
Fix speech rate on iOS 8.3 and earlier
2015-06-08 14:21:09 -07:00
jwe-apple
f9b7b57e3a
Merge pull request #284 from jwe-apple/viet
...
Vietnamese is a family name first language
2015-06-08 14:20:09 -07:00
jwe-apple
333053deb8
Merge pull request #283 from ResearchKit/revert-282-viet
...
Revert "Vietnamese is a family name first language"
2015-06-08 14:17:59 -07:00
jwe-apple
5a18717615
Revert "Vietnamese is a family name first language"
2015-06-08 14:17:39 -07:00
jwe-apple
6719ad01f0
Merge pull request #282 from jwe-apple/viet
...
Vietnamese is a family name first language
2015-06-08 14:17:05 -07:00
John Earl
8155c96d61
Vietnamese is a family name first language
...
Add Vietnamese to the list of such languages for consent review.
2015-06-08 14:16:00 -07:00
John Earl
af6a62483a
Fix speech rate on iOS 8.3 and earlier
...
Patch earlier this week adjusted the speech rate to use the default speech
rate. This is too fast a rate on iOS 8.3 and earlier.
2015-06-08 14:14:26 -07:00
jwe-apple
9d35a3842b
Merge pull request #280 from YuanZhu-apple/master
...
Fix test failure in ORKTest
2015-06-08 14:08:11 -07:00
Yuan Zhu
5f73e4d1c2
Fix test failure in ORKTest
...
Make contentURL work as a bookmark URL.
2015-06-08 14:05:36 -07:00
John Earl
0cca4e0852
Merge branch 'convergence'
2015-06-08 09:54:17 -07:00
Coxy
a823528eef
prevent ORKFormStepViewController proceeding to the next step if the participant has typed an invalid value (issue #193 )
2015-06-08 13:57:56 +01:00
Zoya Pribytkova
3c413f3088
resolved conflicts with master branch.
2015-06-08 18:41:56 +07:00
Zoya Pribytkova
d155da245a
Merge branch 'master' into issue_259
2015-06-08 18:37:32 +07:00
Zoya Pribytkova
5908b3a07b
fixed #259 second case. (Switching between placeholder and suffix in ORKUnitTextField)
2015-06-08 14:54:47 +07:00
jwe-apple
e88ed5d551
Merge pull request #272 from brucehappy/convergence_issue_242
...
Image Capture Step optional support
2015-06-07 20:32:31 -07:00
Bruce Duncan
cfeb443255
Move all manipulation of the continue and skip buttons to an update function called by the functions that affect them.
2015-06-07 18:46:03 -04:00
Zoya Pribytkova
b09c054c32
fixed #259
2015-06-06 19:26:03 +07:00
Bruce Duncan
88c207d285
Allow the captionLabel and instructionLabel to either shrink or grow when one is empty and the other is not
2015-06-06 05:30:36 -04:00
Bruce Duncan
9813ddc17e
Do not allow the continue button to be used when set during an error state. This can happen in the simulator where there is no camera.
2015-06-06 03:46:37 -04:00
Bruce Duncan
fa37135471
Prevent the file from being rewritten on initialization from a valid result. Clean up handleError slightly.
2015-06-06 03:37:56 -04:00
Bruce Duncan
90f4cc472a
Removed if statement in capturePressed as only the "then" can now occur
2015-06-06 02:58:57 -04:00
Bruce Duncan
c3254ecc46
Update the continue button if its not currently set to the capture button
2015-06-05 21:18:20 -04:00
Bruce Duncan
68623b97c2
Added support for optional. Fixed layout problem (thanks to @YuanZhu-apple #269 ). Reworked saving of continue and skip buttons. Made the ORKCatalog image capture step non-optional.
2015-06-05 19:59:04 -04:00
John Earl
442e55e14b
Merge branch 'convergence'
2015-06-05 16:48:15 -07:00
Bruce Duncan
ad707bf2a3
Merge branch 'issue_242' into convergence_issue_242
2015-06-05 18:21:14 -04:00
jwe-apple
f9e5a898a2
Merge pull request #271 from YuanZhu-apple/convergence
...
In FormItemCell, lower a heightConstraint's priority
2015-06-05 14:58:55 -07:00
Yuan Zhu
eef997cc1b
In FormItemCell, lower a heightConstraint's priority to avoid conflicts with system supplied UIView-Encapsulated-Layout-Height constraint.
2015-06-05 13:11:36 -07:00
jwe-apple
4fac6c1c08
Merge pull request #268 from YuanZhu-apple/convergence
...
"Learn More" modal views: replace "Cancel" with "Done" (Fix for #266 )
2015-06-05 10:24:05 -07:00
Coxy
3be88f7d38
address PR review comments, new dynamic pie chart layout implementation
2015-06-05 16:51:06 +01:00
Yuan Zhu
781d95ab88
Change the method name as well.
2015-06-04 22:00:23 -07:00
Yuan Zhu
69c5c63e7b
"Learn More" modal views: replace "Cancel" with "Done" (Fix for #266 )
2015-06-04 20:14:56 -07:00
jwe-apple
955f1bede9
Merge pull request #205 from brucehappy/issue_186
...
Exclusive Text Choices - Issue #186
2015-06-03 18:31:54 -07:00
jwe-apple
ededc79153
Merge pull request #220 from jamiedaniel/master
...
Display document in ORKConsentLearnMoreViewController
2015-06-03 18:31:34 -07:00
jwe-apple
f36a059306
Merge pull request #267 from rsanchezsaez/rsanchezsaez-imagecapturefix
...
Fix image capture view constraints updating after rotation
2015-06-03 18:24:12 -07:00
Ricardo Sánchez-Sáez
2593b7ae99
ORKImageCaptureView: fix constraints not being updated after a rotation
2015-06-03 22:34:05 +01:00
Ricardo Sánchez-Sáez
1f3c0bd922
Merge remote-tracking branch '_upstream/master' into rsanchezsaez-imagecapture
2015-06-03 11:27:35 +01:00
Ricardo Sánchez-Sáez
143c29ea10
ORKImageCaptureView: fix constraints not being updated after a rotation
2015-06-03 11:14:35 +01:00
jwe-apple
512bed7505
Merge pull request #264 from brucehappy/fix_pr_262
...
Fix for compile error in #262
2015-06-03 00:08:02 -07:00
Bruce Duncan
91e8a9a370
Fixed renamed identifier reference
2015-06-03 02:58:07 -04:00
Bruce Duncan
fd330506f2
Fix for #242 Experiencing an error will now completely shut down the image capture step, including removing the continue and skip buttons, and resulting in only error text shown in the view.
2015-06-03 02:50:50 -04:00
Yuan Zhu
600c8f0898
Merge pull request #262 from jwe-apple/test2
...
Fix tests and rename Device Motion Reaction Time to Reaction Time
2015-06-02 23:28:39 -07:00
John Earl
17219a81a2
Review changes.
2015-06-02 23:10:49 -07:00
John Earl
c7a0f893a4
Add missing files
2015-06-02 19:01:15 -07:00
John Earl
fbe97c7c53
Fix tests and rename Device Motion Reaction Time to Reaction Time
...
Makes all tests pass in both ORKTest and ResearchKit.
Fixes test failures introduced in #252 .
Also fixes #257 , renaming to ORKReactionTime...
2015-06-02 18:57:46 -07:00
jwe-apple
1f9ea2351c
Merge pull request #258 from rsanchezsaez/jwe-nsurlserialization
...
ORKURLForRelativePath(): use NSURL methods instead of CFURL's
2015-06-02 18:17:47 -07:00
Ricardo Sánchez-Sáez
99db33cbc4
ORKURLForRelativePath(): use NSURL methods instead of CFURL's
...
Also: minor variable renames and whitespace conforming.
2015-06-02 22:12:55 +01:00
John Earl
1c52f9421b
Minor fix (thanks @rsanchezsaez)
2015-06-02 12:28:11 -07:00
jwe-apple
2ff60bfc91
Merge pull request #252 from jwe-apple/nsurl-serialization
...
Exception when saving and restoring image capture step.
2015-06-02 12:25:54 -07:00
jwe-apple
784b9c266c
Merge pull request #255 from rsanchezsaez/rsanchezsaez-imagecapture
...
Update image capture task images in ORKCatalog
2015-06-02 12:24:59 -07:00
jwe-apple
87d9a720c8
Merge pull request #254 from jwe-apple/consented
...
Add explicit consent review indication
2015-06-02 12:24:16 -07:00
John Earl
07005babf4
Review fix
2015-06-02 12:24:09 -07:00
jwe-apple
6a877cf70a
Merge pull request #253 from jwe-apple/formstep
...
Issue #245 : enable multiple section headers
2015-06-02 12:22:41 -07:00
John Earl
4358bd903f
Review fixes.
2015-06-02 12:22:04 -07:00
jwe-apple
f711545f8f
Merge pull request #251 from jwe-apple/reaction-timeout
...
Reaction time task does not time out in sim
2015-06-02 11:53:53 -07:00
John Earl
591ee60003
Add conditional to address review feedback
2015-06-02 11:53:39 -07:00
jwe-apple
34d2fec94e
Merge pull request #250 from jwe-apple/keyboard-hide
...
Keyboard does not hide when tapping on margins on iPad
2015-06-02 11:51:27 -07:00
jwe-apple
41e239fa2e
Merge pull request #249 from jwe-apple/speechrate
...
Speech rate should use default speech rate
2015-06-02 11:51:12 -07:00
jwe-apple
c05f998007
Merge pull request #248 from jwe-apple/textlayout
...
Fix unexpected text truncation
2015-06-02 11:50:05 -07:00
John Earl
0559b095af
Review fix: align with contract of return type
2015-06-02 11:49:24 -07:00
Ricardo Sánchez-Sáez
8d95cf9c19
ORKCatalog: update image capture task images
...
Also, fix small issue in ORKImageCaptureCameraPreviewView.
2015-06-02 10:55:18 +01:00
John Earl
94333e65da
Add explicit consent review indication
...
Adds a `consented` property to ORKConsentSignatureResult. This property
is true if the consent has been explicitly agreed by the user, and false
otherwise.
Added ORKESerializer support and verified unit tests pass.
2015-06-02 00:27:05 -07:00
John Earl
6c9312ffd8
Issue #245 : enable multiple section headers
...
If multiple section headers are requested, they will now all display.
As a side effect, this also fixes #245 .
2015-06-02 00:17:19 -07:00
John Earl
9e498684b2
Exception when saving and restoring image capture step.
...
If the app is terminated while on an image capture step, and restarted
by build and run from Xcode, an exception would occur while restoring.
This is a symptom of serializing NSURL's directly, rather than serializing
either a relative path or bookmark data. This matters because the path can
change after a reinstall or restore from backup.
Here we make two changes. First, the output directory in task and step
view controller is serialized as bookmark data rather than directly as a URL.
Secondly, for results serialization, NSURL references are stored as paths
relative to the NSHomeDirectory (i.e. the root of the writable sandbox).
2015-06-01 23:55:03 -07:00
John Earl
43359003ca
Reaction time task does not time out in sim
...
The reaction time task was untestable in the simulator. Here, we add
support for both timing out the task in the simulator, and for using the
shake gesture in the simulator.
2015-06-01 22:54:36 -07:00
jwe-apple
8c2b897a8e
Merge pull request #246 from rsanchezsaez/rsanchezsaez-imagecapture
...
Improvements to image capture active step
2015-06-01 22:37:40 -07:00
John Earl
61a67a4e26
Keyboard does not hide when tapping on margins on iPad
...
Steps to reproduce:
- Build and deploy ORKTest to iPad sim
- Miniform -> Weight
- Tap on weight, Keyboard appears
- Tap on side of screen
Actual result:
- Keyboard does not hide
Expected result:
- Keyboard should hide.
Fix: allow parent view to specify a different tap off scope for the tap off
gesture recognizer by exposing a tapOffView property on ORKTableContainerView.
This has no API impact, since ORKTableContainerView is internal to the framework.
2015-06-01 22:31:09 -07:00
John Earl
0f22145f37
Speech rate should use default speech rate
...
Using a speech rate relative to the maximum speech rate is error
prone.
2015-06-01 22:12:18 -07:00
John Earl
1bd8764245
Fix unexpected text truncation
...
In certain scenarios, the interaction of auto layout and the selection of
the preferredMaxLayoutWidth could result in text being abnormally
truncated.
This fix lets the labels in the headerview be full width, by reducing the
content hugging priority.
This is slightly less efficient from a rendering perspective but makes
the autolayout calculation more stable.
2015-06-01 21:49:33 -07:00
jwe-apple
a6aa2fbab7
Merge pull request #247 from jwe-apple/timepicker2
...
Fix picker layout centering in certain conditions.
2015-06-01 21:25:48 -07:00
John Earl
43bd4897cd
Fix picker layout centering in certain conditions.
...
The constraints implementation change updates to correct behavior, but did
not affect the actual bug.
2015-06-01 21:24:07 -07:00
Ricardo Sánchez-Sáez
ce52ed22cc
ORKImageCaptureStepViewController: log additional error on image write failure
2015-06-02 00:54:07 +01:00
Ricardo Sánchez-Sáez
cac4c8bbeb
ORKImageCaptureCameraPreviewView: add fade in/out animation to template image
2015-06-02 00:49:39 +01:00
Ricardo Sánchez-Sáez
54c3374f93
ORKImageCaptureCameraPreviewView: make template image to insets from actual video frame instead of superview frame
...
Compare running on iPad vs iPhone 6 to see the difference.
Also: use plain UIImageView instead of ORKTintedImageView for captureImageView.
2015-06-01 23:49:06 +01:00
Ricardo Sánchez-Sáez
34d80c8842
ORKImageCaptureView: use ORKBackgroundColor instead of hardcoded white color
2015-06-01 23:39:13 +01:00
Ricardo Sánchez-Sáez
25dec24ebf
ORKTest: replace image capture example image
2015-06-01 23:29:54 +01:00
Jamie Daniel
1250da259d
Merge remote-tracking branch 'upstream/master'
2015-06-01 00:24:26 -04:00
jwe-apple
58b512172d
Merge pull request #239 from jwe-apple/imagecapture2
...
Issue #234 - Fix rotation behavior on iPad.
2015-05-31 15:55:09 -07:00
jwe-apple
3c49a02b1c
Merge pull request #238 from jwe-apple/issue-236
...
Only attempt to create outputDirectory if it is non-nil
2015-05-31 15:52:57 -07:00
jwe-apple
df31766f16
Merge pull request #240 from rsanchezsaez/rsanchezsaez-reactiontime
...
Reaction time task: fix issues
2015-05-31 15:52:41 -07:00
Ricardo Sánchez-Sáez
bbfd809e84
ResultTableViewProviders: fix crash because ORKDeviceMotionReactionTimeResult's timestamp was selectable
...
Also corrects the selectable attribute of some non-selectable rows and removes unneeded code.
2015-05-31 13:34:27 +01:00
Ricardo Sánchez-Sáez
2eee55747a
Reaction time task: fix issue which caused the failure animation not to show if shaking device before blue dot appeared
...
Also: avoid launching the failure animation twice if shaking the device while timeout failure animation was shown.
2015-05-31 12:59:55 +01:00
John Earl
06d1a23032
Issue #224 - Fix rotation behavior on iPad.
...
Existing listened for device orientation notifications, rather than status bar orientation.
Status bar orientation is the right one to listen for.
2015-05-30 23:22:11 -07:00
John Earl
e458ec5845
Only attempt to create outputDirectory if it is non-nil
2015-05-30 20:16:18 -07:00
jwe-apple
2bb1eed6f4
Merge pull request #232 from rsanchezsaez/rsanchezsaez-reactiontime
...
Device motion reaction time code improvements
2015-05-30 20:01:31 -07:00
jwe-apple
f66aead4da
Merge pull request #237 from rsanchezsaez/rsanchezsaez-toneaudiometry
...
Tone audiometry: stop playing sound on step suspend
2015-05-30 19:59:36 -07:00
Ricardo Sánchez-Sáez
614b1d7080
ORKToneAudiometryPracticeStepViewController: stop playing tone on suspend, and restart on resume
2015-05-30 11:23:41 +01:00
Ricardo Sánchez-Sáez
8649fa8223
ORKDeviceMotionReactionTimeStep: add minimumStimulusInterval and timeout validation
...
Adds corresponding unit tests.
2015-05-30 11:05:37 +01:00
Ricardo Sánchez-Sáez
fb939304b9
ORKDeviceMotionReactionTime: various code improvements (fixes error in step copy method)
...
Also:
- Refactor and simplify constraint code.
- Conform to whitespace conventions.
- Replace true/false usage by YES/NO.
- Use SystemSoundID instead of UInt32.
2015-05-29 14:40:29 +01:00
Ricardo Sánchez-Sáez
38707d4f67
ORKContinueButton: refactor constraint code
...
- Make most constraints static and lighten updateConstraints.
- Add constraints by activation.
2015-05-29 00:30:58 +01:00
Ricardo Sánchez-Sáez
b5b3c61be0
ORKConsentSignatureController: refactor constraint code
...
- Make most constraints static and lighten updateConstraints.
- Add constraints by activation.
2015-05-29 00:29:45 +01:00
Ricardo Sánchez-Sáez
64f702b826
ORKActiveStepQuantityView: rename local variable (additionalConstraints -> constraints)
2015-05-28 23:23:18 +01:00
Ricardo Sánchez-Sáez
fdef4d29bd
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
...
# Conflicts:
# ResearchKit/Common/ORKVerticalContainerView.m
2015-05-28 23:13:44 +01:00
Coxy
2e549a3825
Header comments first draft, some header refactoring, fix line chart scrubbing bug introduced in ~2
2015-05-28 18:00:50 +01:00
Coxy
7aa352d1ca
address PR comments: mostly cosmetic
2015-05-28 11:24:55 +01:00
Jamie Daniel
94f82683de
Merge remote-tracking branch 'upstream/master'
2015-05-27 15:12:17 -04:00
jwe-apple
3e23cd4b8b
Merge pull request #229 from rsanchezsaez/rsanchezsaez-headerdocs
...
Fix overviews' example code warnings by using fenced code blocks
2015-05-27 10:52:15 -07:00
Jamie Daniel
849b7cefa5
Merge remote-tracking branch 'upstream/master'
2015-05-27 12:06:27 -04:00
Jamie Daniel
f891adfaa9
Corrected decode for url and corrected tests for serialization.
2015-05-27 11:48:11 -04:00
Jamie Daniel
b29818cb96
Correct name of method to match parameters scheme
2015-05-26 20:40:49 -04:00
Ricardo Sánchez-Sáez
f8632a371d
Fix HeaderDoc markdown template warnings by using fenced code blocks
...
It needs appledoc v2.2.1 (build 1334), which can be found here: https://github.com/tomaz/appledoc/pull/535
2015-05-26 23:29:25 +01:00
jwe-apple
097ff8dd63
Merge pull request #227 from jwe-apple/accessibility
...
Accessibility updates.
2015-05-26 13:30:00 -07:00
John Earl
22696a6d38
Accessibility updates.
...
- Annotates the image capture view in an image capture step as an image.
- Adds the slider range description labels to the VoiceOver range description.
2015-05-26 13:28:55 -07:00
John Earl
81acc7bbd9
Issue #222 - Bump versions to 1.1
2015-05-26 13:17:55 -07:00
jwe-apple
98980500ec
Merge pull request #225 from rsanchezsaez/rsanchezsaez-scaleconstraints
...
Fix autolayout warnings after rotation on form with vertical scales
2015-05-26 13:14:33 -07:00
Jamie Daniel
21fdd1364c
Display document in ORKConsentLearnMoreViewController TESTING
...
Fixes #215
2015-05-26 03:04:01 -04:00
jwe-apple
2ca06c44b2
Merge pull request #226 from rsanchezsaez/rsanchezsaez-headerdocs
...
Fix some erroneous HeaderDocs @param comments
2015-05-25 23:17:27 -07:00
Ricardo Sánchez-Sáez
06326d7ffe
HeaderDocs: fix some erroneous @param comments
2015-05-26 00:55:09 +01:00
Ricardo Sánchez-Sáez
bc7ea01397
ORKScaleSliderView: fix autolayout warnings on form with vertical scales rotation ( #202 )
...
Also simplifies vertical scale autolayout code.
2015-05-26 00:18:03 +01:00
jwe-apple
dbe906e7ec
Merge pull request #223 from rsanchezsaez/rsanchezsaez-navigationrules
...
Step navigation rules: rename 'matchingStepIdentifiers' to 'destinationStepIdentifiers'
2015-05-25 14:05:28 -07:00
jwe-apple
bde087d3b3
Merge pull request #217 from rsanchezsaez/rsanchezsaez-visualconsent
...
Add optional tinted image cache (only enabled for consent step view controller)
2015-05-25 13:55:22 -07:00
Ricardo Sánchez-Sáez
c3b353783f
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
2015-05-25 21:53:53 +01:00
Ricardo Sánchez-Sáez
53bcccdc87
ORKStepNavigationRule: rename 'matchingStepIdentifiers' by 'destinationStepIdentifiers'
2015-05-25 21:53:36 +01:00
jwe-apple
94b644ca6f
Merge pull request #221 from ayushgoel/master
...
Make plist to strings script DRY
2015-05-25 13:47:36 -07:00
Ricardo Sánchez-Sáez
d25bdbe953
ORKVisualConsentStepViewController: preload next consent section image only
...
(Instead of loading the whole view controller.)
2015-05-25 20:07:32 +01:00
Ricardo Sánchez-Sáez
3af24d1828
ORKConsentSection: move image loading from controller to internal property
...
Also moves ConsentSection+AssetLoading contents to main file.
2015-05-25 19:50:43 +01:00
Ayush Goel
117c84d06a
Make plist to strings script DRY
...
Refactor repeated code to create a function
2015-05-25 10:20:10 +05:30
Jamie Daniel
966790eb47
Display document in ORKConsentLearnMoreViewController
...
Fixes #215
2015-05-24 00:34:16 -04:00
Jamie Daniel
6b3dd56772
Display document in ORKConsentLearnMoreViewController
...
Fixes #215
2015-05-22 13:24:27 -04:00
Ricardo Sánchez-Sáez
180294ce71
ORKTintedImageView: fix error with animated image tinting
2015-05-22 16:10:19 +01:00
Bruce Duncan
10f89bd445
Removed unused variables
2015-05-22 02:44:09 -04:00
Bruce Duncan
32f580eca9
Missed some uses of choiceWithText
2015-05-22 02:04:34 -04:00
Bruce Duncan
b858656fde
Removed extraneous choiceWithFormat factory methods and changed code that called them.
2015-05-22 01:48:12 -04:00
Bruce Duncan
accc78709c
Reworked existing single choice test to take in the format and choices, so that I could use it to test an answer in multiple mode, but that has a set of choices where all are exclusive. Added a two exclusive choice test which tests exclusives unselecting other exclusives.
2015-05-22 01:38:53 -04:00
Ricardo Sánchez-Sáez
6bc2d35a94
ORKVisualConsentStepViewController & ORKTintedImageView: add optional tinted image view caching (only enabled for consent step view controller)
2015-05-22 02:24:41 +01:00
jwe-apple
1fe84298a0
Merge pull request #216 from rsanchezsaez/rsanchezsaez-visualconsent
...
ORKEAGLMoviePlayerView: fix incorrect aspect ratio after rotation
2015-05-21 16:29:14 -07:00
Ricardo Sánchez-Sáez
5e6442d3a0
ORKEAGLMoviePlayerView: fix incorrect aspect ratio after rotation
...
Also:
- Add guards so GL functions aren't called if OpenGL is not setup.
- Delete program and buffers on dealloc.
2015-05-22 00:09:38 +01:00
jwe-apple
8fbcb42170
Merge pull request #212 from rsanchezsaez/rsanchezsaez-visualconsent
...
Fix visual content warnings and crash
2015-05-21 16:07:01 -07:00
Ricardo Sánchez-Sáez
63272ecbce
ORKTintedImageView: return early and deindent method body
2015-05-22 00:00:50 +01:00
Bruce Duncan
6c4aafb174
Added copyright to ORKAnswerFormat. Removed convenience initializer for ORKTextChoice and changed the one instance of code using it, per @jwe-apple request.
2015-05-21 18:03:32 -04:00
Ricardo Sánchez-Sáez
ea07a956b2
ORKImageByTintingImage: return early instead of indenting
2015-05-21 23:00:42 +01:00
Bruce Duncan
2ac8d2c5fd
Broke getting the current text choice out onto a separate line for readability.
2015-05-21 17:56:57 -04:00
Ricardo Sánchez-Sáez
be0df4d187
ORKTintedImageView: make sure animated images are tinted at proper scale
2015-05-21 22:04:08 +01:00
Ricardo Sánchez-Sáez
07f48c125b
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-visualconsent
2015-05-21 20:59:15 +01:00
jwe-apple
b44cc8c072
Merge pull request #214 from jwe-apple/ui-review-2
...
UI review changeset
2015-05-21 10:11:29 -07:00
John Earl
5cd1562f6f
UI review changeset
...
- Add comments to remind developers to be careful what images they use for image capture steps.
- Update wording for both active tasks
- Add an extra step before countdown for the audiometry active task and be more explicit about headphones
- Adjust color, size, and alignment of supplementary scale labels
- Turn off audio tone generation when inactive
2015-05-21 10:10:27 -07:00
jwe-apple
2240780a5b
Merge pull request #209 from jwe-apple/ipad-fixes
...
Minor iPad layout fixes
2015-05-21 10:08:18 -07:00
jwe-apple
01a2de8934
Merge pull request #210 from jwe-apple/orktest-language
...
Minor changes to copy in ORKTest
2015-05-21 10:08:07 -07:00
Coxy
fdd7a43d96
Dry up graph classes, address other PR comments
2015-05-21 17:13:51 +01:00
Ricardo Sánchez-Sáez
fa966fa682
ORKVerticalContainerView: replace UIImageView by ORKTintedImageView
...
Tinting of consent images is now done by the ORKTintedView.
2015-05-21 14:49:07 +01:00
Ricardo Sánchez-Sáez
775e7f2520
ORKConsentSceneViewController: go back to using template rendering mode for consent images
...
It caused tinted consent images not to have the correct custom tint color and scale.
2015-05-21 14:36:58 +01:00
Ricardo Sánchez-Sáez
ff50ceb63e
ORKTintedImageView: avoid trying to tint a nil image
2015-05-21 14:11:46 +01:00
Ricardo Sánchez-Sáez
b7b8b751f6
ORKVisualConsentStepViewController: fix crash when animator completion block was executed after deallocation
2015-05-21 14:09:21 +01:00
Ricardo Sánchez-Sáez
fa5bbf3011
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-visualconsent
2015-05-21 13:57:05 +01:00
jwe-apple
952fc8c7ff
Merge pull request #211 from jwe-apple/swift-changes
...
Swift review changes
2015-05-20 23:27:23 -07:00
John Earl
e486bdef88
Swift review changes
...
The ORKCatalog changes for the image capture step have been reviewed for sample
code quality. A few minor changes ensue, mainly to simplify the syntax.
2015-05-20 23:24:49 -07:00
Ricardo Sánchez-Sáez
5047401252
ORKTest: add "Toggle Tint Color" button
2015-05-21 02:01:25 +01:00
John Earl
26dd857f0a
Minor changes to copy in ORKTest
...
The ORKTest copy is not part of the framework, not particularly
user visible, but it's nice to keep it consistent.
2015-05-20 14:34:21 -07:00
John Earl
404e46f84b
Minor iPad layout fixes
...
- Clip question step tableview to bounds to avoid visible artifact on
consent sharing step.
- Make consent sharing step present its "learn more" content in a form sheet.
2015-05-20 14:26:53 -07:00
John Earl
17679ff56e
Merge branch 'issue_1' of https://github.com/brucehappy/ResearchKit
2015-05-20 13:20:44 -07:00
jwe-apple
b6b5f0accc
Merge pull request #151 from rsanchezsaez/rsanchezsaez-navigationrules
...
Add navigable ordered task and step navigation rules
2015-05-20 13:06:57 -07:00
Ricardo Sánchez-Sáez
e6a27ba94a
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-05-20 20:21:49 +01:00
Ricardo Sánchez-Sáez
6ce52bad33
Move ORKNullStepIdentifier to ORKStepNavigationRule and add HeaderDoc comment
...
Also: add explicit test in ORKNavigableOrderedTask; make ORKResultPredicateTaskIdentifierVariableName safer by prefixing string value by ORK.
2015-05-20 11:23:27 +01:00
Coxy
c3cb9e042a
Merge branch 'master' into coxy-graphs
2015-05-20 10:20:12 +01:00
Bruce Duncan
1194bafcad
Neglected to mark exclusive a readonly property
2015-05-20 05:00:02 -04:00
Bruce Duncan
22124fc530
Implemented text choice exclusivity for the multiple-choice style. Exclusive choices can be used for things like "None of the above".
2015-05-20 04:45:19 -04:00
Ricardo Sánchez-Sáez
8bf354e741
ORKNavigableOrderedTask & ORKStep: add ORKNullStepIdentifier, to be used in step navigation rules when you want to end the ongoing task
2015-05-20 02:20:28 +01:00
Ricardo Sánchez-Sáez
e725a6514a
ORKTest: remove duplicate Reaction Time Task button
2015-05-20 02:04:54 +01:00
Ricardo Sánchez-Sáez
bd4bf8ec38
Fix 'dizziness' typo
2015-05-20 01:06:55 +01:00
jwe-apple
0736e68401
Merge pull request #201 from jwe-apple/fix-identifiers
...
Fix identifier uniqueness issues
2015-05-19 14:50:26 -07:00
Ricardo Sánchez-Sáez
f85ed88df3
ORKDirectStepNavigationRule: allow 'destinationStep' nullability
...
A direct step navigation rule with a nil destination step identifier can be used to finish the ongoing task early.
Also adds corresponding Unit Tests.
2015-05-19 21:43:05 +01:00
Bruce Duncan
b6f4dbc345
Make sure that translatesAutoresizingMaskIntoConstraints is set to NO on init of the sub views, as well as self, both on init and if the constraints are updated.
2015-05-19 04:58:11 -04:00
Ricardo Sánchez-Sáez
853103ef1c
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# Testing/ORKTest/ORKTest/MainViewController.m
2015-05-19 09:28:18 +01:00
Ricardo Sánchez-Sáez
622af54829
ORKResultPredicate: use ORK_EXTERN for ORKResultPredicateTaskIdentifierVariableName
...
Also renames ORKTaskIdentifierResultPredicateVariableName to ORKResultPredicateTaskIdentifierVariableName.
2015-05-19 09:24:07 +01:00
John Earl
52f3d906a4
Fix ORKTest unit tests
2015-05-19 00:19:23 -07:00
John Earl
72217721cd
Fix identifier uniqueness issues
...
1) Form items can have no identifier if they are just placeholders
for section headers in the table view. We should ignore the nil
identifiers for the purpose of the uniqueness check.
2) In ORKTest, the scale questions task had a non-unique step
identifier in it.
2015-05-19 00:02:03 -07:00
Bruce Duncan
cde2e256f6
spacing
2015-05-19 01:39:14 -04:00
Bruce Duncan
05355b639c
Changed the way ORKTintedImageView works, such that its shouldApplyTint will never override the renderingMode of the image provided to it. Updated the ORKCatalog and ORKTest image capture tasks to set the image renderingMode on the instruction steps to AlwaysTemplate to get them to tint.
2015-05-19 01:29:19 -04:00
Bruce Duncan
0842a0abb1
Renamed continuePressed to capturePressed for clarity. Added BOOLs to prevent processing capture or retake presses until the called delegate returns.
2015-05-19 00:31:49 -04:00
Bruce Duncan
6cdd9b81b6
Comment spacing and wrong word
2015-05-19 00:01:48 -04:00
Bruce Duncan
f3c0bce4ff
Fixed comment typo, and changed "the settings" to "Settings"
2015-05-18 23:02:48 -04:00
Bruce Duncan
54de137765
Inlined floatContinueView and fixed comment typo
2015-05-18 23:00:55 -04:00
Bruce Duncan
b3bae6eebd
Changed orientationChange to orientationDidChange
2015-05-18 22:57:38 -04:00
Bruce Duncan
d2f6e1f0d0
Renamed hideTemplateImage to templateImageHidden, and getter to isTemplateImageHidden
2015-05-18 22:45:35 -04:00
Bruce Duncan
ecce58e5a1
Reworked the check for overriding the continue button action
2015-05-18 22:33:12 -04:00
Bruce Duncan
40062a22a7
Reordered and relabeled the image capture step/task identifiers.
2015-05-18 20:49:54 -04:00
Bruce Duncan
9d47a69ccd
Per @jwe-apple , handle the case of the continue button having its action change after it was first intercepted.
2015-05-18 20:46:06 -04:00
Ricardo Sánchez-Sáez
0ef6913118
ORKResultPredicate: make 'taskIdentifier' argument nullable
...
If you pass 'nil', the obtained result predicate will have a $TASK_IDENTIFIER substitution variable which will be replaced in ORKPredicateStepNavigationRule by the ongoing task identifier.
Also:
- Add convenience methods with no 'taskIdentifier' argument to ORKResultPredicate.
- Update ORKTest sample code to use convenience methods.
- Update Unit Tests to cover both convenience and regular nullable methods.
2015-05-19 00:21:30 +01:00
jwe-apple
66d978b37f
Merge pull request #195 from rsanchezsaez/rsanchezsaez-activetaskimages
...
Add custom images for Tone Audiometry and Reaction Time tasks
2015-05-18 14:00:02 -07:00
jwe-apple
324192edef
Merge pull request #190 from mattio/master
...
Update ORKFormStep API usage in the example snippet
2015-05-18 13:58:24 -07:00
John Earl
1df428f956
Add Apple copyright line (fixup from PR #200 )
2015-05-18 13:57:53 -07:00
jwe-apple
6bcffa2368
Merge pull request #200 from alexbasson/fix-reverted-pr-198
...
Fix reverted pr 198
2015-05-18 13:55:55 -07:00
jwe-apple
d9fe0c38bb
Merge pull request #191 from rsanchezsaez/rsanchezsaez-doubleseparator
...
Avoid using magic number in ORKQuestionStepViewController
2015-05-18 13:43:18 -07:00
Coxy1989
39d3e3e0f2
Merge pull request #1 from rsanchezsaez/coxy-graphs
...
ORKCatalog: update the chart tab bar icon to a black template
2015-05-18 19:56:40 +01:00
Ricardo Sánchez-Sáez
9ff14d9f08
ORKCatalog: update the chart tab bar icon to a black template
2015-05-18 18:10:43 +01:00
Coxy
65a7fa342c
fix pie chart overlapping dot / title layout issue
2015-05-18 17:24:02 +01:00
Ricardo Sánchez-Sáez
ec8a764c06
Merge branch 'master' of github.com:rsanchezsaez/ResearchKit into rsanchezsaez-doubleseparator
2015-05-18 12:36:16 +01:00
Ricardo Sánchez-Sáez
291fa77606
Extract ORKScreenMetricMaxDimension (10000.0 magic number) to ORKSkin
...
Also goes back to using this constant for ORKQuestionStepViewController out of screen cell separator insets.
2015-05-18 12:33:49 +01:00
Ricardo Sánchez-Sáez
58b34e98a1
ORKResultPredicate: use NAN for ORKIgnoreDoubleValue and ORKIgnoreTimeIntervalValue (instead of DBL_MAX)
...
Also removes some unnecessary casts.
2015-05-18 11:59:55 +01:00
Alex Basson
b7b7cd26a4
Add relevant copywrite headers
2015-05-18 06:35:29 -04:00
Ricardo Sánchez-Sáez
a6cbe2a5d0
ORKStepNavigationRule appledoc: 'discretionarily' -> 'arbitrarily'
2015-05-18 11:33:16 +01:00
Alex Basson
0ffb0fd90b
Revert "Revert "Tests for ORKConsentDocument""
...
This reverts commit 1529cd3a88 .
2015-05-18 06:32:11 -04:00
jwe-apple
db346ea955
Merge pull request #199 from ResearchKit/revert-198-tests-for-orkconsentdocument
...
Revert "Tests for ORKConsentDocument"
2015-05-18 01:13:22 -07:00
jwe-apple
1529cd3a88
Revert "Tests for ORKConsentDocument"
2015-05-18 01:12:59 -07:00
jwe-apple
e8bd33b710
Merge pull request #198 from alexbasson/tests-for-orkconsentdocument
...
Tests for ORKConsentDocument
2015-05-18 01:10:02 -07:00
jwe-apple
339541a0c8
Merge pull request #197 from stownsend/master
...
_signaturePageContent not copied (fix for issue 196)
2015-05-18 01:02:00 -07:00
stownsend
20ba6f7bf0
Merge pull request #1 from stownsend/stownsend-patch-1
...
Update to ConsentDocument.m
2015-05-18 12:00:47 +10:00
stownsend
dcdc1e6686
Update to ConsentDocument.m
...
Addressing issue 196, signaturePageContent is not copied on document copy.
2015-05-18 11:58:02 +10:00
Alex Basson
e09ae87e63
Add tests for ORKConsentSignatureFormatter
2015-05-17 21:42:17 -04:00
Alex Basson
1958f073db
Add tests for ORKConsentSectionFormatter
...
* reorganize consent-related tests into Consent group
2015-05-17 20:32:45 -04:00
Alex Basson
1cae0db303
Test ORKConsentDocument's makePDFWithCompletionHandler method
...
* Add ORKConsentSectionFormatter
* Add ORKConsentSignatureFormatter
2015-05-17 20:31:37 -04:00
Ricardo Sánchez-Sáez
ad72ce7347
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-constraints
2015-05-17 21:51:24 +01:00
Ricardo Sánchez-Sáez
4cf953ec0f
Add custom images for Tone Audiometry and Reaction Time tasks
...
Also, rename Reaction Time task in ORKCatalog and ORKTest (was Device Motion Reaction Time).
2015-05-17 20:51:51 +01:00
Bruce Duncan
46f5cf6fd8
Should not be importing the private header from ORKImageCaptureStepViewController.h, just import ORKDefines_Private.h in the .m.
2015-05-17 14:28:14 -04:00
Ricardo Sánchez-Sáez
977dab78dc
ORKResultPredicate: re-work predicate to match both task identifier and question result identifier
...
You can now have question results with the same identifier as long as they are part of different task results. Supplying the desired task identifier with the predicate is now compulsory: use the current task identifier if you want to match the ongoing task; or use any of the task result identifiers if you add extra ones to ORKPredicateStepNavigationRule's 'additionalTaskResults' property.
This change:
- Adds the task identifier argument to all predicate-building methods.
- Allows better reuse of predicate building code.
- Modifies ORKPredicateStepNavigationRule and Unit Tests accordingly. Task results are no longer squashed into a question result array. The new result predicates match the ORKTaskResult tree in its original form.
2015-05-17 16:26:57 +01:00
Alex Basson
0855cabddf
Refactor ORKConsentDocument to allow for dependency injection
2015-05-16 22:05:39 -04:00
Ricardo Sánchez-Sáez
38326f25f4
ORKResultPredicate: add ORKIgnoreDoubleValue and ORKIgnoreTimeIntervalValue constants.
...
You can pass them to 'double' or 'NSTimeInterval' maximumValue argument or minimumValue argument to ignore those. Also adds corresponding Unit Tests.
2015-05-16 20:44:32 +01:00
Ricardo Sánchez-Sáez
d97c70dee6
ORKResultPredicate: replace float arguments by double; make time interval question of NSTimeInterval type
...
Also adds corresponding Unit Tests.
2015-05-16 20:32:06 +01:00
Ricardo Sánchez-Sáez
3545133d51
ORKDirectStepNavigationRule: add 'destinationStepIdentifier' property; ORKPredicateStepNavigationRule: add 'resultPredicates', 'matchingStepIdentifiers' and 'defaultStepIdentifier' properties
...
Also adds corresponding Unit Tests.
2015-05-16 17:40:51 +01:00
Ricardo Sánchez-Sáez
f3f0d5540d
ORKNavigableOrderedTask: make sure 'sourceIdentifier' can safely be nil in 'updateStepIdentifierStackWithSourceIdentifier:destinationIdentifier:'
...
The stack is cleared if 'sourceIdentifier' is nil.
Also: assert destinationIdentifier; fixed typo in sourceIdentifier argument name.
2015-05-16 17:27:07 +01:00
Ricardo Sánchez-Sáez
46d1e57d81
ORKNavigableOrderedTask: add 'navigationRuleForTriggerStepIdentifier:' method
...
Also fixes typo in 'updateStepIdentifierStackWithSourceIdentifier:' method.
2015-05-16 17:11:39 +01:00
Ricardo Sánchez-Sáez
49e9181001
Remove HeaderDoc comment marker on unavailable new and init methods
2015-05-16 17:00:21 +01:00
Ricardo Sánchez-Sáez
e22e1144fb
Navigation rules: improve HeaderDoc comments
...
Also: extract ORKResultPredicate implementation into its own file.
2015-05-16 16:55:43 +01:00
Ricardo Sánchez-Sáez
ddb3d459f5
ORKOrderedTask, ORKNavigableOrderedTask, ORKStepNavigationRule, ORKResultPredicate: hard-wrap HeaderDoc comments at column 100
2015-05-16 13:22:52 +01:00
Ricardo Sánchez-Sáez
3c75a76ae2
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# ResearchKitTests/ORKTaskTests.m
# Testing/ORKTest/ORKTest/MainViewController.m
2015-05-16 12:55:30 +01:00
Ricardo Sánchez-Sáez
14743d1868
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# Testing/ORKTest/ORKTest/MainViewController.m
# Testing/ORKTest/ORKTest/ORKESerialization.m
2015-05-16 11:35:48 +01:00
Ricardo Sánchez-Sáez
462cf41773
ORKQuestionStepViewController: avoid using magic number
2015-05-16 10:33:32 +01:00
Bruce Duncan
9d1918b361
Added image capture step to ORKCatalog sample. Renamed existing Image table cell to TextImage, and created new Image table cell that shows a UIImageView that respects aspect ratio. Use the new Image table cell when the ORKFileResult points at an image file. As ORKCatalog calls setContinueButtonItem multiple times, changed ORKImageCaptureView to handle it.
2015-05-16 02:30:50 -04:00
Bruce Duncan
fac2badb47
Headerdoc added, and nullability marked.
2015-05-15 19:09:27 -04:00
Bruce Duncan
9c17ac09ac
Removed shouldUsePercentageBasedTemplateImageInsets property and associated code. Template image insets are assumed to always be percentages.
2015-05-15 18:47:18 -04:00
Bruce Duncan
bfaac8ad2f
Rework the capture setup such that its clear we are either dealing with a device with no camera, or one that is not giving us permission to use the camera. Update the name of the localized strings to be clearer about the two error cases.
2015-05-15 18:41:18 -04:00
John Earl
cb001e2f4e
Merge fix for ORKTest
2015-05-15 14:54:05 -07:00
John Earl
c7a91a19a9
Merge branch 'coxy1989-coxy-reactionTime'
2015-05-15 14:28:33 -07:00
John Earl
164a7a4415
Merge fix
2015-05-15 14:27:14 -07:00
John Earl
df71c79fe5
Merge branch 'coxy-reactionTime' of https://github.com/coxy1989/ResearchKit into coxy1989-coxy-reactionTime
2015-05-15 14:24:48 -07:00
Mattio Valentino
88a2b86d3f
Update ORKFormStep API usage in the example snippet
2015-05-15 16:54:29 -04:00
jwe-apple
93b5df5541
Merge pull request #185 from scelis/signature-multi-touch
...
Fix various multitouch issues in ORKSignatureView
2015-05-15 13:04:44 -07:00
jwe-apple
492ce201f1
Merge pull request #182 from rsanchezsaez/rsanchezsaez-visualconsent
...
Visual consent view controller cleanup and optimization
2015-05-15 13:04:04 -07:00
jwe-apple
d8c2bc8b55
Merge pull request #179 from rsanchezsaez/garnett-identifiervalidation
...
Complete unique identifier validation for task steps and form step items
2015-05-15 13:01:00 -07:00
jwe-apple
8481b66de4
Merge pull request #189 from rsanchezsaez/rsanchezsaez-mergeconflicts
...
ORKTest: Fix remaining scale merge conflict
2015-05-15 12:38:32 -07:00
Ricardo Sánchez-Sáez
3462909cd7
ORKVisualConsentStepViewController: add debug log message if either semaphore wait times out
2015-05-15 20:22:46 +01:00
Ricardo Sánchez-Sáez
16477efe6a
ORKTest: Fix remaining scale merge conflict
2015-05-15 20:15:19 +01:00
Ricardo Sánchez-Sáez
4fa8de266c
ORKVisualConsentStepController: add comments explaining semaphore usage
2015-05-15 20:10:49 +01:00
Ricardo Sánchez-Sáez
38b6310d10
Extract ORKNavigableOrderedTask and ORKResultPredicate into their own files
2015-05-15 19:46:17 +01:00
jwe-apple
7d833c8262
Merge pull request #188 from rsanchezsaez/rsanchezsaez-doubleseparator
...
Fix double bottom separator in boolean and text choice questions
2015-05-15 10:59:02 -07:00
jwe-apple
14aa32074e
Merge pull request #187 from rsanchezsaez/rsanchezsaez-mergeconflicts
...
Resolve tone audiometry merge conflicts
2015-05-15 10:58:11 -07:00
Ricardo Sánchez-Sáez
67fee928e0
ORKESerialization: remove debug log
2015-05-15 18:05:19 +01:00
Ricardo Sánchez-Sáez
94db7d392c
ORKQuestionStepViewController: fix double bottom separator
2015-05-15 02:44:36 +01:00
Ricardo Sánchez-Sáez
38135994ab
Resolve previous tone audiometry merge conflicts
2015-05-15 02:40:15 +01:00
Ricardo Sánchez-Sáez
23246cbcbb
Resolve previous tone audiometry merge conflicts
2015-05-15 02:00:12 +01:00
Ricardo Sánchez-Sáez
267ff6e563
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-visualconsent
2015-05-15 01:59:07 +01:00
Ricardo Sánchez-Sáez
d7fe76008a
ORKConsentSceneView: load tinted image using 'ORKImageByTintingImage()' instead of 'imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate'
...
This greatly improves next step loading performance on ORKVisualConsentStepViewController.
2015-05-15 01:58:03 +01:00
John Earl
4a494bda70
Merge branch 'shazino-tone-audiometry'
2015-05-14 17:21:40 -07:00
John Earl
c50120d64f
Merge branch 'tone-audiometry' of https://github.com/shazino/ResearchKit into shazino-tone-audiometry
2015-05-14 17:21:11 -07:00
John Earl
d2cf8eba0a
Merge branch 'CareEvolution-ORKScaleSliderView'
2015-05-14 17:13:50 -07:00
John Earl
e0ca725a42
Merge branch 'ORKScaleSliderView' of https://github.com/CareEvolution/ResearchKit into CareEvolution-ORKScaleSliderView
2015-05-14 17:13:38 -07:00
John Earl
ce735a1835
Merge branch 'CareEvolution-NSNumberFormatterForScaleAnswerFormats'
2015-05-14 17:01:46 -07:00
John Earl
fb316bb744
Merge branch 'NSNumberFormatterForScaleAnswerFormats' of https://github.com/CareEvolution/ResearchKit into CareEvolution-NSNumberFormatterForScaleAnswerFormats
2015-05-14 17:01:30 -07:00
Ricardo Sánchez-Sáez
cc9f194a2d
ORKVisualConsentStepViewController: restore semaphore with 5-second timeout (guard against the animator not finishing)
...
Also add completion block to 'showViewController:forward:animated:completion:'.
2015-05-15 00:03:56 +01:00
Ricardo Sánchez-Sáez
c787d2a134
ORKVisualConsentTransitionAnimator: make sure current player stops on 'finish'
2015-05-15 00:01:29 +01:00
Ricardo Sánchez-Sáez
536d28f6d9
ORKEAGLMoviePlayerView: cleanup and avoid some redundant OpenGL calls
...
(Optimizations are very minor, as OpenGL is not the bottleneck.)
2015-05-14 22:13:04 +01:00
jwe-apple
f20d81ee3f
Merge pull request #184 from scelis/signature-dots
...
Allow users to add a dot to the signature view
2015-05-14 09:51:58 -07:00
Sebastian Celis
0518fd777d
Ignore all extra touches in the signature view.
...
This commit fixes a couple of issues with extra touches in the signature
view:
* Adding a second touch while signing would cause the path to jump to
the second touch, which is probably not what the user wanted.
* Once two touches were applied to the signature view, if both touches
ended simultaneously, gestureTouchesEnded: would return before calling
signatureViewDidEditImage: on the delegate. This could get the UI into
an odd state where there is a signature in the view but no clear
button below the view.
By ignoring the extra touches completely, we can also clean up the code
a little and remove the extra touches checks in the various touch event
handlers.
2015-05-14 10:08:33 -05:00
Sebastian Celis
9c1cf6c6bf
Allow users to add a dot to the signature view.
...
Add a small circle to the current signature path in touchesBegan to
properly support dots in the signature view. This provides a nicer
experience to users, allowing them to dot their i's.
2015-05-14 09:59:37 -05:00
Coxy
51dc62a780
spelling errors, licence headers
2015-05-13 22:06:58 +01:00
Coxy
fb5a7a3f48
UI improvements
2015-05-13 20:05:53 +01:00
Scott Guelich
3d91a933b9
Add percent support to continuous scales
...
Also adds a readonly numberFormat property to ORKScaleAnswerFormat and ORKContinuousScaleAnswerFormat that can be overridden by subclasses for currency, etc.
2015-05-13 09:23:35 -07:00
Ricardo Sánchez-Sáez
f1e75f2ce7
ORKVisualConsentStepViewController: make sure target view controller image is not hidden when there is no animation
2015-05-13 16:57:15 +01:00
Ricardo Sánchez-Sáez
7dc37149f3
ORKVisualConsentStepViewController: much simpler video animator logic
...
Does away with the semaphore, providing instead a linear, block-based, logic for the page transition and video transition animation options.
Also fixes a bug in which back button wasn't appearing if showViewController:forward:animated:'s 'animated' was set to NO.
Finally, calls 'updatePageIndex' (which in turn shows/hides the back button) earlier. Back button it's now shown after page transition completes, instead of after video transition animation completes.
2015-05-13 16:46:22 +01:00
Ricardo Sánchez-Sáez
c50e88b3c7
ORKVisualConsentAnimationContext: correct observing flag ivar names
2015-05-13 16:39:03 +01:00
Ricardo Sánchez-Sáez
90a1b8407c
ORKVisualConsentTransitionAnimator: remove useless dealloc method
...
The animator is never deallocated unless you first send it 'finish' (the CADisplayLink retains it).
2015-05-13 16:24:16 +01:00
Ricardo Sánchez-Sáez
46990ba807
ORKVisualConsentStepViewController: code cleanup
2015-05-13 12:26:07 +01:00
Ricardo Sánchez-Sáez
6795808555
Merge branch 'master' of github.com:rsanchezsaez/ResearchKit into garnett-identifiervalidation
2015-05-13 10:33:38 +01:00
Ricardo Sánchez-Sáez
3b6262c4fe
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules
...
# Conflicts:
# ResearchKit/Common/ORKHelpers.h
# ResearchKit/Common/ORKVerticalContainerView.m
# Testing/ORKTest/ORKTest/MainViewController.m
# Testing/ORKTest/ORKTest/ORKESerialization.m
2015-05-13 10:33:09 +01:00
Bruce Duncan
9659fbb530
Moved requestedPermissions up into ORKStep from ORKActiveStep. Added a camera permission. Requested the permission from the image capture step. Added missing reference to the image capture step template image in the JSON serialization test.
2015-05-13 04:28:29 -04:00
Bruce Duncan
3b45807b87
Cleaned up imports and protocols (left over from early version)
2015-05-13 02:44:47 -04:00
jwe-apple
8ff919dc79
Merge pull request #181 from rsanchezsaez/rsanchezsaez-cleanup
...
HeaderDoc comment and whitespace cleanup
2015-05-12 17:39:30 -07:00
Ricardo Sánchez-Sáez
df3883988b
Another pass at whitespace homogenization
...
- Recorder subclasses were never checked
- Perform additional whitespace checks:
- Remove spaces between statement and ';'
- Remove spaces after pointer asterisk and variable name
- Add space between class name and extension parenthesis '()'
2015-05-13 01:13:41 +01:00
Ricardo Sánchez-Sáez
63ce90d4d3
ORKTaskTests: remove ORKT prefix in static variables
2015-05-13 00:24:23 +01:00
Ricardo Sánchez-Sáez
74d403b52d
ORKTaskTests: remove ORKT prefix in static variables
2015-05-13 00:18:19 +01:00
Ricardo Sánchez-Sáez
3541f2b253
HeaderDoc format standardization: remove inline '*' characters; separate @param section from @return by newline; remove empty newline before closing comment.
2015-05-13 00:10:58 +01:00
Ricardo Sánchez-Sáez
a923c426ed
ORKtaskTests: rename 'getTaskSteps:stepIdentifiers:' to 'generateTaskSteps:stepIdentifiers:'
2015-05-12 23:59:02 +01:00
Ricardo Sánchez-Sáez
2c2e5254bc
ORKtaskTests: rename 'getTaskSteps:stepIdentifiers:' to 'generateTaskSteps:stepIdentifiers:'
2015-05-12 23:53:14 +01:00
Ricardo Sánchez-Sáez
ce28538a36
ORKTask: improve 'validateParameters' HeaderDoc comment
2015-05-12 23:44:35 +01:00
Eric DeLabar
1de5fcc6c2
Fixed Scale Slider autolayout for right-to-left
2015-05-12 14:26:24 -04:00
Eric DeLabar
ee90b17351
Fixed typo in localizable strings file
2015-05-12 14:22:50 -04:00
Eric DeLabar
f8211adf83
Code style and documentation changes
2015-05-12 14:19:43 -04:00
Coxy
f5b440fd1f
Code Styling
2015-05-12 14:46:53 +01:00
Coxy
619e9434a9
make suggested changes from PR comments
2015-05-12 14:07:58 +01:00
Coxy
360ccab3df
conform to RK Coding Style Guide
2015-05-12 11:27:04 +01:00
Bruce Duncan
2e01d033fb
Merge branch 'master' into issue_1
2015-05-12 06:14:42 -04:00
Bruce Duncan
dab4bcc047
First pass at a full implementation of Issue #1
2015-05-12 06:09:40 -04:00
Ricardo Sánchez-Sáez
b68ad7b906
Add ORKTask and ORKFormStep unique identifier validation tests
2015-05-12 11:00:59 +01:00
Ricardo Sánchez-Sáez
b7a70253d6
Merge branch 'master' of github.com:rsanchezsaez/ResearchKit into garnett-validation
2015-05-12 10:43:21 +01:00
Ricardo Sánchez-Sáez
df04bf8235
ORKOrderedTask & ORKFormStep: unique identifier validation fixes
2015-05-12 10:22:55 +01:00
Coxy
a05adeb264
remove remaining APC prefixes
2015-05-12 09:05:08 +01:00
Ricardo Sánchez-Sáez
6b0559b13b
ORKAudioContentView: make constraints static
2015-05-12 02:10:27 +01:00
jwe-apple
f56f6312e6
Merge pull request #170 from rsanchezsaez/rsanchezsaez-ipadmetrics
...
Fix margins in "Learn More" modal view
2015-05-11 18:03:33 -07:00
Ricardo Sánchez-Sáez
93bb589eb7
ORKActiveStepTimerView: refactor constraint code
...
- Make most constraints static and lighten updateConstraints
- Add constraints by activatiion
2015-05-12 02:00:22 +01:00
jwe-apple
912631f4d8
Merge pull request #168 from alexbasson/145-present-consent-in-form-sheet
...
Present consent "Learn More" content in form sheet
2015-05-11 17:56:16 -07:00
Ricardo Sánchez-Sáez
f923bd7fe0
ORKActiveStepQuantityView: avoid a bit of duplicate constraint code; rename 'setupConstraints' to 'setUpConstraints'
2015-05-12 01:55:09 +01:00
jwe-apple
61e8746cbd
Merge pull request #157 from rsanchezsaez/rsanchezsaez-scaledefaultvalue
...
Fix ORKQuestionStepViewController losing its default value when going back
2015-05-11 17:20:39 -07:00
Ricardo Sánchez-Sáez
af1ed4425c
ORKStepHeaderView & ORKVerticalContainerView: drop '_' prefix from constraint keys
2015-05-12 00:49:19 +01:00
jwe-apple
51d666f1e8
Merge pull request #175 from rsanchezsaez/rsanchezsaez-constraints
...
Extract ORKDefineStringKey() (was 'DEF_KEY()') to helpers
2015-05-11 16:15:47 -07:00
Ricardo Sánchez-Sáez
6e8006b094
Extract ORKDefineStringKey() (was 'DEF_KEY()') to helpers
2015-05-11 23:15:41 +01:00
Coxy
5aabe018f0
remove offending line
2015-05-11 19:53:10 +01:00
jwe-apple
62745570c5
Merge pull request #173 from rsanchezsaez/rsanchezsaez-activesteps
...
ActiveStep fixes
2015-05-11 10:40:57 -07:00
jwe-apple
9a49196cd6
Merge pull request #172 from rsanchezsaez/rsanchezsaez-constraints
...
Constraints: make sure [super updateConstraints] is always called last
2015-05-11 10:37:07 -07:00
jwe-apple
9603fb8461
Merge pull request #169 from rsanchezsaez/rsanchezsaez-memorygame
...
Fix memory game layout jitter on iPad
2015-05-11 10:19:35 -07:00
Coxy
c14dbe8fd5
Basic charts/graphs API for ResearchKit with demos (issue #92 )
2015-05-11 16:49:47 +01:00
Coxy
38cf7a4541
undo committed project configuration
2015-05-11 10:30:00 +01:00
Ricardo Sánchez-Sáez
78cafb6a52
Fix some erroneous init methods
...
(Local ivars were being set without checking if super init succeeded.)
2015-05-10 19:42:15 +01:00
Ricardo Sánchez-Sáez
4725b15bcd
ORKAudioStep: replace 'duration' property by parent's 'stepDuration'
...
This mimics ORKCountdownStep, ORKFitnessStep and ORKWalkingTaskStep.
2015-05-10 19:41:29 +01:00
Ricardo Sánchez-Sáez
d929de736e
ORKFitnessStep, ORKTappingIntervalStep and ORKWalkingTaskStep: set shouldShowDefaultTimer to NO in init method
...
These three active step types don't support showing the default timer: setting this property to YES produces no effect.
2015-05-10 19:28:55 +01:00
Ricardo Sánchez-Sáez
d4b73a8f42
ORKCountdownLabel: fix issue causing ORKActiveStepTimerView to always show 0 as the initial timer value
2015-05-10 18:38:50 +01:00
Ricardo Sánchez-Sáez
f0a9e7d443
Constraints: make sure [super updateConstraints] is always called last ( #99 )
2015-05-10 17:25:59 +01:00
Ricardo Sánchez-Sáez
55198e7dad
ORKConsentReviewController: enable bounce in webView
2015-05-10 02:30:18 +01:00
Ricardo Sánchez-Sáez
be0c887b85
ORKConsentLearnMoreViewController: add margins to the contained webView
...
(Margins were removed from the HTML document.)
2015-05-10 02:27:32 +01:00
Ricardo Sánchez-Sáez
9c1bbbbaac
ORKSpatialSpanMemoryStepViewController: adjust ORKScreenMetricMinimumStepHeaderHeightForMemoryGame metric to avoid iPad jitter
2015-05-10 00:20:51 +01:00
Ricardo Sánchez-Sáez
d1126e228c
ORKScaleSlider: fix comment typo
2015-05-10 00:20:22 +01:00
Alex Basson
623e33841f
Present consent "Learn More" content in form sheet
...
Addresses issue #145
2015-05-08 20:14:00 -04:00
jwe-apple
3dedf8c373
Merge pull request #167 from rsanchezsaez/rsanchezsaez-skinfunctions
...
Standardize ORKSkin metric functions
2015-05-08 16:45:35 -07:00
jwe-apple
c42f29fdad
Merge pull request #166 from rsanchezsaez/rsanchezsaez-ipadmetrics
...
Consent review iPad metrics and margins homogenization
2015-05-08 16:43:51 -07:00
Ricardo Sánchez-Sáez
5d47c8e183
ORKSkin: standardize skin function names
2015-05-09 00:38:52 +01:00
Ricardo Sánchez-Sáez
a56b351593
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-skinfunctions
2015-05-09 00:37:02 +01:00
Ricardo Sánchez-Sáez
fd6e941159
ORKConsentReviewController: move margin from consent document HTML to view controller's webView
...
Also: handle webView scrollIndicatorInsets.
2015-05-09 00:23:53 +01:00
jwe-apple
115591c032
Merge pull request #164 from CareEvolution/Issue148
...
Fix for Issue #148 - [iPad] Two finger tapping task vertical spacing improvement
2015-05-08 15:59:25 -07:00
Ricardo Sánchez-Sáez
152557e5e4
ORKConsentReviewController: move constraint setup to 'setupConstraints' method
2015-05-08 23:30:16 +01:00
Ricardo Sánchez-Sáez
f16bba3076
ORKConsentReviewController: add iPad horizontal margins
2015-05-08 23:27:26 +01:00
jwe-apple
21427d5795
Merge pull request #165 from rsanchezsaez/rsanchezsaez-constraints
...
ActiveStepQuantityView & SpatialSpanMemoryContentView constraint code whitespace
2015-05-08 14:43:46 -07:00
Ricardo Sánchez-Sáez
972879a85e
ORKActiveStepQuantityView & ORKSpatialSpanMemoryContentView: homogenize constraint code whitespace and alignment
2015-05-08 22:23:38 +01:00
Eric DeLabar
ae4af75736
Fix for Issue #148
...
- Added LAYOUT_DEBUG colors
- On iPad, added more space between title, progress bar, and tap count
2015-05-08 16:29:48 -04:00
Coxy
b738688f00
fix NSCoding type warning
2015-05-08 20:59:26 +01:00
Eric DeLabar
fc81624880
Added JSON serialization to ORKScaleAnswerFormats and added examples with min and max value labels to the ORKTest project
2015-05-08 14:21:18 -04:00
Eric DeLabar
a622726b1b
Fixed ORKTest build for changes in PR#162
...
- Fixed testORKSerialization to exclude the minimum and maximum value description on ORKScaleAnswerFormat.
2015-05-08 13:46:35 -04:00
Eric DeLabar
caec12f51c
Fixed per code review comments for PR#162
2015-05-08 13:42:22 -04:00
Coxy
d090892754
device motion reaction time first attempt
2015-05-08 17:31:05 +01:00
Eric DeLabar
e1f54278ca
Set content mode to redraw on the ORKScaleSlider so the tick marks scale properly on device rotation
2015-05-08 10:12:12 -04:00
Eric DeLabar
7a26e368e7
Added minimum and maximum description labels to the ORKScaleSlider
2015-05-08 10:12:06 -04:00
Eric DeLabar
ec63648083
Fixed autolayout warnings for ORKScaleSliderView
2015-05-08 09:35:30 -04:00
jwe-apple
806c7917d3
Merge pull request #161 from rsanchezsaez/rsanchezsaez-verticalscale
...
Make ORKSurveyAnswerCellForScale constraints static
2015-05-07 22:54:57 -07:00
jwe-apple
546b965c5b
Merge pull request #160 from rsanchezsaez/rsanchezsaez-signaturescroll
...
Fix unable to draw signature when scrolling is enabled
2015-05-07 22:53:07 -07:00
jwe-apple
efb78baf7d
Merge pull request #159 from rsanchezsaez/rsanchezsaez-ipadmetrics
...
Fix signature view metrics
2015-05-07 22:48:43 -07:00
Ricardo Sánchez-Sáez
4cd9bd8122
ORKSurveyAnswerCellForScale: make constraints static ( fixes #158 )
2015-05-08 03:27:14 +01:00
Ricardo Sánchez-Sáez
37ca7a3704
ORKSignatureGestureRecognizer: prioritize over scrollView's pan gesture recognizer
2015-05-08 02:47:24 +01:00
Ricardo Sánchez-Sáez
236a4026ce
ORKSignatureView: add device based width and height
...
(Avoids rotation issues, as the signature view width is determined by the portrait orientation of the device screen; the height is just a metric.) Also: increase iPad signature view size.
2015-05-08 02:20:14 +01:00
Ricardo Sánchez-Sáez
3e8bf44aea
ORKScaleSlider: setNeedsLayout after thumb visibility changes
2015-05-08 00:35:22 +01:00
Ricardo Sánchez-Sáez
978a585cde
ORKQuestionStepViewController: do not set stepResult.results if the answer is nil ( fixes #135 )
2015-05-07 23:16:43 +01:00
Ricardo Sánchez-Sáez
aa5219cef6
ORKPredicateStepNavigationRule: rename getLeafResultsWithTaskResult to leafResultsFromTaskResult
2015-05-07 21:16:49 +01:00
Ricardo Sánchez-Sáez
c20126a9ef
iPad: allow upside down orientation in ORKCatalog and ORKTest
2015-05-07 21:00:39 +01:00
Ricardo Sánchez-Sáez
466dbb98c5
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-navigationrules-dev
...
# Conflicts:
# ResearchKit/Common/ORKVerticalContainerView.m
2015-05-07 19:12:31 +01:00
Ricardo Sánchez-Sáez
9169f9730f
ORKPredicateStepNavigationRule: add additionalTaskResults property for cross-task navigation logic
...
(Including suitable unit tests.)
2015-05-07 19:05:47 +01:00
Ricardo Sánchez-Sáez
94c902d721
ORKNavigableOrderedTask: make stepNavigationRules a copy property
2015-05-07 17:59:02 +01:00
Ricardo Sánchez-Sáez
29c2829df0
ORKResultPredicate: make date method arguments nullable
...
(With their corresponding unit tests.)
2015-05-07 15:39:52 +01:00
vtourraine
075dc1f7b6
Add specific tone audiometry instruction step
2015-05-07 16:38:54 +02:00
Ricardo Sánchez-Sáez
8b4294f0dd
ORKResultPredicate: replace CGFloat values by float; add minimum only and maximum only numeric and scale methods
...
(With their corresponding unit tests.)
2015-05-07 15:26:21 +01:00
Ricardo Sánchez-Sáez
27397735f4
ORKResultPredicate: added regular expression matching methods
...
Also: added the corresponding unit tests.
2015-05-07 15:07:54 +01:00
vtourraine
e3c596ddb1
Update tone audiometry task with output volume in result
2015-05-07 15:27:15 +02:00
Ricardo Sánchez-Sáez
b948c08d8f
ORKPredicateStepNavigationRule: rename private initializer
2015-05-07 10:25:47 +01:00
Ricardo Sánchez-Sáez
5dd23fbb54
ORKOrderedTask and ORKStepNavigationRule: fix documentation issues
2015-05-07 01:46:55 +01:00
Ricardo Sánchez-Sáez
9ff7710b14
ORKPredicateStepNavigationRule: fix JSON serialization test failure due to empty array argument check
2015-05-06 23:21:54 +01:00
Ricardo Sánchez-Sáez
40e50fb0e6
ORKNavigableOrderedTask & ORKStepNavigationRule: add header documentation
...
Also: slight API refactor; add exceptions when trying to pass nil values; add removeNavigationRuleForTriggerStepIdentifier: method (with its unit test).
2015-05-06 22:52:13 +01:00
jwe-apple
5ba33f832d
Merge pull request #136 from coxy1989/coxy-issue87_alert
...
Alert the user when an audioRecorder generates an error
2015-05-06 14:11:37 -07:00
Coxy
c34852d677
make suggested change to incorrect condition in ORKAudioContentView
2015-05-06 21:52:21 +01:00
jwe-apple
46bd241ca3
Merge pull request #139 from rsanchezsaez/rsanchezsaez-ipadmetrics
...
Add iPad custom metrics
2015-05-06 13:40:37 -07:00
Ricardo Sánchez-Sáez
b45628d543
ORKTaskTests: split testNavigableOrderedTask into individual test cases
2015-05-06 03:25:15 +01:00
Ricardo Sánchez-Sáez
9ea4786e21
ORKTaskTests: use NS_OPTIONS for bitmask options
2015-05-06 03:24:36 +01:00
Ricardo Sánchez-Sáez
6b03670808
ORKTaskTests: decouple testOrderedTask and testNavigableOrderedTask
2015-05-06 03:11:14 +01:00
Ricardo Sánchez-Sáez
d4d874e312
ORKTaskTests: add tests for ORKResultPredicate convenience methods
2015-05-06 02:49:04 +01:00
Ricardo Sánchez-Sáez
6abc57b566
ORKResultPredicate: fix some issues with convenience methods
2015-05-06 02:48:12 +01:00
Ricardo Sánchez-Sáez
d5fd81fd50
ORKTaskTests: use blocks for code reuse and legibility
...
Also moved some code around.
2015-05-06 00:57:04 +01:00
jwe-apple
bfdebd914c
Merge pull request #140 from rsanchezsaez/rsanchezsaez-observer
...
Remove unneeded @class forward declaration in ORKObserver
2015-05-05 16:20:24 -07:00
Ricardo Sánchez-Sáez
19fce1ac39
ORKTaskTests: sight improve to naming conventions
...
Also: fix ORKStepNavigationRule alignment.
2015-05-05 23:56:18 +01:00
Ricardo Sánchez-Sáez
117545160e
ORKObserver: remove unneeded @class forward declaration
2015-05-05 23:11:25 +01:00
Ricardo Sánchez-Sáez
703155eb72
Add ORKTaskTests: tests ORKOrderedTask and ORKNavigableOrderedTask (and implicitly ORKPredicateStepNavigationRule and ORKDirectStepNavigationRule)
2015-05-05 23:09:22 +01:00
Ricardo Sánchez-Sáez
c86bc22f71
Extract ORKDefineStringKey() ( was DEF_KEY() ) to helpers
2015-05-05 23:08:09 +01:00
Ricardo Sánchez-Sáez
31b792a795
ORKNavigableOrderedTask: support pushing and out of order step
2015-05-05 23:06:26 +01:00
vtourraine
70c8ef2e30
Rename ivars with underscores in audio generator
2015-05-05 09:25:14 +02:00
Ricardo Sánchez-Sáez
833f81296a
ORKVerticalContainerView: move back updateConstraintConstants method
2015-05-04 19:01:01 +01:00
Ricardo Sánchez-Sáez
bdf032553d
Skin: reduce iPad ORKScreenMetricTopToIllustration
2015-05-04 18:44:22 +01:00
Ricardo Sánchez-Sáez
03cb3606c5
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-ipadmetrics
...
# Conflicts:
# ResearchKit/Common/ORKSkin.m
2015-05-04 18:38:11 +01:00
jwe-apple
4d5f3307e5
Merge pull request #137 from rsanchezsaez/rsanchezsaez-verticalscale
...
Vertical scale improvement
2015-05-04 10:23:48 -07:00
Ricardo Sánchez-Sáez
9498cda223
iPad skin: adjust ORKScreenMetricTopToCaptionBaseline and add ORKScreenMetricTopToIllustration (issue #76 )
2015-05-04 15:29:59 +01:00
vtourraine
b338926f56
Update tone audiometry active task
...
- Remove 125 Hz test
- Switch to exponential fade-in, to make it linear in perception
2015-05-04 14:53:24 +02:00
Denis Lebedev
75fdaf6b09
Refactor validation: add -validateParameters to ORKTask
2015-05-04 12:44:48 +03:00
Denis Lebedev
2959667c65
Validate ORKFormStep items and ORKOrderedTask for identifier uniquiness
2015-05-04 12:33:54 +03:00
Ricardo Sánchez-Sáez
db1f2a9ba5
ORKTest: add example of task archival and restoration (only for the ORKNavigableOrderedTask class)
2015-05-04 01:59:52 +01:00
Ricardo Sánchez-Sáez
1d4d307344
ORKNavigableOrderedTask: print debug warning if a navigation rule leads you to a step with a lower or equal index than the current one
2015-05-04 01:22:53 +01:00
Ricardo Sánchez-Sáez
ac399005ba
Add ORKResultPredicate class with convenience methods for building result-matching predicates.
2015-05-03 21:33:44 +01:00
Ricardo Sánchez-Sáez
0d45511b15
ORKStepNavigationRule and ORKNavigableOrderedTask: implement NSSecureCoding and NSCopying protocols
...
TODO: Implement NSPredicate JSON serialization.
2015-05-03 18:24:22 +01:00
Ricardo Sánchez-Sáez
19b5b34cc4
ORKNavigableOrderedTask: allow restoring the task to a particular step
2015-05-03 16:07:04 +01:00
Ricardo Sánchez-Sáez
2e7c58f48a
ORKESerialization: fix bug in propFromDict() function
2015-05-03 16:00:26 +01:00
Ricardo Sánchez-Sáez
2a99e7d54f
ORKNavigableOrderedTask: use a step identifier stack to handle stepBeforeStep:
2015-05-02 16:15:02 +01:00
Ricardo Sánchez-Sáez
378f5140de
Whitespace
2015-05-02 15:30:56 +01:00
Ricardo Sánchez-Sáez
3027038744
StepNavigationTask: cleanup example; hide Learn More button
2015-05-02 15:30:13 +01:00
Ricardo Sánchez-Sáez
09e8b1d494
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-verticalscale
2015-05-02 13:43:43 +01:00
Ricardo Sánchez-Sáez
4881a32004
ORKSkin: add ORKScreenMetricVerticalScaleHorizontalMargin metric
...
This metric is used to adjust the vertical slider height so the vertical scale question step doesn't scroll by default on a single-line question (iPhone 5 and iPhone 6 screens only; multi-line questions will scroll). Also, replace English localized string "Your question goes here." by "Your question here." so it defaults to a single-line question on an iPhone 5 screen.
2015-05-02 13:39:08 +01:00
jwe-apple
9832cbc91f
Merge pull request #130 from rsanchezsaez/rsanchezsaez-launchscreen
...
LaunchScreen: fix nav bar height and table view content inset
2015-05-01 12:51:24 -07:00
John Earl
5bc04aca3f
Clean up bad merge
2015-05-01 11:14:49 -07:00
Ricardo Sánchez-Sáez
6030efaa96
ORKScaleSlider: subtract 5 pixels to vertical height (so the vertical scale question step fits without scrolling on iPhone 6)
2015-05-01 18:26:23 +01:00
Ricardo Sánchez-Sáez
0604f586df
ORKStepNavigationRule: initial implementation
2015-05-01 17:04:41 +01:00
Coxy
e59576640a
alert the user when an audioRecorder generates an error
2015-05-01 13:16:05 +01:00
jwe-apple
3d44ed80c6
Merge pull request #113 from coxy1989/coxy-issue87
...
Audio predefined task: audio step should not show too loud if outputdir is nil and developer ignored the error
2015-04-30 21:10:06 -07:00
Ricardo Sánchez-Sáez
3378ab16f2
ORKScaleSlider: replace hitTest: by pointInside: (more efficient)
2015-04-30 14:15:09 +01:00
Coxy
8a5b6cc28d
merge master
2015-04-29 19:08:03 +01:00
Coxy
cc959e266f
return early if audioRecorderError is not nil
2015-04-29 18:54:19 +01:00
Coxy
5e222351dc
prevent silly UI updates after an audioRecorder has failed
2015-04-29 18:16:51 +01:00
vtourraine
cf3ea70f77
Update tone audiometry task
...
- Add serialization tests
- Refactor constraints setup
- Fix localization typos
2015-04-29 11:17:56 +02:00
Ricardo Sánchez-Sáez
71c97a72b6
LaunchScreen: fix nav bar height and table view content inset
2015-04-28 23:32:32 +01:00
jwe-apple
4639a41eea
Merge pull request #129 from rsanchezsaez/rsanchezsaez-namingconventions
...
Naming conventions: 'ident' is not an acceptable abbreviation
2015-04-28 13:18:46 -07:00
John Earl
965b39fe4a
Merge branch 'jwe-apple-jwe-apple-issue-118b'
2015-04-28 12:56:09 -07:00
John Earl
4a55ec228c
Merge branch 'jwe-apple-issue-118b' of https://github.com/jwe-apple/ResearchKit into jwe-apple-jwe-apple-issue-118b
2015-04-28 12:55:55 -07:00
Ricardo Sánchez-Sáez
14dd7a7c73
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-namingconventions
2015-04-28 20:53:10 +01:00
jwe-apple
1b0d93e247
Merge pull request #127 from richardrauser/RemoveDuplicateImports
...
Removing duplicate imports.
2015-04-28 12:50:52 -07:00
jwe-apple
4047451e4d
Merge pull request #108 from rsanchezsaez/rsanchezsaez-ipadmargins
...
Add horizontal iPad margins
2015-04-28 12:32:41 -07:00
jwe-apple
f602e85b75
Merge pull request #123 from jwe-apple/jwe-apple-issue-122
...
Issue #122 : `shouldPresentStep:` method should correctly handle nil step
2015-04-28 12:21:28 -07:00
John Earl
3ad592e27c
Whitespace fixup
2015-04-28 12:19:39 -07:00
John Earl
7ab47f3a88
Whitespace fixup
2015-04-28 12:17:00 -07:00
Ricardo Sánchez-Sáez
fe82617dc5
Naming conventions: 'ident' is not an acceptable abbreviation
...
(https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CodingGuidelines/Articles/APIAbbreviations.html#//apple_ref/doc/uid/20001285-BCIHCGAE )
2015-04-28 19:43:30 +01:00
Ricardo Sánchez-Sáez
ed740fe7d3
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-ipadmargins
...
# Conflicts:
# ResearchKit/Common/ORKScaleSliderView.m
Also: do some whitespace conforming on the merged code.
2015-04-28 19:33:53 +01:00
jwe-apple
621652b26f
Merge pull request #128 from getaaron/update-pdf-documentation
...
Indicate that consent document must be copied for signature to be applied correctly
2015-04-28 10:12:14 -07:00
Aaron Brager
a0adc6c557
Indicate that consent document must be copied for signature to be applied correctly.
2015-04-28 08:58:32 -05:00
Ricardo Sánchez-Sáez
227e5af903
ORKUpdateScrollViewBottomInset(): Perform safe CGFloat comparison
...
Adds ORKCGFloatNearlyEqualToFloat() inline function to ORKHelpers.
2015-04-28 14:55:45 +01:00
Ricardo Sánchez-Sáez
01d2c72c2d
ORKSkin: restore iPad ORKScreenMetricIllustrationHeight (for adapted @3x images)
...
(It was squished during the merge, sorry.)
2015-04-28 13:44:42 +01:00
Richard Rauser
fcb9fb61b0
Removing duplicate imports.
2015-04-28 12:48:02 +01:00
jwe-apple
75c05d200b
Merge pull request #126 from troligtvis/master
...
duplicate initialization of variable removed
2015-04-28 03:18:58 -07:00
strawberrypie
9e12bed600
duplicate initialization of variable removed
2015-04-28 12:14:38 +02:00
John Earl
b3c64fc66b
Merge branch 'brucehappy-issue_4'
2015-04-28 03:01:49 -07:00
John Earl
edb78414ec
Merge branch 'issue_4' of https://github.com/brucehappy/ResearchKit into brucehappy-issue_4
2015-04-28 03:01:20 -07:00
vtourraine
1d89b53c78
Update tone audiometry step controller dispatch, audio generator license
2015-04-28 11:52:16 +02:00
jwe-apple
706244f95d
Merge pull request #124 from troligtvis/master
...
Small typo corrected
2015-04-28 02:43:46 -07:00
John Earl
643be7ee8b
Issue #118 : Adjust fitness quantity pair layout
...
This fixes a regression in quantity pair layout. The left view of
the quantity pair, the distance view, formerly always contained
content, which fixed the vertical height of the view. At some point
that content was no longer set, handling the no-pedometer-distance
case. The primary fix here is to ensure that a title and zero
quantity are present in the distance view, even if distance is
not available (as in the simulator).
Secondary fixes fix constraints to make them static, since they
do not need to be dynamically updated. We also introduce new baseline
constraints to better enforce alignment between the left and right
views.
Tested distance-only, heart-rate-only, both, and neither visible on
iPhone 6 on iOS 8.3. Tested with and without a value for heart rate,
with both visible.
2015-04-28 02:35:51 -07:00
vtourraine
0ba31ce525
Update tone audiometry task implementation
...
- Add English and French localization
- Update copyright notices
- Fix code style
- Fix comments typo
2015-04-28 11:00:43 +02:00
Coxy
efc1394987
move audio outputdir nil exception to ORKAudioRecorder's start method
2015-04-28 09:46:09 +01:00
strawberrypie
0997555a34
small typo corrected
2015-04-28 09:44:17 +02:00
strawberrypie
b48ac27ec8
small typo corrected
2015-04-28 09:43:10 +02:00
John Earl
dc35088d39
Issue #122 : shouldPresentStep: method should correctly handle nil step
...
Adjust internal `shouldPresentStep:` method not to call the delegate
on a nil step, and to return NO if the step is nil. When the task has
completed, a nil step indicates this, so handle that case explicitly
rather than depending on a semantically odd `YES` from `shouldPresentStep:`.
2015-04-27 23:47:21 -07:00
Ricardo Sánchez-Sáez
139a3f6d00
ORKUpdateScrollViewBottomInset: make sure bottomInset actually changes before updating
...
Also: remove needless log line in ORKTableContainerView.
2015-04-28 01:36:21 +01:00
Ricardo Sánchez-Sáez
4c25cc50ee
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-ipadmargins
...
# Conflicts:
# ResearchKit/ActiveTasks/ORKAudioContentView.m
# ResearchKit/Common/ORKChoiceViewCell.m
# ResearchKit/Common/ORKHelpers.m
# ResearchKit/Common/ORKScaleSliderView.m
# ResearchKit/Common/ORKSkin.m
# ResearchKit/Common/ORKSurveyAnswerCellForText.m
2015-04-28 01:16:51 +01:00
Ricardo Sánchez-Sáez
a48796942c
ORKTableContainerView: adjust scrollIndicatorInsets on iPad screen size
...
Their position is now next to the edge of the screen (instead of next to the edge of the table).
Also: reuse on-screen keyboard inset handling code.
2015-04-28 00:55:46 +01:00
Ricardo Sánchez-Sáez
136471090e
ORKSkin: change iPhone 6 and down default margin from 16.0 to 15.0
2015-04-27 23:56:19 +01:00
Ricardo Sánchez-Sáez
a27ecaa20a
ORKFormStepViewController: fix table and footer not being layout properly
2015-04-27 23:54:38 +01:00
jwe-apple
31ea7908a2
Merge pull request #116 from rsanchezsaez/rsanchezsaez-whitespace
...
Complete whitespace homogenization
2015-04-27 13:59:11 -07:00
Ricardo Sánchez-Sáez
2930653a98
ORKTest AppDelegate: revert to multiline comments
2015-04-27 20:55:40 +01:00
Ricardo Sánchez-Sáez
9604154b17
Naming conventions renames
2015-04-27 19:56:06 +01:00
Ricardo Sánchez-Sáez
709dec2841
Make sure statement opening brace always has a prepending space
2015-04-27 19:54:31 +01:00
Ricardo Sánchez-Sáez
e3cca38a69
Homogeneous else braces
2015-04-27 19:49:03 +01:00
Ricardo Sánchez-Sáez
66f5452a35
Conform to cocoa naming conventions
2015-04-27 19:41:39 +01:00
Ricardo Sánchez-Sáez
9b4f0a404d
Homogenize whitespace (ORKTests)
...
Also: some naming conventions renames.
2015-04-27 19:16:48 +01:00
Ricardo Sánchez-Sáez
dbdabb49c2
Homogenize whitespace (Accessibility and Unit Tests)
...
Also: naming conventions renames.
2015-04-27 19:00:10 +01:00
Coxy
ac1cf8e16e
Move nil outputdir exception from viewDidAppear: to prepareStep
2015-04-27 18:58:07 +01:00
Ricardo Sánchez-Sáez
226791c774
Homogenize whitespace (Consent)
...
Also: naming conventions renames.
2015-04-27 18:46:37 +01:00
Ricardo Sánchez-Sáez
08a378b6b8
Homogenize whitespace (ActiveTasks)
...
Also: naming conventions renames.
2015-04-27 18:14:59 +01:00
Ricardo Sánchez-Sáez
71008fcc05
Homogenize whitespace (Skin, Misc)
...
Also: some naming conventions renames.
2015-04-27 17:07:14 +01:00
Bruce Duncan
d50d647ffd
Added braces, and don't reference the sliderLayoutWidth from the delegate more than once.
2015-04-27 11:56:00 -04:00
Ricardo Sánchez-Sáez
1a8f9e81bd
Homogenize whitespace (PDF, Definitions, UIKitCategories)
...
Also: some naming conventions renames.
2015-04-27 16:49:54 +01:00
Ricardo Sánchez-Sáez
a200c992ae
Homogenize whitespace (Result and Container Views)
...
Also: some naming conventions renames.
2015-04-27 16:13:59 +01:00
vtourraine
91821ca5ae
Add new tone audiometry active task, include it in the ORKCatalog app
2015-04-27 17:02:38 +02:00
Coxy
a739df5f69
Merge branch 'master' into coxy-issue87
2015-04-27 11:35:30 +01:00
jwe-apple
5cd75fc585
Merge pull request #112 from rsanchezsaez/rsanchezsaez-whitespace
...
Homogenize whitespace [wip]
2015-04-26 22:34:40 -07:00
Ricardo Sánchez-Sáez
28a54aac7c
Homogenize whitespace (Answer format)
...
Also: some naming conventions renames; remove empty inherited init.
2015-04-27 01:54:38 +01:00
Ricardo Sánchez-Sáez
35841e2ba8
Homogenize whitespace (Task and Step)
...
Also: some naming conventions renames; remove unneeded empty return.
2015-04-27 01:19:07 +01:00
Ricardo Sánchez-Sáez
77bb256cfa
Move some stray opening braces
2015-04-27 00:31:57 +01:00
Ricardo Sánchez-Sáez
74ab1b3726
Re-work iPad margins calculations
...
Previous approach had several problems: applied doble iPad margin on text choice questions; didn't handle correctly separator right inset in numeric and text questions.
2015-04-26 23:58:09 +01:00
Ricardo Sánchez-Sáez
49256010d5
ORKSkin: code reuse for ORKGetScreenTypeForWindow() and ORKGetScreenTypeForWindow()
2015-04-26 13:06:11 +01:00
Coxy
e15f56ff6e
Audio step should not show too loud if outputdir is nil and developer ignored the error (issue #87 )
2015-04-25 14:28:36 +01:00
Ricardo Sánchez-Sáez
3ed725399c
ORKSkin & client classes: add iPad margins
2015-04-25 01:44:29 +01:00
jwe-apple
3e48fc66a8
Merge pull request #107 from brucehappy/issue_78
...
Make visual assets bigger on iPad (issue #78 )
2015-04-24 17:09:04 -07:00
Bruce Duncan
ae6fdc65d2
Formatting change
2015-04-24 19:58:41 -04:00
Bruce Duncan
74a3f4b589
Changed ResearchKit to compile for iPhone and iPad. Changed all universal images for Active and Consent tasks into device specific. Copied @3x images to @2x~ipad. Added iPad screen size and changed the metrics for ORKScreenMetricIllustrationHeight to be 1.5x the iPhone 6 value. Forced the 3x videos to be used for iPad 2x and 2x videos to be used for iPad 1x.
2015-04-24 19:40:49 -04:00
Ricardo Sánchez-Sáez
2df6cc99e1
ORKSkin: Move some layout methods from ORKHelpers
...
Also:
- Add ORKScreenTypeiPhone6Plus and ORKScreenTypeiPad
- Use constants instead of magic numbers or defines
2015-04-25 00:09:05 +01:00
jwe-apple
713b27060f
Merge pull request #106 from evanmiller/evanmiller-activetasks-table
...
Active Task docs: add thead/tbody tags to table
2015-04-24 16:01:27 -07:00
jwe-apple
8cb90d81c1
Merge pull request #105 from evanmiller/evanmiller-activetasks-typo
...
Fix typo in ActiveTasks template
2015-04-24 15:59:49 -07:00
Evan Miller
1f3ea67c73
Active Task docs: add thead/tbody tags to table
2015-04-24 17:53:07 -05:00
Evan Miller
d18907ea56
Fix typo in ActiveTasks template
...
Remove extraneous "to"
2015-04-24 17:48:01 -05:00
jwe-apple
ef2eec6926
Merge pull request #104 from rsanchezsaez/rsanchezsaez-unnecessarycasts
...
Remove unnecessary casts
2015-04-24 14:58:27 -07:00
Ricardo Sánchez-Sáez
553c675eab
HKSample(ORKJSONDictionary): remove anonymous category
2015-04-24 22:52:36 +01:00
Ricardo Sánchez-Sáez
b8e24f456d
HKSample(ORKJSONDictionary): enforce type safety regarding mutableDictionaries (and avoid mutableCopying)
...
Also: naming conventions.
2015-04-24 22:40:38 +01:00
jwe-apple
4a518c8d9a
Merge pull request #103 from evanmiller/evanmiller-overview-semicolon
...
Fix small grammatical issue
2015-04-24 14:23:51 -07:00
Ricardo Sánchez-Sáez
eb30a43ac6
Remove unnecessary casts
2015-04-24 22:06:14 +01:00
Evan Miller
47babbc318
Fix small grammatical issue
...
Use a semicolon instead of a comma.
Also add a newline to the end of the file.
2015-04-24 16:03:08 -05:00
Bruce Duncan
711fed4ff5
Don't check delegate for nil, as sliderLayoutWidth will return 0 if it is anyway.
2015-04-24 15:11:51 -04:00
jwe-apple
0c2bdc488f
Merge pull request #101 from evanmiller/evanmiller-creatingsurveys-codesample
...
Tweak code sample
2015-04-24 09:14:08 -07:00
DanKeen
4cbd40f0d7
Merge pull request #102 from evanmiller/evanmiller-creatingsurveys-typo
...
Fix typo in documentation
2015-04-24 08:13:04 -07:00
Evan Miller
0df2d9a98b
Fix typo in documentation
...
Remove extraneous quotation mark
2015-04-24 09:31:30 -05:00
Evan Miller
6d1e80a583
Tweak code sample
...
* firstResult is a property of the ORKStepResult
* Remove extraneous space from the if statement
2015-04-24 09:21:13 -05:00
Bruce Duncan
daa7f7cd52
Eliminated the unneeded updateConstraints and moved constraint setting to the initializer. Fixed spacing on if statement.
2015-04-24 01:42:33 -04:00
Bruce Duncan
4f792442b1
Fixed spacing of if expression
2015-04-24 01:13:34 -04:00
Bruce Duncan
1e8002279d
Merge branch 'master' into issue_4
2015-04-24 00:30:32 -04:00
Bruce Duncan
9eb1d445bb
Merge branch 'master' into issue_4.
...
Removed hardcoded cell height for vertical layout scales and used auto layout plus delegate for height.
2015-04-24 00:25:31 -04:00
jwe-apple
1b1954e9ca
Merge pull request #100 from evanmiller/evanmiller-activetasks-typos
...
Fix spelling error
2015-04-23 20:30:58 -07:00
Evan Miller
46236a4a08
Fix spelling error
...
preformed => performed
2015-04-23 19:52:27 -05:00
jwe-apple
ee2127397b
Merge pull request #96 from rsanchezsaez/rsanchezsaez-visualconsentscroll-b
...
Fix visual consent scene scroll
2015-04-23 15:21:00 -07:00
jwe-apple
ac1dd33c34
Merge pull request #98 from rsanchezsaez/rsanchezsaez-centerpickers
...
Center pickers on iPad
2015-04-23 15:19:58 -07:00
Ricardo Sánchez-Sáez
8586381fb6
ORKSurveyAnswerCellForPicker: make sure constraints don't accumulate; add _tempPicker constraint
2015-04-23 23:06:28 +01:00
Ricardo Sánchez-Sáez
e79c7d25d4
ORKObserver: remove new and init NS_UNAVAILABLE annotations; add nullability and designated initializer ones
2015-04-23 20:36:11 +01:00
Ricardo Sánchez-Sáez
21dba1f124
ORKSurveyAnswerCellForPicker: center pickers on iPad
2015-04-23 12:41:21 +01:00
Ricardo Sánchez-Sáez
3251a5226c
ORKObserver: reuse initializer code
2015-04-23 10:38:43 +01:00
Ricardo Sánchez-Sáez
ccf6b461bc
Move back ORKViewControllerToolbarObserver to ORKTaskViewController file
...
Also: rename some variables for naming convention conformance.
2015-04-23 09:25:16 +01:00
John Earl
45215ecb0e
Additional nullability corrections
2015-04-22 22:15:02 -07:00
John Earl
439df0718b
Quick fix: nullability warnings
2015-04-22 22:10:52 -07:00
Ricardo Sánchez-Sáez
3c3eb5cb02
ORKVisualConsentStepViewController: add safety check on scrollViewObserver delegate method
2015-04-23 01:28:22 +01:00
Ricardo Sánchez-Sáez
6a895b4b5c
ORKObserver: fix naming conventions and copyright headers
2015-04-23 01:28:03 +01:00
jwe-apple
720aed5388
Merge pull request #95 from rsanchezsaez/rsanchezsaez-singletextchoice
...
Fix single text choice cell should not deselect when re-selecting the same answer
2015-04-22 17:01:05 -07:00
Ricardo Sánchez-Sáez
e2950decc2
ORKVisualConsentStepViewController: use NSRunLoopCommonModes for CADisplayLink so animation doesn't freeze when scrolling
...
Also, simultaneously scrollToTop animationView with scrollView
2015-04-23 00:51:43 +01:00
Ricardo Sánchez-Sáez
f9e119acad
ORKTextChoiceCellGroup: single text choice cell should not deselect when re-selecting the same answer
...
Also: fixed tests accordingly.
2015-04-23 00:14:05 +01:00
Ricardo Sánchez-Sáez
bbda212a04
ORKVisualConsentStepViewController: enable scene scrolling before video animation finish and track animation view position with scrollView contentOffset
2015-04-22 23:06:16 +01:00
Ricardo Sánchez-Sáez
891c096bc1
Generalize and extract ORKObserver and subclasses for reuse
2015-04-22 22:33:24 +01:00
Ricardo Sánchez-Sáez
cec9c3acf6
Merge remote-tracking branch 'upstream/master' into rsanchezsaez-visualconsentscroll
2015-04-22 21:56:25 +01:00
Ricardo Sánchez-Sáez
2612aca236
ORKVisualConsentStepViewController: register consent scene scrollView with taskViewController (enables hairline)
2015-04-22 20:30:16 +01:00
Dan Keen
2272d2e6db
Update sub-headings in code examples to italicize.
...
r=jwe
2015-04-22 11:34:31 -07:00
John Earl
ed8960f8b5
Disable unit tests from ORKTest scheme in 'Run' mode
2015-04-22 11:08:40 -07:00
John Earl
0f8a07fd8f
Merge branch 'rsanchezsaez-rsanchezsaez-firstrespondercell'
2015-04-22 10:43:57 -07:00
John Earl
93c9c8d85a
Merge branch 'rsanchezsaez-firstrespondercell' of https://github.com/rsanchezsaez/ResearchKit into rsanchezsaez-rsanchezsaez-firstrespondercell
...
Conflicts:
ResearchKit/Common/ORKFormStepViewController.m
2015-04-22 10:43:50 -07:00
John Earl
25c543c468
Merge branch 'garnett-moar-tests'
2015-04-22 10:40:16 -07:00
John Earl
fb519862b8
Merge branch 'moar-tests' of https://github.com/garnett/ResearchKit into garnett-moar-tests
...
Conflicts:
ResearchKit/ActiveTasks/ORKVoiceEngine.m
2015-04-22 10:39:59 -07:00
John Earl
681891b300
Merge branch 'codestergit-fixed-formatting-of-curly-braces'
2015-04-22 10:35:09 -07:00
John Earl
1c5b93cae6
Merge branch 'fixed-formatting-of-curly-braces' of https://github.com/codestergit/ResearchKit into codestergit-fixed-formatting-of-curly-braces
...
Conflicts:
ResearchKit/ActiveTasks/ORKAccelerometerRecorder.m
ResearchKit/ActiveTasks/ORKAudioRecorder.m
ResearchKit/ActiveTasks/ORKDataLogger.m
ResearchKit/ActiveTasks/ORKDeviceMotionRecorder.m
ResearchKit/ActiveTasks/ORKHealthQuantityTypeRecorder.m
ResearchKit/ActiveTasks/ORKLocationRecorder.m
ResearchKit/ActiveTasks/ORKPedometerRecorder.m
ResearchKit/ActiveTasks/ORKRecorder.m
ResearchKit/ActiveTasks/ORKTouchRecorder.m
ResearchKit/Common/ORKAnswerFormat.m
ResearchKit/Common/ORKQuestionStepViewController.m
ResearchKit/Common/ORKResult.m
ResearchKit/Common/ORKScaleSlider.m
ResearchKit/Common/ORKSurveyAnswerCellForText.m
ResearchKit/Consent/ORKConsentSignature.m
ResearchKit/Consent/ORKEAGLMoviePlayerView.m
2015-04-22 10:34:57 -07:00
Ricardo Sánchez-Sáez
8a7ea2d051
ORKFormStepViewController: clear 'currentFirstResponderCell' on formItemCellDidResignFirstResponder:
2015-04-22 18:34:19 +01:00
jwe-apple
12148d0973
Merge pull request #79 from rsanchezsaez/rsanchezsaez-visualconsentscroll
...
Add scroll to visual content screens
2015-04-22 10:01:30 -07:00
Ricardo Sánchez-Sáez
acd1f4379c
ORKTableContainerView & ORKFormItemCell: add nullable attribute to delegate property
2015-04-22 15:21:48 +01:00
Ricardo Sánchez-Sáez
2a7d12381f
ORKTableContainerView: track current first responder cell via delegate (for keyboard scrolling)
...
Also: remove 'ork_currentFirstResponderView' hack method.
2015-04-22 15:03:26 +01:00
Ricardo Sánchez-Sáez
2541fa2835
ORKVisualConsentStepViewController: make sure scrollToTopAnimated: is finished before starting transition (re-enable scrolling otherwise)
...
Also: remove needless delegate conformance, add comment, add copyright.
2015-04-22 12:02:06 +01:00
jwe-apple
ca43fbf341
Merge pull request #80 from garnett/enable-ipad
...
Make apps universal, remove healthkit requirement
2015-04-22 00:34:44 -07:00
Denis Lebedev
745fb12b9b
Fix actionSheet presentation on iPad
2015-04-22 09:12:09 +03:00
Denis Lebedev
edb33fa975
Make apps universal, remove healthkit requirement
2015-04-22 08:55:54 +03:00
Denis Lebedev
0984008494
Update copyrights with contributor's name
2015-04-22 08:47:15 +03:00
Ricardo Sánchez-Sáez
ca0b2b2a5c
Move visual content scroll test task from ORKCatalog to ORKTest
2015-04-22 02:53:59 +01:00
Ricardo Sánchez-Sáez
a4fad3df74
ORKVisualConsentStepViewController & ORKConsentSceneViewController: replace 'setContentOffset:' by bounds animation with completion block
2015-04-22 02:44:46 +01:00
Ricardo Sánchez-Sáez
0c6b420744
ORKVisualConsentStepViewController & ORKConsentSceneViewController: allow vertical scrolling in visual consent screens
2015-04-22 00:40:25 +01:00
John Earl
9aa69cd1ef
Fix build after merging rsanchezsaez-rsanchezsaez-verticalscale
2015-04-21 14:34:52 -07:00
John Earl
6bf1e4aec5
Merge branch 'rsanchezsaez-rsanchezsaez-verticalscale'
2015-04-21 12:44:53 -07:00
John Earl
cfe35edfef
Merge branch 'rsanchezsaez-verticalscale' of https://github.com/rsanchezsaez/ResearchKit into rsanchezsaez-rsanchezsaez-verticalscale
...
Conflicts:
ResearchKit/Common/ORKScaleSlider.m
2015-04-21 12:44:32 -07:00
Ricardo Sánchez-Sáez
cdff825c7b
ORKQuestionStep: rename 'isFormatVertical' to 'isFormatVerticalScale'
2015-04-21 20:18:50 +01:00
Ricardo Sánchez-Sáez
881f01a2d5
ORKScaleSlider: widen vertical scale tap target
2015-04-21 19:34:13 +01:00
John Earl
793deeec7d
Convert assertions to exceptions so they are applied in release builds too.
2015-04-21 11:33:24 -07:00
Ricardo Sánchez-Sáez
3d5abb0b7a
ORKScaleSlider: add comment about thumb rotation issue
2015-04-21 19:32:49 +01:00
Ricardo Sánchez-Sáez
ed88a71af0
ORKScaleSlider: revert to explicit use of '[self bounds]' method instead of 'self.bounds'
2015-04-21 19:27:32 +01:00
Ricardo Sánchez-Sáez
aed6935765
ORKAnswerFormat: & ORKQuestionStep: replace 'ORKQuestionTypeVerticalScale' type by 'isVertical' method querying
2015-04-21 19:24:09 +01:00
Denis Lebedev
022fe854b0
Return nullability to ORKVoiceEngine_internal
2015-04-21 07:42:50 +03:00
Ricardo Sánchez-Sáez
4039555bbc
ORKTest: add vertical scales to scale task
2015-04-21 01:31:28 +01:00
Ricardo Sánchez-Sáez
0453c28748
ORKScaleAnswerFormat & ORKContinuousScaleAnswerFormat: more 'verticalFlag' to 'vertical' renaming
2015-04-21 01:29:47 +01:00
Ricardo Sánchez-Sáez
a8affe5e06
ORKScaleAnswerFormat & ORKContinuousScaleAnswerFormat: handle vertical property in NSCoding; add it to serialization tests and testTaskModel
...
Also fix MainViewController scale answer format calls.
2015-04-21 01:15:08 +01:00
jwe-apple
e5e2f5810e
Merge pull request #64 from pbodsk/master
...
replacing (id) with (instancetype) in initWithCoder: methods
2015-04-20 15:05:03 -07:00
Yuan Zhu
c9983cae47
Merge pull request #57 from mharper/master
...
Adds Swift code snippets for Getting Started
2015-04-20 14:07:52 -07:00
Michael Harper
dcca7bf200
Remove self. from method calls
...
Conforms to Swift style per @YuanZhu-Apple.
2015-04-20 14:04:02 -07:00
Ricardo Sánchez-Sáez
a08f8ee42d
ORKAnswerFormat: rename 'verticalFlag' argument to 'vertical'
2015-04-20 21:01:51 +01:00
jwe-apple
2f81b9d31d
Merge pull request #58 from rsanchezsaez/rsanchezsaez-plaintextstrings
...
Convert all non-English Localizable.strings to human-readable format
2015-04-20 12:49:29 -07:00
pbodsk
adfe0147ab
replacing (id) with (instancetype) in initWithCoder: methods
2015-04-20 21:48:59 +02:00
jwe-apple
f750ccff78
Merge pull request #48 from wczekalski/improvement/Dynamic-Cast-Macro
...
Fixed possible double evaluation in the ORKDynamicCast macro
2015-04-20 12:37:40 -07:00
jwe-apple
95634467f6
Merge pull request #44 from rsanchezsaez/rsanchezsaez-recorderidentifier
...
Add identifier to ORKRecorderConfiguration and ORKRecorder
2015-04-20 12:36:26 -07:00
Ricardo Sánchez-Sáez
d9b0e5dfed
ORKScaleSlider: reset _thumbImageNeedsTransformUpdate flag
...
Also: don't use '_' prefix for method names.
2015-04-20 19:55:02 +01:00
Ricardo Sánchez-Sáez
59ac68442f
ORKScaleSlider: minor optimization to _thumbImageSubview method
2015-04-19 16:02:36 +01:00
Ricardo Sánchez-Sáez
483cf7cd11
plist-to-strings.py: improve comments and inner function name
2015-04-19 14:16:47 +01:00
Ricardo Sánchez-Sáez
3817139626
plist-to-strings.py: move argument checks and logging outside function
2015-04-19 13:53:45 +01:00
Ricardo Sánchez-Sáez
4ec792498e
plist-to-strings.py: remove unneeded import
2015-04-19 13:46:23 +01:00
Ricardo Sánchez-Sáez
ad87af34cf
plist-to-strings.py: add Python version information
2015-04-19 02:51:58 +01:00
Ricardo Sánchez-Sáez
52550021a9
Localizable.strings: convert all localized .strings files to plaintext
2015-04-19 02:48:31 +01:00
Ricardo Sánchez-Sáez
686fb2458a
Add plist-to-strings.py script
...
It can be used to convert binary .strings files to plaintext .strings files. It takes a master plaintext .strings file for the key sort order of the converted file.
2015-04-19 02:47:58 +01:00
Ricardo Sánchez-Sáez
62cff57325
Add copyright line to ORKScaleSlider & ORKScaleSliderView
2015-04-19 00:06:15 +01:00
Ricardo Sánchez-Sáez
9877ec749e
ORKOrderedTask: reuse recorder identifiers between steps
...
Also added my copyright line.
2015-04-19 00:01:13 +01:00
Ricardo Sánchez-Sáez
22d0de778b
ORKRecorderConfiguration & friends: move base class initializers to the private header
2015-04-18 23:14:08 +01:00
Michael Harper
598b275a1a
Adds Swift code snippets for Getting Started
2015-04-18 14:31:39 -07:00
Ricardo Sánchez-Sáez
f0675d2646
ORKRecorder subclasses: remove needless casts
...
Also improved some code alignment.
2015-04-18 22:29:01 +01:00
Ricardo Sánchez-Sáez
15be84da3b
ORKRecorder.h: improve documentation whitespace alignment
2015-04-18 22:28:47 +01:00
Ricardo Sánchez-Sáez
553b27735b
ORKScaleSlider: improve code formatting (braces, whitespace)
2015-04-18 21:16:28 +01:00
Ricardo Sánchez-Sáez
c7d27e2e0a
ORKScaleSlider: keep thumbImage view original orientation in vertical scale
2015-04-18 21:13:33 +01:00
Denis Lebedev
83eb2a5766
Remove newline
2015-04-18 13:11:36 +03:00
Denis Lebedev
5ecb0490a9
Split tests
2015-04-18 12:26:13 +03:00
Denis Lebedev
ecac08f098
Modify accessors in ORKVoiceEngineTests
2015-04-18 12:26:01 +03:00
Denis Lebedev
3db44a194d
Make speachSynthesizer readonly
2015-04-18 12:15:52 +03:00
Denis Lebedev
fc0f58e664
Remove nullability annotations
2015-04-18 12:09:50 +03:00
Denis Lebedev
f9b46de2be
Rename test class
2015-04-18 12:08:04 +03:00
Bruce Duncan
c6df59cfbb
Removed the need for a fixed cell height (140) for both Form and Question Step table cells containing scales. Removed the need for fixing the baseline of the value label in relation to the slider to a magic number. Force the value label to always use the height of its font for its intrinsic size, even when its content is empty string, which can happen on scale's with no value set.
2015-04-18 04:00:18 -04:00
Wojtek Czekalski
5f3c5ccd7d
#48 : Fixed code formatting issues
2015-04-18 09:04:53 +02:00
Yuan Zhu
f4c30882c7
Merge pull request #56 from mluedke2/master
...
Corrects typo in a comment
2015-04-17 22:24:24 -07:00
mluedke2
aa150c1fa7
comment typo
2015-04-17 22:20:45 -07:00
jwe-apple
f4949f859d
Merge pull request #54 from jhersh/podspec-version
...
[Podspec] Fixed tag naming
2015-04-17 16:43:45 -07:00
Yuan Zhu
4fe283f294
Merge pull request #52 from mattshedlick/modern_syntax
...
Updating to use modern Objective-C syntax.
2015-04-17 16:03:50 -07:00
Yuan Zhu
f78bbece03
Merge pull request #53 from mattshedlick/using_instancetype
...
Updating init methods that return id to return instancetype instead.
initWithCoder: still returns (id) so those were left alone.
2015-04-17 15:52:03 -07:00
Jonathan Hersh
d77dc73201
[Podspec] Fixed tag naming
2015-04-17 15:48:33 -07:00
Matthew Shedlick
3d39c73a37
Updating init methods that return (id) to return (instancetype) instead.
2015-04-17 18:46:26 -04:00
Matthew Shedlick
7142e9e4eb
Updating to use modern Objective-C syntax.
2015-04-17 18:37:20 -04:00
jwe-apple
94a47a4b3a
Merge pull request #5 from dasmer/master
...
Adds dependency management documentation (and CocoaPods support)
2015-04-17 15:30:59 -07:00
Denis Lebedev
18988376aa
Add ORKVoiceEngineTests
2015-04-18 01:12:40 +03:00
Denis Lebedev
37673a096b
Add tests for UIView+ORKAccessibility
2015-04-18 00:38:38 +03:00
Ricardo Sánchez-Sáez
44f6355977
ORKRecorderTests: add test for identifier propagation from recorder configuration to recorder
2015-04-17 22:25:11 +01:00
Yuan Zhu
c0d84dc4a9
Merge pull request #49 from philliptharris/veryMinorTypo
...
Very minor typo fix
2015-04-17 14:24:36 -07:00
Phillip Harris
d9739e0843
Very minor typo fix
2015-04-17 17:07:17 -04:00
Ricardo Sánchez-Sáez
47261f181c
ORKRecorder: add my copyright info
2015-04-17 20:51:37 +01:00
Wojtek Czekalski
447594d36c
Fixed possible double evaluation in the ORKDynamicCast macro
2015-04-17 21:49:37 +02:00
Ricardo Sánchez-Sáez
8c39fcf935
ORKRecorder & friends: improve documentation
2015-04-17 20:37:36 +01:00
codestergit
fbbfac9a23
fixed formatting of curly braces in all files
2015-04-18 01:02:57 +05:30
Ricardo Sánchez-Sáez
49e79ab9f4
ORKRecorder: use recorder identifier for data log filename instead of step identifier
2015-04-17 20:26:43 +01:00
Dasmer Singh
fc558417ac
Set Xcode's Public files and Private files as podspec's public_header_files
...
[dependency_management.md] Fix typo
[Podspec] Add Xcode Public and Private files to public_header_files
2015-04-17 14:23:55 -04:00
Ricardo Sánchez-Sáez
d58785fcf7
ORKJSONSerializationTests: Fix indentation
2015-04-17 19:13:04 +01:00
Ricardo Sánchez-Sáez
4362e13ebc
Relayout vertical ORKScaleSliderView (optimized for iPhone 6 and up)
2015-04-17 15:09:42 +01:00
Dasmer Singh
7d4853a197
Create dependency managment file to list CocoaPods and Carthage.
...
[README] Drop fourth-level headers
Add Dependency Management file
[README.md] Link to dependency_management.md
Move /usr/bin/env ruby to top of script
2015-04-17 09:35:45 -04:00
Ricardo Sánchez-Sáez
e0e216eecc
Allow different cell heights in ORKSurveyAnswerCellForScale and ORKSurveyAnswerCellForVerticalScale
2015-04-17 14:12:28 +01:00
Ricardo Sánchez-Sáez
a2140aff06
Replace ORKVerticalScaleAnswerFormat and ORKContinuousVerticalScaleAnswerFormat classes by 'vertical' property in ORKScaleAnswerFormat and ORKContinuousScaleAnswerFormat
...
Also:
- Rename 'minValue' and 'maxValue' to 'minimumValue' and 'maximumValue' (Coding Guidelines for Cocoa)
- Reorder 'defaultValue' before 'steps' in ORKScaleAnswerFormat initializers (for coherence with ORKContinuousScaleAnswerFormat)
2015-04-17 13:56:35 +01:00
Ricardo Sánchez-Sáez
99bc310088
ORKScaleSlider: rename 'isVertical' property to 'vertical' with specified 'isVertical' getter
...
(Coding Guidelines for Cocoa)
2015-04-17 12:40:11 +01:00
Ricardo Sánchez-Sáez
5f52f13833
ORKRecorderTests: rename 'conf' to 'recorderConfiguration'
...
(As per Coding Guidelines for Cocoa)
2015-04-17 12:21:28 +01:00
Ricardo Sánchez-Sáez
7b1725a955
ORKRecorderTests: add recorder identifier tests
2015-04-17 12:18:41 +01:00
Ricardo Sánchez-Sáez
f349bd9b7f
Fix whitespace alignment on some method arguments
2015-04-17 12:05:09 +01:00
Dasmer Singh
b66fa14873
Merge remote-tracking branch 'upstream/master'
2015-04-16 22:57:12 -04:00
Dasmer Singh
56bd6301b1
[Podspec] Update author
2015-04-16 22:56:53 -04:00
Dasmer Singh
073d712324
[find_headers] Add license and copyright
2015-04-16 22:56:41 -04:00
Bruce Duncan
d3dba26b79
Merge branch 'master' into issue_4
2015-04-16 22:44:09 -04:00
Bruce Duncan
2fc27d7bda
Added fixed step and continuous scale examples to the kitchen sink form step in ORKTest
2015-04-16 22:34:57 -04:00
Bruce Duncan
a3d3fbb439
Revert "Added example of fixed scale and continuous scale form items."
...
This reverts commit 10ca52e63d .
2015-04-16 22:32:34 -04:00
jwe-apple
f5e0594c75
Merge pull request #18 from ricardopereira/improvement/localization/pt
...
ERROR_DATALOGGER_COULD_NOT_MAORK changed 'pagado' to 'eliminado'
2015-04-16 15:20:19 -07:00
Yuan Zhu
96f83191dd
Merge pull request #47 from mdznr/Capitalization-Consistency
...
Capitalization Consistency of sections in README
2015-04-16 14:13:45 -07:00
Matt Zanchelli
fe40138b12
"Getting Started" capitalization in README
2015-04-16 14:12:15 -07:00
Yuan Zhu
4376582b4a
Add .gitignore
2015-04-16 13:41:40 -07:00
Yuan Zhu
d313e3f7a5
Merge pull request #32 from alexruperez/master
...
Fixed Form Sample Crash
2015-04-16 11:26:58 -07:00
Yuan Zhu
6d39c5e744
Fix license link
2015-04-16 11:14:17 -07:00
Yuan Zhu
96e22ba0c2
Fix best practice link
2015-04-16 11:12:45 -07:00
Yuan Zhu
5a9bb2f8fd
Fix best practice link
2015-04-16 11:12:03 -07:00
alexruperez
5de3d1ec8b
Fixes ResearchKit/ResearchKit#32
2015-04-16 20:10:59 +02:00
Yuan Zhu
de7ec25b28
Merge pull request #15 from justinjdickow/master
...
Added CONTRIBUTING.md
2015-04-16 11:08:04 -07:00
Yuan Zhu
9849beded4
Merge pull request #34 from dplusm/master
...
Fixed coding-style inconsistencies
2015-04-16 11:05:01 -07:00
Ricardo Pereira
1503c05d6e
Changed to 'apagado'
2015-04-16 18:56:53 +01:00
Yuan Zhu
6f517f89cf
Merge pull request #23 from fyaqub/master
...
Objects that conform to NSCopying should use copy instead of strong
2015-04-16 10:53:11 -07:00
Yuan Zhu
d56fc3e1bd
Merge pull request #13 from steipete/master
...
Uses modern version detection API instead of floating point comparison.
2015-04-16 10:52:54 -07:00
Yuan Zhu
e6b5a96c48
Merge pull request #43 from kindraywind/patch-1
...
Fix comma inconsistencies.
2015-04-16 10:50:31 -07:00
Yuan Zhu
228da9c789
Merge pull request #46 from sferrini/master
...
Avoid retain cycle
2015-04-16 10:45:27 -07:00
Dasmer Singh
75ece11fc1
Update syntax and add argument exception
2015-04-16 13:27:17 -04:00
dasmer / eliperkins
9044b794a3
Add documentation_url to podspec
2015-04-16 13:26:43 -04:00
dasmer / eliperkins
a2ff2bd393
Add find header script for public and private headers and use in podspec
2015-04-16 13:26:33 -04:00
Simone Ferrini
f2ada1a01c
Avoid retain cycle
2015-04-16 19:10:44 +02:00
Bruce Duncan
10ca52e63d
Added example of fixed scale and continuous scale form items.
2015-04-16 12:39:00 -04:00
Matt Zanchelli
627399a78c
Capitalization Consistency of sections in README
...
"cases" should be capitalized correctly in the "Use cases" header in the README.
2015-04-16 09:06:03 -07:00
Woramet Muangsiri
58b544d5df
Fix comma inconsistencies.
2015-04-16 21:35:55 +07:00
alexruperez
422d3afb41
Resolves ResearchKit/ResearchKit#32
2015-04-16 14:18:11 +02:00
Ricardo Sánchez-Sáez
e5f5119bba
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-recorderidentifier
2015-04-16 12:51:19 +01:00
Ricardo Sánchez-Sáez
44036cb73e
ORKRecorder & ORKRecorderConfiguration: add identifier property
...
Modeled after ORKStep's identifier (read-only property that is assigned in the initializers).
The identifier gets passed from ORKRecorderConfiguration to ORKRecorder and finally to the corresponding ORKFileResult.
ORKRecorderConfiguration serialization added: ORKTest tests modified to support the new property and passing.
2015-04-16 12:51:03 +01:00
Bruce Duncan
ac4f40a902
Basic implementation of issue #4
2015-04-16 04:21:46 -04:00
Yuan Zhu
954a2a05a6
Merge pull request #39 from sikhapol/format-property-declarations
...
Format property declarations
2015-04-16 00:05:45 -07:00
Sikhapol Saijit
34b481f68c
Format property declarations
2015-04-16 12:29:25 +07:00
Ricardo Sánchez-Sáez
00aa3212b4
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-verticalscale
2015-04-16 00:38:18 +01:00
Yuan Zhu
b7824b1851
Merge pull request #38 from streeter/patch-1
...
Fix typo
2015-04-15 11:43:30 -07:00
Chris Streeter
9d97a29104
Fix typo
2015-04-15 11:16:47 -07:00
jwe-apple
4726d6fdd7
Merge pull request #30 from franklinsch/master
...
Replaced magic numbers in OKHTMLPDFWriter.m
2015-04-15 11:12:17 -07:00
fs2014
bd1d1ca3e6
Updated float to CGFloat.
2015-04-15 20:11:26 +02:00
fs2014
390c52e5e8
Used static consts instead of define for type safety, as suggested by jwe-apple.
2015-04-15 19:40:04 +02:00
Yuan Zhu
37b30537e9
Merge pull request #31 from codestergit/remove-spaces-from-method-params
...
Removed spaces between colon and parameters according to Apple's cocoa coding style.
2015-04-15 10:32:22 -07:00
jwe-apple
4aac2f9010
Merge pull request #8 from garnett/cleanup-tests
...
Cleanup tests
2015-04-15 10:31:12 -07:00
jwe-apple
2c29f029c4
Merge pull request #36 from troligtvis/master
...
variable name corrected
2015-04-15 10:29:49 -07:00
DanKeen
175679468e
Merge pull request #37 from hcanzonetta/master
...
Fixed typo in AdjustToScale
2015-04-15 10:08:47 -07:00
Justin Dickow
5f288877d0
Referenced CONTRIBUTING.md in README
2015-04-15 10:08:21 -04:00
Justin Dickow
3faffe89ea
Addressed PR Comments, updated inline links
2015-04-15 09:47:46 -04:00
Hernán Canzonetta
648b382fe9
Fixed typo in AdjustToScale
2015-04-15 10:23:14 -03:00
strawberrypie
077e1bb94b
small typo corrected
2015-04-15 14:35:01 +02:00
strawberrypie
17ae36d939
wrong variable name fixed
2015-04-15 13:39:42 +02:00
Ricardo Sánchez-Sáez
ddcb2ce4f0
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-dev
2015-04-15 11:26:11 +01:00
Ricardo Sánchez-Sáez
5953891a7c
TaskListRow: add DiscreteVerticalScaleQuestionStep and ContinuousVerticalScaleQuestionStep examples to scaleQuestionTask
2015-04-15 11:25:28 +01:00
Ricardo Sánchez-Sáez
fd2ab4b4a3
ORKAnswerFormat: add ORKVerticalScaleAnswerFormat and ORKContinuousVerticalScaleAnswerFormat classes and factory methods
...
Also:
ORKAnswerFormat .h: make spacing coherent; add missing ORKContinuousScaleAnswerFormat initializer comment
2015-04-15 11:24:46 +01:00
alexruperez
b923899ced
Fixed Form Sample Crash
2015-04-15 12:21:02 +02:00
Ricardo Sánchez-Sáez
87fd1537d7
ORKScaleAnswerFormatProvider protocol: add isVertical method; ORKScaleSliderView: add vertical mode support
2015-04-15 11:09:06 +01:00
Daniel Martens
3cb3b72c2d
Fixed coding-style inconsistencies
2015-04-15 11:59:43 +02:00
Ricardo Sánchez-Sáez
e270c9812d
ORKScaleSlider: add vertical scale mode
2015-04-15 10:51:13 +01:00
Ricardo Sánchez-Sáez
0b5f1d7082
ORKScaleSlider: fix issue when left dragging touch outside the segmented scale
...
(Scale was being set to the maximumValue when you dragged the touch outside the segmented scale through the view's left bound)
2015-04-15 10:49:32 +01:00
codestergit
f7f7c73ccc
Removed space between colon and parameters
2015-04-15 14:50:24 +05:30
Peter Steinberger
d4bd7b07d7
Remove Macro redefinition of HKBiologicalSexOther
2015-04-15 10:32:31 +02:00
fs2014
bd89f14b7e
Replaced magic numbers in OKHTMLPDFWriter.m
2015-04-15 10:06:01 +02:00
Peter Steinberger
9b5ee80420
Remove _IPHONE_8_2 checks since nullability requires Xcode 6.3.
2015-04-15 09:38:00 +02:00
Denis Lebedev
a2ab9874ab
Revert ORKHKSampleTests to user ivars
2015-04-15 10:22:07 +03:00
Faisal Yaqub
c1593b312d
Switch NSArray objects to copy
2015-04-15 00:12:41 -07:00
Faisal Yaqub
aeddc8fea9
Change NSValue and NSData properties to strong
2015-04-15 00:07:37 -07:00
Faisal Yaqub
9a03d12817
Revert accidental change to strong
2015-04-14 23:59:15 -07:00
Faisal Yaqub
54e147c969
Switch NSCalendar property to strong
2015-04-14 23:54:24 -07:00
Faisal Yaqub
9f0bdfd2fd
Removing unused NSError properties
2015-04-14 23:52:48 -07:00
DanKeen
4ddf07f106
Merge pull request #26 from kindraywind/patch-1
...
Remove spaces according to Apple's cocoa coding style.
2015-04-14 22:52:24 -07:00
Woramet Muangsiri
eae5f56040
Remove spaces according to Apple's cocoa coding style.
2015-04-15 12:38:30 +07:00
Faisal Yaqub
120d063bdf
Switching collections back to copy
2015-04-14 22:29:31 -07:00
DanKeen
1d8182db32
Merge pull request #22 from waynn/patch-1
...
make it clear myStep is a variable
2015-04-14 21:59:43 -07:00
Dasmer Singh
946753ea91
[Podspec] Remove spaces between filenames
2015-04-14 22:40:29 -04:00
Faisal Yaqub
4757edc130
Objects that conform to NSCopying should use copy instead of strong
2015-04-14 18:32:53 -07:00
Waynn Lue
19460998b6
make it clear myStep is a variable
2015-04-14 18:07:44 -07:00
Yuan Zhu
1f0307aa63
Merge pull request #21 from sferrini/master
...
Removed unnecessary semicolons
2015-04-14 16:01:53 -07:00
Yuan Zhu
e477f4e38b
Capitalizing "Predefined"
2015-04-14 15:38:53 -07:00
Dasmer Singh
06125bb24d
Explicitly add all public header files. Limit source files to only be .h and .m files
2015-04-14 17:06:46 -04:00
Dasmer Singh
4ff80ee4c2
Add shader files to resources
2015-04-14 17:06:34 -04:00
Simone Ferrini
f61f4e66db
Removed unnecessary semicolons
2015-04-14 23:03:47 +02:00
jwe-apple
c11ae6d95e
Merge pull request #20 from Rudimental/patch-1
...
Add closing p tag to fix formatting in section 2
2015-04-14 13:50:48 -07:00
Yuan Zhu
064d4d0a03
Merge pull request #19 from fedetrim/patch-1
...
Adopting Apple coding convention
2015-04-14 13:35:19 -07:00
David Rabkin
fd84004c37
Add closing p tag to fix formatting in section 2
...
-The code isn't formatting correctly in section 2. By adding a closing p tag, the documentation can be read more easily.
2015-04-14 13:26:38 -07:00
fedetrim
33880857a0
Adopting Apple coding convention
2015-04-14 16:58:37 -03:00
Ricardo Pereira
9b6decc643
ERROR_DATALOGGER_COULD_NOT_MAORK changed 'pagado' to 'eliminado'
2015-04-14 20:12:30 +01:00
Justin Dickow
d81f303959
Added CONTRIBUTING.md
2015-04-14 15:10:37 -04:00
Peter Steinberger
e4f8af52eb
Uses modern version detection API instead of floating point comparison.
...
While the current way of checking for the version is not deprecated,
converting the string to float isn’t a good idea either.
The framework is for iOS 8 and above, so we can use the new Foundation API.
2015-04-14 21:08:34 +02:00
Dasmer Singh
208249a3b9
Add project resources to podspec
2015-04-14 14:11:55 -04:00
Denis Lebedev
71373cc46f
Remove empty test setup overrides
2015-04-14 20:55:26 +03:00
Denis Lebedev
aa8186e175
DRY test fixtures
2015-04-14 20:40:33 +03:00
Denis Lebedev
cabe77ca67
Delete template code
2015-04-14 20:37:09 +03:00
Dasmer Singh
cdcda16714
Update README for CocoaPods
2015-04-14 13:27:42 -04:00
Yuan Zhu
9c75263ac5
Merge pull request #6 from frewsxcv/patch-1
...
Fix spelling error in readme
2015-04-14 10:21:39 -07:00
Corey Farwell
3d08b355bd
Fix spelling error in readme
2015-04-14 13:19:30 -04:00
Dasmer Singh
c5b1640343
Adds a podspec for Cocoapods
2015-04-14 13:15:13 -04:00
John Earl
f22c425b25
Update readme links
2015-04-14 09:24:12 -07:00