Skip to content

Commit

Permalink
Make selectedIndexPath as private set but public get
Browse files Browse the repository at this point in the history
  • Loading branch information
linksmt authored Sep 29, 2016
1 parent de61772 commit bfe88bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Former/Commons/Former.swift
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public final class Former: NSObject {
private weak var tableView: UITableView?
private weak var inlineRowFormer: RowFormer?
private weak var selectorRowFormer: RowFormer?
private var selectedIndexPath: NSIndexPath?
private(set) var selectedIndexPath: NSIndexPath?
private var oldBottomContentInset: CGFloat?

private func setupTableView() {
Expand Down Expand Up @@ -988,4 +988,4 @@ extension Former: UITableViewDelegate, UITableViewDataSource {
viewFormer.update()
return viewFormer.viewInstance
}
}
}

0 comments on commit bfe88bd

Please sign in to comment.