mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 13:15:35 +03:00
Minor refactoring, travis fix
This commit is contained in:
parent
a6fdbe665b
commit
325a04d140
@ -131,6 +131,8 @@
|
||||
57E5E1B31E3B393900D1CB28 /* NodesMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E5E1511E3B393900D1CB28 /* NodesMap.swift */; };
|
||||
57E5E1B41E3B393900D1CB28 /* ShapeLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57E5E1521E3B393900D1CB28 /* ShapeLayer.swift */; };
|
||||
57F108741F502A3600DC365B /* Touchable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57F108731F502A3600DC365B /* Touchable.swift */; };
|
||||
57F1087A1F53C92000DC365B /* MDisplayLink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57F108791F53C92000DC365B /* MDisplayLink.swift */; };
|
||||
57F1087C1F53CA7E00DC365B /* MDisplayLink_iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57F1087B1F53CA7E00DC365B /* MDisplayLink_iOS.swift */; };
|
||||
57FCD2771D76EA4600CC0FB6 /* Macaw.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 57FCD26C1D76EA4600CC0FB6 /* Macaw.framework */; };
|
||||
57FCD27C1D76EA4600CC0FB6 /* MacawTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FCD27B1D76EA4600CC0FB6 /* MacawTests.swift */; };
|
||||
A718CD441F45C28200966E06 /* Common_iOS.swift in Sources */ = {isa = PBXBuildFile; fileRef = A718CD431F45C28200966E06 /* Common_iOS.swift */; };
|
||||
@ -292,6 +294,8 @@
|
||||
57E5E1511E3B393900D1CB28 /* NodesMap.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NodesMap.swift; sourceTree = "<group>"; };
|
||||
57E5E1521E3B393900D1CB28 /* ShapeLayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ShapeLayer.swift; sourceTree = "<group>"; };
|
||||
57F108731F502A3600DC365B /* Touchable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Touchable.swift; sourceTree = "<group>"; };
|
||||
57F108791F53C92000DC365B /* MDisplayLink.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MDisplayLink.swift; path = Source/platform/MDisplayLink.swift; sourceTree = SOURCE_ROOT; };
|
||||
57F1087B1F53CA7E00DC365B /* MDisplayLink_iOS.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MDisplayLink_iOS.swift; path = Source/platform/iOS/MDisplayLink_iOS.swift; sourceTree = SOURCE_ROOT; };
|
||||
57FCD26C1D76EA4600CC0FB6 /* Macaw.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Macaw.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
57FCD2761D76EA4600CC0FB6 /* MacawTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MacawTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
57FCD27B1D76EA4600CC0FB6 /* MacawTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MacawTests.swift; sourceTree = "<group>"; };
|
||||
@ -641,6 +645,7 @@
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A718CD2C1F45BC5300966E06 /* Platform */,
|
||||
57F108791F53C92000DC365B /* MDisplayLink.swift */,
|
||||
572CEFC31E2CED4B008C7C83 /* Dependencies */,
|
||||
57E5E0E01E3B393900D1CB28 /* Source */,
|
||||
);
|
||||
@ -687,6 +692,7 @@
|
||||
A718CD431F45C28200966E06 /* Common_iOS.swift */,
|
||||
A718CD451F45C28700966E06 /* Graphics_iOS.swift */,
|
||||
A718CD461F45C28700966E06 /* MView_iOS.swift */,
|
||||
57F1087B1F53CA7E00DC365B /* MDisplayLink_iOS.swift */,
|
||||
);
|
||||
name = iOS;
|
||||
sourceTree = "<group>";
|
||||
@ -893,6 +899,7 @@
|
||||
57E5E1881E3B393900D1CB28 /* RadialGradient.swift in Sources */,
|
||||
57E5E1891E3B393900D1CB28 /* Stop.swift in Sources */,
|
||||
57E5E1A21E3B393900D1CB28 /* Text.swift in Sources */,
|
||||
57F1087C1F53CA7E00DC365B /* MDisplayLink_iOS.swift in Sources */,
|
||||
57E5E1A61E3B393900D1CB28 /* RenderContext.swift in Sources */,
|
||||
57E5E19C1E3B393900D1CB28 /* Size.swift in Sources */,
|
||||
57E5E1991E3B393900D1CB28 /* Polyline.swift in Sources */,
|
||||
@ -913,6 +920,7 @@
|
||||
57E5E17F1E3B393900D1CB28 /* DropShadow.swift in Sources */,
|
||||
A718CD441F45C28200966E06 /* Common_iOS.swift in Sources */,
|
||||
A718CD4D1F45C28F00966E06 /* Common_macOS.swift in Sources */,
|
||||
57F1087A1F53C92000DC365B /* MDisplayLink.swift in Sources */,
|
||||
57E5E1641E3B393900D1CB28 /* AnimationRestorer.swift in Sources */,
|
||||
57E5E1741E3B393900D1CB28 /* Event.swift in Sources */,
|
||||
57E5E1841E3B393900D1CB28 /* Gradient.swift in Sources */,
|
||||
|
@ -28,7 +28,7 @@ import Foundation
|
||||
return
|
||||
}
|
||||
|
||||
CVDisplayLinkSetOutputCallback(displayLink!, { (displayLink, inNow, inOutputTime, flagsIn, flagsOut, userData) -> CVReturn in
|
||||
CVDisplayLinkSetOutputCallback(displayLink!, { (_, _, _, _, _, userData) -> CVReturn in
|
||||
|
||||
let `self` = unsafeBitCast(userData, to: MDisplayLink.self)
|
||||
`self`.onUpdate?()
|
||||
|
Loading…
Reference in New Issue
Block a user