small changes
This commit is contained in:
parent
716dcff566
commit
d29e8ea3bd
@ -427,6 +427,26 @@
|
|||||||
path = FormUIHelpers;
|
path = FormUIHelpers;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
D213347423842FE3008E41B3 /* Controllers */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
D29DF29321E7ADB8003B2FB9 /* StackableViewController.h */,
|
||||||
|
D29DF28E21E7ADB8003B2FB9 /* StackableViewController.m */,
|
||||||
|
D29770F021F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsViewController.h */,
|
||||||
|
D29770F121F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsViewController.m */,
|
||||||
|
D29770EF21F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsTableViewController.h */,
|
||||||
|
D29770EE21F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsTableViewController.m */,
|
||||||
|
);
|
||||||
|
path = Controllers;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
D213347523842FF5008E41B3 /* Views */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
);
|
||||||
|
path = Views;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
D224798823142BF2003FCCF9 /* SwitchMolecules */ = {
|
D224798823142BF2003FCCF9 /* SwitchMolecules */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
@ -486,17 +506,13 @@
|
|||||||
path = Items;
|
path = Items;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
D22D1F582204D2590077CEC0 /* LegacyControllers */ = {
|
D22D1F582204D2590077CEC0 /* Legacy */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
D29DF29321E7ADB8003B2FB9 /* StackableViewController.h */,
|
D213347523842FF5008E41B3 /* Views */,
|
||||||
D29DF28E21E7ADB8003B2FB9 /* StackableViewController.m */,
|
D213347423842FE3008E41B3 /* Controllers */,
|
||||||
D29770F021F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsViewController.h */,
|
|
||||||
D29770F121F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsViewController.m */,
|
|
||||||
D29770EF21F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsTableViewController.h */,
|
|
||||||
D29770EE21F7C6D600B2F0D0 /* TopLabelsAndBottomButtonsTableViewController.m */,
|
|
||||||
);
|
);
|
||||||
path = LegacyControllers;
|
path = Legacy;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
D29DF0C221E404D4003B2FB9 = {
|
D29DF0C221E404D4003B2FB9 = {
|
||||||
@ -527,7 +543,7 @@
|
|||||||
D29DF13321E68604003B2FB9 /* Styles */,
|
D29DF13321E68604003B2FB9 /* Styles */,
|
||||||
D29DF11021E6805F003B2FB9 /* Categories */,
|
D29DF11021E6805F003B2FB9 /* Categories */,
|
||||||
D29DF11921E68467003B2FB9 /* Containers */,
|
D29DF11921E68467003B2FB9 /* Containers */,
|
||||||
D22D1F582204D2590077CEC0 /* LegacyControllers */,
|
D22D1F582204D2590077CEC0 /* Legacy */,
|
||||||
D29DF10F21E67A7D003B2FB9 /* BaseControllers */,
|
D29DF10F21E67A7D003B2FB9 /* BaseControllers */,
|
||||||
D29DF11E21E6851E003B2FB9 /* TopAlert */,
|
D29DF11E21E6851E003B2FB9 /* TopAlert */,
|
||||||
D29DF10D21E67A70003B2FB9 /* Atoms */,
|
D29DF10D21E67A70003B2FB9 /* Atoms */,
|
||||||
|
|||||||
@ -109,7 +109,7 @@ public struct GraphObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@objcMembers open class GraphView: View {
|
@objcMembers open class GraphView: View, MVMCoreUIViewConstrainingProtocol {
|
||||||
|
|
||||||
var heightConstraint: NSLayoutConstraint?
|
var heightConstraint: NSLayoutConstraint?
|
||||||
var gradientLayer: CALayer?
|
var gradientLayer: CALayer?
|
||||||
@ -240,6 +240,10 @@ public struct GraphObject {
|
|||||||
|
|
||||||
return containLayer
|
return containLayer
|
||||||
}
|
}
|
||||||
|
//MARK: MVMCoreUIViewConstrainingProtocol
|
||||||
|
public func needsToBeConstrained() -> Bool {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
//MARK: Animation
|
//MARK: Animation
|
||||||
func rotationAnimation(_ object: GraphObject) {
|
func rotationAnimation(_ object: GraphObject) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user