Skip to content

Commit

Permalink
minor delegate access control fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed committed Nov 19, 2020
1 parent d1d9790 commit 6ad9908
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InstaProgressView/InstaProgressView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class InstaProgressView: UIStackView {
private var animator = UIViewPropertyAnimator()
private var duration: TimeInterval!

weak var delegate: InstaProgressViewDelegate?
public weak var delegate: InstaProgressViewDelegate?

private var isValid: Bool {
currentAnimationIndex < arrangedSubviews.count
Expand Down
2 changes: 1 addition & 1 deletion InstaProgressView/InstaProgressViewDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

protocol InstaProgressViewDelegate: class {
public protocol InstaProgressViewDelegate: class {
func instaProgressViewChangedIndex(index: Int)
func instaProgressViewFinished()
}

0 comments on commit 6ad9908

Please sign in to comment.