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
2 changes: 2 additions & 0 deletions ATGMediaBrowser/MediaBrowser/ContentTransformers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import UIKit

/**
Content transformer used for transition between media item views.

Expand Down
2 changes: 2 additions & 0 deletions ATGMediaBrowser/MediaBrowser/DismissAnimationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import UIKit

internal class DismissAnimationController: NSObject {

private enum Constants {
Expand Down
2 changes: 2 additions & 0 deletions ATGMediaBrowser/MediaBrowser/MediaBrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import UIKit

// MARK: - MediaBrowserViewControllerDataSource protocol
/// Protocol to supply media browser contents.
public protocol MediaBrowserViewControllerDataSource: class {
Expand Down
2 changes: 2 additions & 0 deletions ATGMediaBrowser/MediaBrowser/MediaContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import UIKit

/// Holds the value of minimumZoomScale and maximumZoomScale of the image.
public struct ZoomScale {

Expand Down
23 changes: 23 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "ATGMediaBrowser",
products: [
.library(
name: "ATGMediaBrowser",
targets: ["ATGMediaBrowser"]
)
],
targets: [
.target(
name: "ATGMediaBrowser",
path: "ATGMediaBrowser",
exclude: ["Info.plist"]
)
],
swiftLanguageVersions: [
.v4_2
]
)