Merge branch 'feature/data-model' into develop
Notes on tagging and updated today list,
Fixes some model problems encountered while saving multiple copies of the same URL.
Redoes the window.nib to be simpler (no nssplitview or toolbar) and wires it up to a simple window controller tries to download and store whatever's typed into the omnibar when editing ends.
Breaks things up so there's less direct access to the omnibar text, and validation (through a nifty use of if let) that the contents are a url before trying to use them as such.
Separates out the omnibar contents into tokens and then URLs and tags.
Splits off the Omnibar code into its own view controller.
Strips unnecessary item add test code from the app del.
Adds a new method to the resource loader service protocol to synchronously get image data from a content id, and refactors the resource loader implementation to handle it.
Adds an nsvaluetransformer to convert from an item's content id to an nsimage.
Adds a computed property to the window controller returning the main thread's managed object context.
Gods help me, I'm using bindings. The item list table view is now hooked up to an array controller bound to the Item entity and the image view is bound to the array controller's selected object's contentID, pushed through the content id -> nsimage value transformer.
Sets the animatable property on the image view so the gifs are in motion, and changes the border type to bezel so that the image isn't faded out.
Fixes the faded out image thing without having to use an image frame -- the issue was having "conditionally sets enabled" checked in the value binding.
IB tomfoolery to improve the ui and auto layout (slightly)
Moves the main window to its own .xib instead of overstuffing the main menu.xib. This also seems to fix a lot of issues I was having with load order (things in the app delegate not being instantiated yet at the time the window controller).
Layout and style tweaks to the new window.
Moves the omnibar to the toolbar.
Converts the tableview from displaying the contentID hash to displaying the first image frame of each item.
Merge branch 'feature/image-io-ui' into develop