- iOS 8.0+
- Xcode 8.0+
$ curl https://raw.githubusercontent.com/NathanE73/Blackboard/master/bin/blackboard > blackboard
$ chmod +x blackboard
See which version of blackboard
currently have:
$ bin/blackboard --version
Blackboard Version 3.0.0
$ bin/blackboard ExampleApp/Resources/ ExampleApp/Source/Generated/
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = WelcomeViewController.instantiateViewControllerFromStoryboard()
window?.makeKeyAndVisible()
return true
}
let namesNavigationController = NamesViewController.instantiateNavigationControllerFromStoryboard { (namesViewController) in
namesViewController.names = ["Steve Dave", "John Doe"]
}
present(namesNavigationController, animated: true, completion: nil)
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
performShowNameSegue { (nameViewController) in
nameViewController.name = self.names[indexPath.row]
}
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
return dequeueNameCell(from: tableView, for: indexPath) { (nameCell) in
nameCell.name = self.names[indexPath.row]
}
}
let cell = dequeueAccountNameCell(from: collectionView) { (accountNameCell) in
accountNameCell.name = "Steve Dave"
}
- Nathan Walczak, knate@knate.com
- Jon Shier, jon@jonshier.com
Blackboard is available under the MIT license. See the LICENSE file for more info.