Skip to content

Commit

Permalink
Merge pull request #26 from tzkmn/change/access_control_of_init_method
Browse files Browse the repository at this point in the history
add public access control to init method of Row class.
  • Loading branch information
xai3 committed Mar 2, 2016
2 parents ddedaab + 97429e1 commit b98c25e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Row.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public class Row<T: UITableViewCell>: RowType {
public typealias RowInformation = (row: Row<T>, tableView: UITableView, indexPath: NSIndexPath)
public typealias RowMoveInformation = (row: Row<T>, tableView: UITableView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath)

init() { }
public init() { }

init(@noescape closure: (Row<T> -> Void)) {
public init(@noescape closure: (Row<T> -> Void)) {
closure(self)
}

Expand Down

0 comments on commit b98c25e

Please sign in to comment.