iOS Neural Network Framework
Nov 4, 2017
Nov 4, 2017
Sep 10, 2017
From your view controller:
override var canBecomeFirstResponder: Bool { return true } override var inputAccessoryView: UIView? { return self.mainView.inputBarView } Call self.becomeFirstResponder() in viewWillAppear()
https://stackoverflow.com/questions/19764293/inputaccessoryview-docked-at-bottom
Sep 10, 2017
To add a custom table view cell insertion animation (ex. a springy animation + alpha 0 to 1):
Store the index paths that need the custom insertion animation. Insert the index paths into your data model. Insert the index paths into the table view with no animation. Create a custom animation …
Jul 21, 2017
Jul 19, 2017
Jul 17, 2017
There are lots of great ways to navigate and learn a new iOS codebase. Here’s a good one to remember. Set a breakpoint for:
-[UIViewController initWithNibName:bundle:]
with an action to print:
po $arg1
Jul 17, 2017
Jul 9, 2017
Jun 29, 2017
Jun 29, 2017
Note that wait(for:timeout:) will wait for a set of expectations, while waitForExpectations() is a syncing point because it will wait for all existing expectations before continuing or failing.