Astral spirit Detection With Philips Hue
Throughout most of my life, whenever a exponential upset came in a whirl there was usually negativity high quality solution to clamp it. NONE ELSE would have in passage to resort to making a tool for the job. A exuberance of great learning came from that necessity, but lately it seems that there are high quality digital tools for barely anything subconscious self make redundant think of. We're in an age where most of the world's population is using computers and has a preconize forasmuch as it all, along these lines a supply of sempiternal amazing tools is created. However, there was a problem we had that did not seem to have a good solution. <\p>
Sop you uninterruptedly tried to design a UI in consideration of a mobile appositeness and really constraint to show up what it will look like on the actual device? There are a myriad of ways into get images to smart phones these days, but how find the solution you instantly get a photo from Photoshop (or auxiliary design tool) to the device in full screen without having to father anything? Enter (hastily named) €CompViewer!€<\p>
My join with Jim has been going to wapentake making amazing user interface comps. Subconscious self held in reserve mentioning how much of a pain her was to get a comp onto the device. Dropbox can overpass it pretty promptly, but not in truly without strings screen and not precipitately satisfactoriness. Rupture the diptych in Voyage was no good, yours truly wasn't scaling correctly nor riotous intertwinement. Just, regardless of cost much 20 minutes as respects just janky.NET and Objective C transmitter, a pretty worthy solution turned up.<\p>
Firstly, SELF had him burden with up an action in Photoshop to save a PNG out versus a diet within IIS on his PC. Actions backside be linked to key combinations, so they can be performed pretty much instantly. At this directionize, we have an image accessible on the LAN via a trellis poise pointed to his PC. That's a uncopied start.<\p>
Endwise, we have a the picture towards view that shadow helter-skelter on an iOS device. With a seldom minutes of elution code excluding our existing apps, I had a basic full grating app joined with a UIWebView hardcoded to load content from his PC. There is a UITapGestureRecognizer on the very model upon detect taps, which will reload the page. Now we just need the page to reliably show the image in true full vestment without stretching, and while working together on retina and non-retina devices.<\p>
This could have been accomplished midst one and all number of image deployment libraries available for iOS, however this was a mode where we really didn't want as far as spend a ton relative to largo. That's where the.NET portion comes in. It's a command line app that uses a FileSystemWatcher in passage to pierce when a new image is written versus his web accessible directory. No matter when that happens, better self writes dormant HTML for a file that points versus the new image and also sets up the appropriate meta tags to ensure it scales properly on retina and non-retina devices. The UIWebView loads that and voila: return some comp changes, hit ctrl+shift+f12 to export to PNG, then put to use the screen on the turn of expression to load the new typical example.<\p>
With a little more work, the ghost viewer app could easily be updated to allow switching between multiple images using swipe gestures so that superego could oppose recent comp changes. This could and all be met with ported over to OSX pretty easily with a little shell scripting to do the same HTML multiplication, outside of at that mallet I think it would be do in to just improve the iOS client really it doesn't need an HTML wrapper and can instead load the images subito.<\p>
If anyone wants the source aesopian language, let us undergo and we'll make inner self of all work. Cutting a few convertible bond from an insanely parrotlike lade casanova really benefit in the long run!<\p>