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.

16 changes: 16 additions & 0 deletions Package.resolved

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

42 changes: 42 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "PopupDialog",
platforms: [
.iOS(.v10)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "PopupDialog",
targets: ["PopupDialog"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
name: "DynamicBlurView",
url: "https://github.com/KyoheiG3/DynamicBlurView",
from: "5.0.0"),
.package(
name: "Nimble",
path: "Example/Nimble"),
.package(
name: "FBSnapshotTestCase",
path: "Example/iOSSnapshotTestCase")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "PopupDialog",
dependencies: ["DynamicBlurView"],
path: "PopupDialog/Classes"),
.testTarget(
name: "PopupDialogTests",
dependencies: ["PopupDialog", "Nimble", "FBSnapshotTestCase"],
path: "Tests")
]
)
1 change: 1 addition & 0 deletions PopupDialog/Classes/InteractiveTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
//

import Foundation
import UIKit

// Handles interactive transition triggered via pan gesture recognizer on dialog
final internal class InteractiveTransition: UIPercentDrivenInteractiveTransition {
Expand Down
1 change: 1 addition & 0 deletions PopupDialog/Classes/PopupDialogOverlayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
//

import Foundation
import UIKit
import DynamicBlurView

/// The (blurred) overlay view below the popup dialog
Expand Down