srinathtm-apple
01cc7ed79d
Project updates ( #1264 )
...
* overall updates to ResearchKit, new textChoiceOtherAnswerFormat, unit tests and more..
2019-04-15 14:42:02 -07:00
Ricardo Sanchez-Saez
0ddd16b202
[Misc] Homogenize errorOut argument naming
2019-02-21 16:38:57 -08:00
Akshay
e6e4698306
Convergence
2017-06-07 10:10:19 -07:00
Ricardo Sánchez-Sáez
b9bcd6713c
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-CodeHomogenization2
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# ResearchKit/ActiveTasks/ORKCountdownStep.h
# ResearchKit/Charts/ORKDiscreteGraphChartView.m
# ResearchKit/Charts/ORKGraphChartView.m
# ResearchKit/Charts/ORKGraphChartView_Internal.h
# ResearchKit/Charts/ORKLineGraphChartView.m
# ResearchKit/Charts/ORKPieChartLegendView.m
# ResearchKit/Charts/ORKPieChartView.m
# ResearchKit/Charts/ORKRangedPoint.h
# ResearchKit/Charts/ORKRangedPoint.m
# ResearchKit/Common/ORKAnswerFormat.h
# ResearchKit/Common/ORKAnswerFormat_Internal.h
# ResearchKit/Common/ORKAnswerTextView.m
# ResearchKit/Common/ORKCompletionStep.h
# ResearchKit/Common/ORKFormStep.m
# ResearchKit/Common/ORKHeightPicker.h
# ResearchKit/Common/ORKInstructionStep.h
# ResearchKit/Common/ORKNavigableOrderedTask.m
# ResearchKit/Common/ORKOrderedTask.m
# ResearchKit/Common/ORKPasscodeStepViewController.m
# ResearchKit/Common/ORKSignatureStepViewController.h
# ResearchKit/Common/ORKSignatureStepViewController.m
# ResearchKit/Common/ORKStepViewController.h
# ResearchKit/Common/ORKTextButton.h
# ResearchKit/Common/ORKTextFieldView.m
# ResearchKit/Common/ORKTypes.h
# ResearchKit/Consent/ORKConsentReviewStepViewController.m
# ResearchKit/ResearchKit.h
# ResearchKit/ResearchKit_Private.h
# ResearchKitTests/ORKAnswerFormatTests.m
# Testing/ORKTest/ORKTest/Charts/Charts.storyboard
# Testing/ORKTest/ORKTest/DragonPokerStep.m
2016-07-25 21:52:13 +01:00
Ricardo Sánchez-Sáez
cfe04441ad
Merge branch 'master' of github.com:ResearchKit/ResearchKit into rsanchezsaez-CodeHomogenization
...
# Conflicts:
# ResearchKit.xcodeproj/project.pbxproj
# ResearchKit/ActiveTasks/ORKHealthQuantityTypeRecorder.m
# ResearchKit/Charts/ORKGraphChartView.m
# ResearchKit/Charts/ORKRangedPoint.m
# ResearchKit/Common/ORKHealthAnswerFormat.m
# ResearchKit/Common/ORKNavigableOrderedTask.m
# ResearchKit/Common/ORKOrderedTask.m
# ResearchKit/Common/ORKPasscodeStepViewController.m
# ResearchKit/Common/ORKSurveyAnswerCellForText.m
# ResearchKit/Common/ORKTextButton.h
# ResearchKit/Common/ORKTextFieldView.m
# Testing/ORKTest/ORKTestTests/ORKJSONSerializationTests.m
2016-07-08 15:05:24 +02:00
Ricardo Sánchez-Sáez
f7d1591c19
[Misc] Change all framework #imports to @import
...
Also:
- Change some #imports to directly refer headers instead of going though the framework header because it enables it be included as a module through Cocoapods.
- Improve unit test encapsulation by making some classes (recorders) and methods available in the private header
2016-03-28 20:06:58 +01:00
Ricardo Sánchez-Sáez
e515278b4c
[Misc] Perform #import section refactor to reduce header interdependency
...
Compilation time after you modify a header file has been greatly improved by avoiding including the umbrella headers (ResearchKit.h and ResearchKit_Private.h) in any of the framework files.
Also:
- Restructure .m files #import section into a hierarchy of alphabetically sorted subsections separated by one newline (1. local views and controls; 2. view controllers and recorders; 3. model files; 4. general files and helpers, 5. iOS frameworks). The #import order follows advice found here: http://qualitycoding.org/import-order/
- Remove needless and duplicate imports from .m files
- Make sure all headers include at least Foundation or UIKit; except Private or Internal headers which only include their own class header at the next public level
- Rename ORKHelpers.h to ORKHelpers_Internal.h (it is not public, and its name was misleading given that we also have ORKHelpers_Private.h).
- Add a few missing NS_ASSUME_NONNULL_BEGIN/NS_ASSUME_NONNULL_END annotation in headers
- Add a few missing double newline before and after import section
2016-03-28 15:34:27 +01:00
Ricardo Sánchez-Sáez
b8a999995f
[Misc] Remove explicit __autoreleasing annotation in indirect parameters to avoid noisy code
...
Indirect parameters are __autoreleasing implicitly: http://clang.llvm.org/docs/AutomaticReferenceCounting.html#indirect-parameters
Also, add _Nullable annotation to indirect parameters in headers, and homogenize whitespace surrounding it.
2016-03-16 13:31:50 +00:00
Ricardo Sánchez-Sáez
077dfcc4ab
[Misc] Additional whitespace homogenization regarding space before dictionary keys and around the tertiary operator (?:)
2016-03-15 16:09:19 +00: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
Yuan Zhu
2338e097c4
Use dot access
2015-09-02 10:57:48 -07: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
e69460acfe
Refactor '[array count]' method syntax to 'array.count' property syntax
2015-08-04 13:50:00 +02:00
Ricardo Sánchez-Sáez
9604154b17
Naming conventions renames
2015-04-27 19:56:06 +01:00
Ricardo Sánchez-Sáez
e3cca38a69
Homogeneous else braces
2015-04-27 19:49:03 +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
codestergit
fbbfac9a23
fixed formatting of curly braces in all files
2015-04-18 01:02:57 +05:30
Denis Lebedev
cabe77ca67
Delete template code
2015-04-14 20:37:09 +03:00
Yuan Zhu
90472de87a
Initial commit
2015-04-14 00:02:43 -07:00