Commit Graph
15 Commits
Author SHA1 Message Date
Pariece McKinney 5c5d295bd5 Public release 3.1.0 2024-10-15 17:05:47 -04:00
Pariece McKinney b14e5cfcb0 Public Release 3.0 2024-03-28 19:39:04 -04:00
Ricardo Sánchez-Sáez e86ef34a75 Merge branch 'master' of github.com:rsanchezsaez/ResearchKit into rsanchezsaez-CodeHomogenization2
# Conflicts:
#	ResearchKit/Common/ORKSurveyAnswerCellForText.m
#	ResearchKit/Common/ORKTextFieldView.m
2016-07-14 23:58:01 +01: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 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 135e2209c8 ORKTextFieldView: whitespace 2016-01-04 21:58:07 +00:00
Yuan Zhu 2338e097c4 Use dot access 2015-09-02 10:57:48 -07: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 a2ab9874ab Revert ORKHKSampleTests to user ivars 2015-04-15 10:22:07 +03: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
Yuan Zhu 90472de87a Initial commit 2015-04-14 00:02:43 -07:00