Skip to content

Commit ead0650

Browse files
committed
Convergence
1 parent 4f3d0f3 commit ead0650

File tree

298 files changed

+9636
-1603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+9636
-1603
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Getting Started<a name="gettingstarted"></a>
6767
Requirements
6868
------------
6969

70-
The primary *ResearchKit framework* codebase supports *iOS* and requires *Xcode 7.0* or newer. The
70+
The primary *ResearchKit framework* codebase supports *iOS* and requires *Xcode 8.0* or newer. The
7171
*ResearchKit framework* has a *Base SDK* version of *8.0*, meaning that apps using the *ResearchKit
7272
framework* can run on devices with *iOS 8.0* or newer.
7373

RELEASE-NOTES.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,73 @@
11
# ResearchKit Release Notes
22

3+
## ResearchKit 1.4 Release Notes
4+
5+
*ResearchKit 1.4* supports *iOS* and requires *Xcode 8.0* or newer. The minimum supported *Base SDK* is *8.0*.
6+
7+
In addition to general stabiltiy and performance improvements, *ResearchKit 1.4* includes the following new features and enhancements.
8+
9+
- **New Active Task**
10+
11+
- **Hand Tremor Task**
12+
13+
*Contributed by [Shannon Young](https://github.com/syoung-smallwisdom).*
14+
15+
The *Hand Tremor Task* asks the participant to hold the device with their most affected hand in various positions while accelerometer and motion data is captured.
16+
17+
- **Walk Back and Forth Task**
18+
19+
*Contributed by [Shannon Young](https://github.com/syoung-smallwisdom).*
20+
21+
The *Walk Back and Forth Task* addresses the concern of researchers/participants who have difficulty locating an unobstructed path for 20 steps.
22+
23+
Instructs users to walk and turn in a full circle, allowing the tests to be conducted in a smaller space.
24+
25+
- **New Steps**
26+
27+
- **Video Capture Step**
28+
29+
*Contributed by [Apple Inc](https://github.com/researchkit).*
30+
31+
The *Video Capture Step* provides a step to be used to record video.
32+
33+
The step can be used as part of a survey to capture video respones as well.
34+
35+
- **Review Step**
36+
37+
*Contributed by [Oliver Schäfer](https://github.com/oliverschaefer).*
38+
39+
The *Review Step* allows a participant to review and modify their answers to a survey.
40+
41+
The step can be used in the middle of a survey, at the end of a survey, or a standalone module.
42+
43+
- **Signature Step**
44+
45+
*Contributed by [Oliver Schäfer](https://github.com/oliverschaefer).*
46+
47+
The *Signature Step* provides an interface for a participant to sign their name.
48+
49+
The step can be used for handwriting detection or simply to sign a document.
50+
51+
- **Table Step**
52+
53+
*Contributed by [Shannon Young](https://github.com/syoung-smallwisdom).*
54+
55+
The *Table Step* provides a way to neatly display data in a table.
56+
57+
- **Other Improvements**
58+
59+
- **Data Collection Module**
60+
61+
*Contributed by [Apple Inc](https://github.com/researchkit).*
62+
63+
The *Data Collection Module* makes it even easier to aggregate data from HealthKit and device sensors.
64+
65+
- **Tapping Test**
66+
67+
*Contributed by [Michał Zaborowski](https://github.com/m1entus).*
68+
69+
The *Tapping Test* is updated to include tap duration as part of the result.
70+
371

472
## ResearchKit 1.3 Release Notes
573

ResearchKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ResearchKit'
3-
s.version = '1.3.0'
3+
s.version = '1.3.1'
44
s.summary = 'ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.'
55
s.homepage = 'https://www.github.com/ResearchKit/ResearchKit'
66
s.documentation_url = 'http://researchkit.github.io/docs/'

ResearchKit.xcodeproj/project.pbxproj

Lines changed: 114 additions & 6 deletions
Large diffs are not rendered by default.

ResearchKit.xcodeproj/xcshareddata/xcschemes/ResearchKit.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ResearchKit.xcodeproj/xcshareddata/xcschemes/docs.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0700"
3+
LastUpgradeVersion = "0800"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ResearchKit/ActiveTasks/HKSample+ORKJSONDictionary.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ - (NSMutableDictionary *)ork_JSONMutableDictionaryWithOptions:(ORKSampleJSONOpti
9090
}
9191

9292
if (options & ORKSampleIncludeSource) {
93-
HKSource *source = [self source];
93+
HKSource *source = [[self sourceRevision] source];
9494
if (source.name) {
9595
mutableDictionary[HKSourceKey] = source.name;
9696
}

ResearchKit/ActiveTasks/ORKAudioContentView.m

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ - (void)updateGraphSamples {
352352
- (void)updateAlertLabelHidden {
353353
NSNumber *sample = _samples.lastObject;
354354
BOOL show = (!_finished && (sample.doubleValue > _alertThreshold)) || _failed;
355+
356+
if (_alertLabel.hidden && show) {
357+
UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, _alertLabel.text);
358+
}
355359
_alertLabel.hidden = !show;
356360
}
357361

@@ -385,11 +389,9 @@ - (BOOL)isAccessibilityElement {
385389
}
386390

387391
- (NSString *)accessibilityLabel {
388-
if (_alertLabel.isHidden) {
389-
return _timerLabel.accessibilityLabel;
390-
}
391-
392-
return ORKAccessibilityStringForVariables(_timerLabel.accessibilityLabel, _alertLabel.accessibilityLabel);
392+
NSString *timerAxString = _timerLabel.isHidden ? nil : _timerLabel.accessibilityLabel;
393+
NSString *alertAxString = _alertLabel.isHidden ? nil : _alertLabel.accessibilityLabel;
394+
return ORKAccessibilityStringForVariables(ORKLocalizedString(@"AX_AUDIO_BAR_GRAPH", nil), timerAxString, alertAxString);
393395
}
394396

395397
- (UIAccessibilityTraits)accessibilityTraits {

ResearchKit/ActiveTasks/ORKAudioLevelNavigationRule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ORK_CLASS_AVAILABLE
4343
4444
@param audioLevelStepIdentifier The identifier of the step with the audio file to check.
4545
@param destinationStepIdentifier The identifier of the destination step if audio test passes.
46-
46+
@param recordingSettings Use key AVNumberOfChannelsKey to sepcify the number of recording channels.
4747
@return A audio level step navigation rule.
4848
*/
4949
- (instancetype)initWithAudioLevelStepIdentifier:(NSString *)audioLevelStepIdentifier

ResearchKit/ActiveTasks/ORKAudioLevelNavigationRule.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ - (NSString *)identifierForDestinationStepWithTaskResult:(ORKTaskResult *)taskRe
135135
return self.destinationStepIdentifier;
136136
}
137137

138-
- (BOOL)checkAudioLevelFromSoundFile:(NSURL *)fileURL
139-
{
138+
- (BOOL)checkAudioLevelFromSoundFile:(NSURL *)fileURL {
140139
// Setup reader
141140
AVURLAsset *urlAsset = [AVURLAsset URLAssetWithURL:fileURL options:nil];
142141
if (urlAsset.tracks.count == 0) {

0 commit comments

Comments
 (0)