☃️ A TableBoard that row can be moved everywhere just like Trello (for iPhone and iPad) Teambition is using the STTableBoard.
- Init a STTableBoard with
let table = STTableBoard(localizedStrings: yourLocalizedString)
- RegisterClasses use
registerClasses(_ classAndIdentifier: [(AnyClass,String)])
- Set the delegate and dataSource to the UIViewController
- Add it to SuperViewController
self.addChildViewController(tableBoard)
view.addSubview(tableBoard.view)
tableBoard.didMove(toParentViewController: self)
- (Download the demo and excute
carthage update
to run it
The TableBoard has two delagate:
STTableBoardDelegate
andSTTableBoardDataSource
, it's just like the delegate of UITableView
You can do your localization for the tableboard. Example:
var localizedString: [String: String] = [
"STTableBoard.AddRow": LocalizedString("AddRow"),
"STTableBoard.AddBoard": LocalizedString("AddBoard"),
"STTableBoard.BoardMenuTextViewController.Title": LocalizedString("BoardMenuTextViewController.Title"),
"STTableBoard.EditBoardNameCell.Title": LocalizedString("EditBoardNameCell.Title"),
"STTableBoard.DeleteBoardCell.Title": LocalizedString("DeleteBoardCell.Title"),
"STTableBoard.DeleteBoard.Alert.Message": LocalizedString("DeleteBoard.Alert.Message"),
"STTableBoard.Delete": LocalizedString("Delete"),
"STTableBoard.Cancel": LocalizedString("Cancel"),
"STTableBoard.OK": LocalizedString("OK"),
"STTableBoard.Create": LocalizedString("Create"),
"STTableBoard.RefreshFooter.text": LocalizedString("RefreshFooter.text")
]
iOS 8.0
STTableBoard is released under the CC license. See Creative Commons for details.
Have a question? Please open an issue!