Posted by Josh Wright | Posted in Code, News, Projects | Posted on December 3, 2011
Dec 3

Overview: Yesterday I created a proof of concept site that converts text to a flow chart. See it at http://flomojo.com Going Postal Yesterday I went at the post office because I needed one stamp. 20 minutes later I walked out with $10 worth of stamps. Their machine was out. Over a dozen people were in [...]
Posted by Josh Wright | Posted in Code | Posted on October 26, 2011
Oct 26

Migrating a project from V2 to V3 LLBLGen project was a huge pain. Since I work in 30+ projects that use V2, I decided to write out all the not-so-obvious steps required. The Real Guide Half the battle is just finding these links below, so consider yourself a leprechaun. They are a good reference if [...]
Posted by Josh Wright | Posted in Code | Posted on October 3, 2011
Oct 3

Quick post just to jot down some numbers… My latest project has me doing A LOT of string manipulation which is a huge pain in objective-c. To top it off, I’d really like this part of my code to be dynamic so the logic could be updated without a full-on new version through the 5-7 [...]
Posted by Josh Wright | Posted in Code | Posted on September 13, 2011
Sep 13

Migrating the core data schema on an iOS app is like a monster in a cave. When I walk by, the monster growls and I back off. Well not today. Today I learned to do a simple migration in an existing core data app and I confirmed what so many others had said. It’s strangely [...]
Posted by Josh Wright | Posted in Code | Posted on September 8, 2011
Sep 8

I’ve been really digging into using JavaScript with Photoshop in the last few months. Today I made a wonderful, mysterious discovery. Discovering the Photoshop Scripting UI Until now, the only user interaction I’ve been able to add to my scripts is popping up a JavaScript alert, confirm, or prompt or showing a ‘select a file’ [...]
Posted by Josh Wright | Posted in Code | Posted on September 5, 2011
Sep 5

My latest posted discussed showing a UI that had textareas, buttons, and more so users could interact with your Photoshop script. But now I discovered another fun trick – reading and writing text files from JavaScript Photoshop scripts. Reading is Fun Not much to it – you read line by line: 1234567var b = new [...]
Posted by Josh Wright | Posted in Code, Projects | Posted on June 27, 2011
Jun 27

Spoiler alert: I just released a new Objective-c/Cocoa to Twitter open-source library called CocoaBird. Here’s the story… I’ve got a new project and one of the requirements is strong integration with social media such as Twitter. After bouncing around a few objective-c to twitter APIs, I just wasn’t satisfied. Some of the older ones never [...]
Posted by Josh Wright | Posted in Code | Posted on May 25, 2011
May 25

Every time I make an iOS app, I shy away from Core Data and end up storing data in a plist or sqlite. It’s a senseless fear, but here’s why I avoid it. CoreData barfs all over your AppDelegate It’s somewhat difficult to add CoreData to an existing app The code for data access is [...]
Posted by Josh Wright | Posted in Code | Posted on March 25, 2011
Mar 25

Two days ago, Maria hits me with the old “Your website doesn’t work on my computer” shtick. If you’re a web developer, you know the drill: What page was she on? What was the problem? What browser/OS were they using? Duplicate the problem on my computer Ends up being an IE 7 issue with css [...]
Posted by Josh Wright | Posted in Code | Posted on March 22, 2011
Mar 22

I’ve been working to automate Photoshop quite a bit lately. In September I wrote Automate Photoshop with JavaScript which uses ExtendScript Toolkit (packed with Photoshop CS5). Then in January I wrote Automating Photoshop With C# which uses a COM reference to control Photoshop from another program. The documentation for scripting with CS4/CS5 is pretty decent, [...]