Skip to content

Commit

Permalink
Fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Dec 10, 2019
1 parent b7de9cc commit 049fa98
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
/Pods
/Podfile.lock
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -129,7 +129,7 @@ let allRows = scrollStack.rows
let isEmpty = scrollStack.isEmpty // true if it does not contains row
let notHiddenRows = scrollStack.rows.filter { !$0.isHidden }

// By Vibility
// By Visibility
let currentlyVisibleRows = scrollStack.visibleRows // only currently visible rows (partially or enterly)
let enterlyVisibleRows = scrollStack.enterlyVisibleRows // only enterly visible rows into the stack

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion ScrollStackControllerDemo/ViewController.swift
Expand Up @@ -83,7 +83,7 @@ class ViewController: UIViewController {
extension ViewController: TagsVCProtocol {

func toggleTags() {
let index = stackView.gitrowForController(tagsVC)!.index
let index = stackView.rowForController(tagsVC)!.index
tagsVC.isExpanded = !tagsVC.isExpanded
stackView.reloadRow(index: index, animated: true)
}
Expand Down

0 comments on commit 049fa98

Please sign in to comment.