Skip to content

Commit 6f4bf0c

Browse files
committed
Removed some commented-out code
1 parent 56f50e3 commit 6f4bf0c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

reswift-jobs/reswift-jobs/UI/JobViewController.swift

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ extension JobViewController: DisplaysJob {
144144

145145
// MARK: Cell creation & event handling
146146

147-
extension JobViewController: NSTableViewDelegate {
147+
extension JobViewController: NSTableViewDelegate {
148148

149-
func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? {
149+
func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? {
150150
return dataSource.employeeCellView(tableView, viewFor: tableColumn, row: row)
151151
}
152152

@@ -161,14 +161,7 @@ extension JobViewController: DisplaysJob {
161161

162162
store?.dispatch(action)
163163
}
164-
/*
165-
// Due to a bug with NSTableView, this method has to be implemented to get
166-
// the draggingDestinationFeedbackStyle.gap animation to look right.
167-
func tableView(_ tableView: NSTableView, heightOfRow row: Int) -> CGFloat {
168-
return 30
169-
}
170-
*/
171-
}
164+
}
172165

173166
// TODO: support employee name and skills edits
174167

0 commit comments

Comments
 (0)