Skip to content

Commit

Permalink
Make FTD and FCD conform to UIScrollViewAccessibilityDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
alinebee committed Jun 19, 2018
1 parent 9a33039 commit 41aae2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,11 @@ extension FunctionalCollectionData: UICollectionViewDelegate {
public func scrollViewDidScrollToTop(_ scrollView: UIScrollView) {
scrollViewDidScrollToTop?(scrollView)
}

// MARK: - UIScrollViewAccessibilityDelegate

}

// MARK: - UIScrollViewAccessibilityDelegate

extension FunctionalCollectionData: UIScrollViewAccessibilityDelegate {
public func accessibilityScrollStatus(for scrollView: UIScrollView) -> String? {
return scrollViewAccessibilityScrollStatus?(scrollView)
}
Expand Down
8 changes: 5 additions & 3 deletions FunctionalTableData/TableView/FunctionalTableData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -784,9 +784,11 @@ extension FunctionalTableData: UITableViewDelegate {
public func scrollViewDidScrollToTop(_ scrollView: UIScrollView) {
scrollViewDidScrollToTop?(scrollView)
}

// MARK: - UIScrollViewAccessibilityDelegate

}

// MARK: - UIScrollViewAccessibilityDelegate

extension FunctionalTableData: UIScrollViewAccessibilityDelegate {
public func accessibilityScrollStatus(for scrollView: UIScrollView) -> String? {
return scrollViewAccessibilityScrollStatus?(scrollView)
}
Expand Down

0 comments on commit 41aae2a

Please sign in to comment.