Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Swift code snippets for Getting Started #57

Merged
merged 2 commits into from Apr 20, 2015

Conversation

@mharper
Copy link
Contributor

@mharper mharper commented Apr 18, 2015

No description provided.

@YuanZhu-apple YuanZhu-apple self-assigned this Apr 20, 2015
README.md Outdated
```swift
let taskViewController = ORKTaskViewController(task: task, taskRunUUID: nil)
taskViewController.delegate = self
self.presentViewController(taskViewController, animated: true, completion: nil)

This comment has been minimized.

@YuanZhu-apple

YuanZhu-apple Apr 20, 2015
Member

To be consistent with our style, these should just get the “self” stripped off, so it’s

presentViewController(taskViewController, animated: true, completion: nil)
README.md Outdated
// Then, dismiss the task view controller.
self.dismissViewControllerAnimated(true, completion: nil)
}

This comment has been minimized.

@YuanZhu-apple

YuanZhu-apple Apr 20, 2015
Member

Same here:

dismissViewControllerAnimated(true, completion: nil)
Conforms to Swift style per @YuanZhu-apple.
YuanZhu-apple added a commit that referenced this pull request Apr 20, 2015
Adds Swift code snippets for Getting Started
@YuanZhu-apple YuanZhu-apple merged commit c9983ca into ResearchKit:master Apr 20, 2015
syoung-smallwisdom pushed a commit to syoung-smallwisdom/ResearchKit that referenced this pull request Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.