This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 189, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ |
This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 509, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
id | regional_id | exam_name | result | date | |
---|---|---|---|---|---|
1 | test.Białystok.2 | GlucoseLevelNo | 95 | Mar 28, 2017 23:40:08 | |
2 | test .Szczecin.000 | BloodPressureTest | 1/2 | Mar 28, 2017 11:52:24 PM | |
3 | test .Szczecin.000 | BloodPressureTest | 1/2 | Mar 28, 2017 11:52:24 PM | |
4 | test .Szczecin.000 | BloodPressureTest | 1/2 | Mar 28, 2017 11:52:24 PM | |
5 | test .Szczecin.000 | BloodPressureTest | 1/2 | Mar 28, 2017 11:52:24 PM | |
6 | test .Szczecin.000 | BloodPressureTest | 1/2 | Mar 28, 2017 11:52:24 PM | |
7 | test.Lublin.13 | GlucoseLevelYes | 89 | Mar 29, 2017 17:43:00 | |
8 | test.Lublin.13 | BloodPressureTest | 140/85 | Mar 29, 2017 17:43:13 | |
9 | test.Szczecin.1 | GlucoseLevelYes | 78 | Mar 29, 2017 20:36:35 |
This file contains 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
var angle = 0.0 | |
for view in uiViews { | |
viewContainer.addSubview(view) | |
var sine: CGFloat = CGFloat(sin(Float(angle))) | |
var cosine: CGFloat = CGFloat(cos(Float(angle))) | |
var r: CGFloat = view.superview!.frame.height / 2.0 | |
var x: CGFloat = sine * r | |
var y: CGFloat = cosine * r | |
layout (view) { view in | |
view.centerX == view.superview!.centerX + Float(x) |
This file contains 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
var uiViews: [UIView] | |
for i in [1,2,3] { | |
uiViews.append(UIView()) | |
} |
This file contains 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
var viewContainer: UIView = UIView() |
This file contains 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
var outerView: UIView = UIView() | |
var innerView: UIView = UIView() | |
outerView.addSubview(innerView) | |
layout(outerView, innerView) { outerView, innterView in | |
outerView.centerX == innerView.centerX | |
outerView.centerY == innerView.centerY | |
} |
NewerOlder