Skip to content

Commit

Permalink
CACollectionViewFlowLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPodymov committed Oct 17, 2023
1 parent de01dc4 commit 09b38a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Sources/CommonAppleKit/CommonAppleKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
public typealias CACollectionViewDelegate = UICollectionViewDelegate
public typealias CACollectionViewDelegateFlowLayout = UICollectionViewDelegateFlowLayout
public typealias CACollectionViewLayout = UICollectionViewLayout
public typealias CACollectionViewFlowLayout = UICollectionViewFlowLayout

public extension CATextField {
var stringValue: String {
Expand Down Expand Up @@ -62,6 +63,7 @@
public typealias CACollectionViewDelegate = NSCollectionViewDelegate
public typealias CACollectionViewDelegateFlowLayout = NSCollectionViewDelegateFlowLayout
public typealias CACollectionViewLayout = NSCollectionViewLayout
public typealias CACollectionViewFlowLayout = NSCollectionViewFlowLayout

public extension CAImage {
@available(macOS 11.0, *)
Expand Down
2 changes: 1 addition & 1 deletion Tests/CommonAppleKitTests/CommonAppleKitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ final class CommonAppleKitTests: XCTestCase {
}

func testCollectionView() {
let layout = CACollectionViewLayout()
let layout = CACollectionViewFlowLayout()
let collectionView = CACollectionView(frame: .zero, collectionViewLayout: layout)
collectionView.register(CACollectionViewCell.self, forCellWithReuseIdentifier: "id")
collectionView.dataSource = self
Expand Down

0 comments on commit 09b38a8

Please sign in to comment.