Skip to content

Commit

Permalink
Fixed binding issue on singleSection
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyclaysmith committed Feb 12, 2015
1 parent 2ea9766 commit a913aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AwfulBindingUI/BindableTableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public class BindableTableView : UITableView, UITableViewDataSource, UITableView
if(value != nil){
let defaultSection = BindableTableSection(data: value)

self._sections = BindableArray<BindableTableSection>(initialArray: [defaultSection])
//HACK: to add bindings
self.sections = BindableArray<BindableTableSection>(initialArray: [defaultSection])
}
else{
_sections = nil
Expand Down

0 comments on commit a913aa5

Please sign in to comment.