Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: swift
osx_image: xcode10.2
osx_image: xcode12
xcode_project: TweenKit.xcodeproj
xcode_scheme: TweenKit
xcode_sdk: iphonesimulator10.1
xcode_sdk: iphonesimulator14.0

script: xcodebuild test -project TweenKit/TweenKit.xcodeproj -scheme TweenKit -sdk iphonesimulator -destination "name=iPhone SE"
script: xcodebuild test -project TweenKit/TweenKit.xcodeproj -scheme TweenKit -sdk iphonesimulator -destination "name=iPhone SE (2nd generation)"
15 changes: 15 additions & 0 deletions Example-iOS/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@
remoteGlobalIDString = 67BA923121E373D2006D7022;
remoteInfo = "TweenKit-tvOS";
};
673F10A32522752000A8597D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 6750B92B1E7C85AD00E7AEE2 /* TweenKit.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 678408B12502CAD800FEA79B;
remoteInfo = "TweenKit-macOS";
};
6750B9301E7C85AD00E7AEE2 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 6750B92B1E7C85AD00E7AEE2 /* TweenKit.xcodeproj */;
Expand Down Expand Up @@ -259,6 +266,7 @@
children = (
6750B9311E7C85AD00E7AEE2 /* TweenKit.framework */,
22F7A12B2297F93700BF126E /* TweenKit.framework */,
673F10A42522752000A8597D /* TweenKit.framework */,
6750B9331E7C85AD00E7AEE2 /* TweenKitTests.xctest */,
);
name = Products;
Expand Down Expand Up @@ -336,6 +344,13 @@
remoteRef = 22F7A12A2297F93700BF126E /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
673F10A42522752000A8597D /* TweenKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = TweenKit.framework;
remoteRef = 673F10A32522752000A8597D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
6750B9311E7C85AD00E7AEE2 /* TweenKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension CALayer {

class ActivityIndicatorExampleViewController: UIViewController {

private let scheduler = ActionScheduler()
private let scheduler = ActionScheduler(automaticallyAdvanceTime: true)

private var circleLayers = [CALayer]()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,92 +2,97 @@
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "1x"
"scale" : "1x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"size" : "20x20",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "1x"
"scale" : "1x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"size" : "29x29",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "1x"
"scale" : "1x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"size" : "40x40",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "1x"
"scale" : "1x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
"scale" : "2x",
"size" : "76x76"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
2 changes: 1 addition & 1 deletion Example-iOS/Example/BasicTweenViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import TweenKit
class BasicTweenViewController: UIViewController {

// Create a scheuler - used to run actions
private let scheduler = ActionScheduler()
private let scheduler = ActionScheduler(automaticallyAdvanceTime: true)

// The view we will be animating
private let squareView: UIView = {
Expand Down
2 changes: 1 addition & 1 deletion Example-iOS/Example/BezierCurveExampleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BezierCurveExampleViewController: UIViewController {

// MARK: - Properties

fileprivate let scheduler = ActionScheduler()
fileprivate let scheduler = ActionScheduler(automaticallyAdvanceTime: true)
fileprivate var isAnimating = false
fileprivate let model: BezierDemoModel!

Expand Down
2 changes: 1 addition & 1 deletion Example-iOS/Example/EasingExamplesViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class EasingExamplesViewController: UIViewController {
}
}()

fileprivate let scheduler = ActionScheduler()
fileprivate let scheduler = ActionScheduler(automaticallyAdvanceTime: true)
fileprivate var hasStartedAnimation = false

// MARK: - UIViewController
Expand Down
2 changes: 1 addition & 1 deletion Example-iOS/Example/StringTweenViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ extension String: Tweenable {

class StringTweenViewController: UIViewController {

private let scheduler = ActionScheduler()
private let scheduler = ActionScheduler(automaticallyAdvanceTime: true)

private let label: UILabel = {
let label = UILabel(frame: .zero)
Expand Down
2 changes: 1 addition & 1 deletion Example-iOS/Example/SunAndMoonExampleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SunAndMoonExampleViewController: UIViewController {
// MARK: - Properties

private let scrubbable: Bool
private let scheduler = ActionScheduler()
private let scheduler = ActionScheduler(automaticallyAdvanceTime: true)
private var actionScrubber: ActionScrubber?

// MARK: - Views / Layers
Expand Down
Loading