Create @property, @synthesize & dealloc from Variable Declaration [video]
Now a Gem!
One of the things we do a lot of in Objective-C is outlet and variable declaration, synthesize and dealloc. Since this is a repeatable recurring event I thought I would add a little automation to the process.
Click me to view code on Github
Edit Xode Document in TextMate User Script
Below are the Xcode settings.
Bash Functions for GIT and Dropbox
I had recently mentioned an article on using GIT with Dropbox.
Using Git with Dropbox is very cool but things don't work exactly like they do when using a normal Git hosting company like GitHub. One major difference is creating and tracking remote branches.
I frequently work on projects from my desktop computer and my laptop. Using Dropbox makes this very convenient so I came up with a few bash functions that make using Git with Dropbox a little easier.
The code is documented but if you have any questions or suggestions, please leave them in the comments.
Webpage Selection to Snippets App
Snippets has a URI-scheme of "snippet:add?code=" with several more options. This looked like what I needed so I started here. I created the JavaScript code below to use as a bookmark and then wrote a php page to handle the information gathered from the current page.
javascript:window.open("http://allancraig.net/Snippets/snippet.php?title="+encodeURIComponent(document.title)+"&code="+encodeURIComponent(window.getSelection())+"&link="+window.location, "createsnippet", "height=775,width=585,status=0,toolbar=0,menubar=0,location=0");
