This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let vc = APCMedicationTrackerCalendarViewController(nibName: "APCMedicationTrackerCalendarViewController", bundle: NSBundle(identifier: "org.researchkit.APCAppCore")) | |
vc.step = ORKStep(identifier: "medstep") | |
let navController = UINavigationController(rootViewController: vc) | |
navController.navigationBar.translucent = false | |
// window().rootViewController?.presentViewController(navController, animated: true, completion: nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DashboardViewController.swift | |
// MyStudyApp | |
// | |
// Created by Vincent Tourraine on 2/16/16. | |
// Copyright © 2016 Shazino. All rights reserved. | |
// | |
import UIKit | |
import ResearchKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (void)customizeAppearance | |
{ | |
UIColor *lightColor = [UIColor lightGrayColor]; | |
UIColor *darkColor = [UIColor darkGrayColor]; | |
// Navigation bar | |
UIGraphicsBeginImageContext(CGSizeMake(1, 1)); | |
UIBezierPath *rectBezierPath = [UIBezierPath bezierPathWithRect:CGRectMake(0, 0, 1, 1)]; | |
[lightColor setFill]; | |
[rectBezierPath fill]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p OCHamcrest | |
cp -f ../OCHamcrest/Source/OCHamcrest.h OCHamcrest/; | |
find ../OCHamcrest/Source/Core/ -type f -name '*.h' -exec cp -f {} OCHamcrest/ \; | |
find ../OCHamcrest/Source/Library/ -type f -name '*.h' -exec cp -f {} OCHamcrest/ \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
File: KeychainItemWrapper.h | |
Abstract: | |
Objective-C wrapper for accessing a single keychain item. | |
Version: 1.2 | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple | |
Inc. ("Apple") in consideration of your agreement to the following | |
terms, and your use, installation, modification or redistribution of |
NewerOlder