From 6f2ac3f67119e13c31a4d8000164ce3154f268eb Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 13 Jul 2017 11:19:33 -0700 Subject: [PATCH] Fixes --- ResearchKit.podspec | 2 +- ResearchKit/ActiveTasks/ORKShoulderRangeOfMotionStep.h | 1 + ResearchKit/Common/ORKPasscodeStepViewController.m | 1 + ResearchKit/Common/ORKVideoInstructionStep.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ResearchKit.podspec b/ResearchKit.podspec index 30a9e5b993..331815c3e6 100644 --- a/ResearchKit.podspec +++ b/ResearchKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ResearchKit' - s.version = '1.5.0' + s.version = '1.5.1' s.summary = 'ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.' s.homepage = 'https://www.github.com/ResearchKit/ResearchKit' s.documentation_url = 'http://researchkit.github.io/docs/' diff --git a/ResearchKit/ActiveTasks/ORKShoulderRangeOfMotionStep.h b/ResearchKit/ActiveTasks/ORKShoulderRangeOfMotionStep.h index b08e3ae7e3..121f26cc62 100644 --- a/ResearchKit/ActiveTasks/ORKShoulderRangeOfMotionStep.h +++ b/ResearchKit/ActiveTasks/ORKShoulderRangeOfMotionStep.h @@ -36,6 +36,7 @@ The `ORKShoulderRangeOfMotionStep` class represents a step that takes a range of motion measurement for either a left or right shoulder. */ +ORK_CLASS_AVAILABLE @interface ORKShoulderRangeOfMotionStep : ORKRangeOfMotionStep @end diff --git a/ResearchKit/Common/ORKPasscodeStepViewController.m b/ResearchKit/Common/ORKPasscodeStepViewController.m index 841eb0018c..f5b417c8c7 100644 --- a/ResearchKit/Common/ORKPasscodeStepViewController.m +++ b/ResearchKit/Common/ORKPasscodeStepViewController.m @@ -182,6 +182,7 @@ - (void)viewDidAppear:(BOOL)animated { } if (!_shouldResignFirstResponder) { + [self.view layoutIfNeeded]; // layout pass might be required before showing the keyboard [self makePasscodeViewBecomeFirstResponder]; } } diff --git a/ResearchKit/Common/ORKVideoInstructionStep.h b/ResearchKit/Common/ORKVideoInstructionStep.h index 36a360f57f..03d1c32a52 100644 --- a/ResearchKit/Common/ORKVideoInstructionStep.h +++ b/ResearchKit/Common/ORKVideoInstructionStep.h @@ -41,6 +41,7 @@ NS_ASSUME_NONNULL_BEGIN You can use video instruction steps to present video content during a task. */ +ORK_CLASS_AVAILABLE @interface ORKVideoInstructionStep : ORKInstructionStep /**