Giter VIP home page Giter VIP logo

sttableboard's Introduction

STTableBoard

☃️ A TableBoard that row can be moved everywhere just like Trello (for iPhone and iPad) Teambition is using the STTableBoard.

GIF

image

Usage

  1. Init a STTableBoard with let table = STTableBoard(localizedStrings: yourLocalizedString)
  2. RegisterClasses use registerClasses(_ classAndIdentifier: [(AnyClass,String)])
  3. Set the delegate and dataSource to the UIViewController
  4. Add it to SuperViewController
self.addChildViewController(tableBoard)
view.addSubview(tableBoard.view)
tableBoard.didMove(toParentViewController: self)
  1. (Download the demo and excute carthage update to run it

The TableBoard has two delagate: STTableBoardDelegate and STTableBoardDataSource, it's just like the delegate of UITableView

Localization

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")
    ]

Minimum Requirement

iOS 8.0

License

STTableBoard is released under the CC license. See Creative Commons for details.

More Info

Have a question? Please open an issue!

sttableboard's People

Contributors

stormxx avatar horexc avatar hongxinhope avatar zetasq avatar

Stargazers

zyvv avatar iMusic avatar John.Chang avatar  avatar Yuheng avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.