Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Gerardo Marx | ae5b182b4c | 2 months ago |
Gerardo Marx | f053121752 | 2 months ago |
After Width: | Height: | Size: 155 KiB |
@ -1,61 +0,0 @@
|
||||
# Xcode specific
|
||||
.DS_Store
|
||||
*.xcuserstate
|
||||
*.xcscmblueprint
|
||||
*.swp
|
||||
*.mode1v3
|
||||
*.mode2v3
|
||||
*.perspectivev3
|
||||
|
||||
# User-specific settings
|
||||
xcuserdata/
|
||||
*.xcworkspace/xcuserdata/
|
||||
|
||||
# Xcode build
|
||||
build/
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.dSYM
|
||||
|
||||
# CocoaPods
|
||||
Pods/
|
||||
Podfile.lock
|
||||
|
||||
# Carthage
|
||||
Carthage/Build/
|
||||
|
||||
# Swift Package Manager
|
||||
.build/
|
||||
DerivedData/
|
||||
SourcePackages/
|
||||
Package.resolved
|
||||
|
||||
# Fastlane
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots
|
||||
fastlane/test_output
|
||||
|
||||
# Generated files
|
||||
*.moved-aside
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.xcuserdatad
|
||||
*.localized
|
||||
*.xcworkspacedata
|
||||
|
||||
# Temporary and System files
|
||||
*.tmp
|
||||
*.log
|
||||
*.swp
|
||||
*.lock
|
||||
*.lock/
|
||||
*.lck
|
||||
*.sync
|
||||
|
||||
# Playgrounds
|
||||
timeline.xctimeline
|
||||
playground.xcworkspace
|
||||
|
||||
# SwiftPM
|
||||
.swiftpm/
|
@ -1,3 +0,0 @@
|
||||
[submodule "ResearchKit"]
|
||||
path = ResearchKit
|
||||
url = https://github.com/ResearchKit/ResearchKit.git
|
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 353 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 202 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 97 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 68 KiB |
@ -1,46 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
|
||||
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="System colors in document resources" minToolsVersion="11.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="tne-QT-ifu">
|
||||
<objects>
|
||||
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="RK_Setup_Git" customModuleProvider="target" sceneMemberID="viewController">
|
||||
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
|
||||
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rr2-t4-Uvi">
|
||||
<rect key="frame" x="87" y="706" width="218" height="35"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<state key="normal" title="Button"/>
|
||||
<buttonConfiguration key="configuration" style="plain" title="Button"/>
|
||||
<connections>
|
||||
<action selector="startSurveyTapped:" destination="BYZ-38-t0r" eventType="touchUpInside" id="l4p-Pq-Qni"/>
|
||||
</connections>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||
</view>
|
||||
<connections>
|
||||
<outlet property="startTapped" destination="rr2-t4-Uvi" id="LDX-yP-Jiu"/>
|
||||
</connections>
|
||||
</viewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="93.89312977099236" y="3.5211267605633805"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
<resources>
|
||||
<systemColor name="systemBackgroundColor">
|
||||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</systemColor>
|
||||
</resources>
|
||||
</document>
|
||||
|
@ -1,27 +0,0 @@
|
||||
//
|
||||
// SurveyTask.swift
|
||||
// RK-Setup-Git
|
||||
//
|
||||
// Created by Gerardo Marx Chávez Campos on 11/10/24.
|
||||
//
|
||||
|
||||
import ResearchKit
|
||||
|
||||
struct SurveyTaskProvider {
|
||||
|
||||
static func createHeightFormTask() -> ORKOrderedTask {
|
||||
|
||||
let sectionHeaderFormItem = ORKFormItem(sectionTitle: "What's your height?")
|
||||
let heightQuestionFormItem = ORKFormItem(identifier: "heightQuestionFormItem1", text: nil, answerFormat: ORKAnswerFormat.heightAnswerFormat())
|
||||
|
||||
heightQuestionFormItem.placeholder = "Tap here"
|
||||
|
||||
let formStep = ORKFormStep(identifier: "HeighQuestionIdentifier",
|
||||
title: "Height info",
|
||||
text: "Please answer the questions")
|
||||
|
||||
formStep.formItems = [sectionHeaderFormItem, heightQuestionFormItem]
|
||||
|
||||
return ORKOrderedTask(identifier: "Survey Task", steps: [formStep])
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 208 KiB |
After Width: | Height: | Size: 2.3 MiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 229 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 122 KiB |