nghialv / Hakuba

:cherry_blossom: Cellmodel-driven tableview manager
MIT License
474 stars 40 forks source link

Change the interface of MYTableViewCell.init #13

Closed tasanobu-zz closed 8 years ago

tasanobu-zz commented 8 years ago

Using generics arguments as before the change(public init<T: MYTableViewCell>(cell: T.Type, height: CGFloat = 44, selectionHandler: MYSelectionHandler? = nil)), it causes build errors when subclassing MYTableViewCell.

nghialv commented 8 years ago

@tasanobu Looks great! Thanks for the PR.