News for hackers. Stuff that matters.
Re:Alcatraz: Xcode Package Manager by kennywinker on Tuesday April 23, 2013 @07:17PM (#5598607)
Interesting. At first I thought this was a rival to CocoaPods, but it's actually for installing Xcode file/project templates. See the packages.json file for examples of what it managed https://github.com/mneorr/alcatraz-packages/blob/master/pack...
Re:Alcatraz: Xcode Package Manager by orta on Wednesday April 24, 2013 @04:18AM (#5600405)
Marin, the creator, is a member of the Cocoapods team, we've been testing it internally. Big fan.
Re:Alcatraz: Xcode Package Manager by tvon on Tuesday April 23, 2013 @08:16PM (#5598817)
It seems to be for plug-ins, color schemes and project templates.
Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @08:20PM (#5598843)
It also has File templates. Most likely, it will support snippets soon.
Re:Alcatraz: Xcode Package Manager by Camillo on Tuesday April 23, 2013 @09:15PM (#5599056)
Looks very nice. But how stable is the Xcode plugin API these days?

BTW, what's the connection between the name "Alcatraz" and the idea of a package manager for Xcode plugins? Try as I might, I can't see one. I don't know why all open source projects need an arbitrary name these days - I would have simply called it "Xcode Package Manager". I don't mean this as criticism: I am just baffled by this phenomenon, and just a little bit concerned that we're going to run out of memorable names if every single niche project needs one.

Re:Alcatraz: Xcode Package Manager by Samuel_Michon on Tuesday April 23, 2013 @09:39PM (#5599146)
Alcatraz was a high-security prison associated with some high profile escape attempts, though no successful escapes have been confirmed. I suspect the creators of this package manager were trying to link the tech terms ‘walled garden’ and ‘jailbreak’ to real life penitentiaries. If so, I think ‘Shawshank’ would have been a better name, because it’s a fictitious prison and the story has a happy ending.
Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @10:53PM (#5599416)
Shawshank sounds like an awesome name; Alcatraz was just the first one that came to my mind.
Re:Alcatraz: Xcode Package Manager by signalsignal on Tuesday April 23, 2013 @09:55PM (#5599201)
Alcatraz was a prison known for tight security, so I am guessing that based on their motto "…your plugins are mine…" the project is just trying to tie all the external projects into one secured location. But I am just guessing.

Others may have more cynical views, though.

Here is the project list: https://github.com/mneorr/alcatraz-packages/blob/master/pack...

Re:Alcatraz: Xcode Package Manager by terhechte on Wednesday April 24, 2013 @02:40AM (#5600207)
There is no API, it's all reverse-engineered (AFAIK). I've been using the XVim plugin full time for the past year, and it's been very, very stable lately. It still crashes from time to time, but that can just as well also be XCode.
Re:Alcatraz: Xcode Package Manager by tomlu on Wednesday April 24, 2013 @02:59AM (#5600248)
This man is correct - there is no plugin API and everything is reverse-engineered.

XVim is built on an internal layer that doesn't know about Xcode, then all operations are funnelled through an interface that does know about Xcode specific things. This makes it a little easier to upgrade should they decide to refactor Xcode's internal implementation. Still, Xcode's internals haven't really changed that much since 4.2+.

Source: XVim contributor, especially to its architecture

Re:Alcatraz: Xcode Package Manager by maqr on Wednesday April 24, 2013 @04:56AM (#5600506)
I just tried XVim for the first time because of this post. This unbelievably well integrated into XCode, and the source code is very clean, especially for obj-c.
Re:Alcatraz: Xcode Package Manager by terhechte on Wednesday April 24, 2013 @12:07PM (#5602243)
Yeah, and the guy has been working for a long time on a huge refactor that will bring column selection, global marks, better window management, and a couple of other things. Not to mention that it may be easier to extend it. This is currently the second best vim implementation after evil-emacs, imho.
Re:Alcatraz: Xcode Package Manager by terhechte on Wednesday April 24, 2013 @03:36AM (#5600319)
I've used AppCode for a couple of months last year and tried again with 2.0 this year, but I really didn't like IdeaVim, and I didn't look like easy to extend.
Re:Alcatraz: Xcode Package Manager by terhechte on Wednesday April 24, 2013 @03:06AM (#5600261)
Thanks for the reply. I really like XVim and I'm really looking forward to the current refactor branch.
Re:Alcatraz: Xcode Package Manager by tomlu on Wednesday April 24, 2013 @03:29AM (#5600298)
Unfortunately I'm not involved anymore, it was hard to keep up motivation since I started using the excellent AppCode. Although I do think XVim is a lot better than IDEAVim.
Re:Alcatraz: Xcode Package Manager by danpalmer on Tuesday April 23, 2013 @07:30PM (#5598656)
This is worth installing just to get the plugin that disables animations when you open/close the file browser and inspector panes.

But seriously, I hadn't really known about Xcode plugins, despite using it a lot of the time. I'd used a few but they were annoying to find and install. This is perfect and with an "Xcode Plugin" template available in it, I look forward to many more plugins emerging soon!

Re:Alcatraz: Xcode Package Manager by lloeki on Wednesday April 24, 2013 @03:33AM (#5600310)
Doesn't that work? (honest question, I don't use XCode that much):

    defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Re:Alcatraz: Xcode Package Manager by danpalmer on Wednesday April 24, 2013 @08:27AM (#5601063)
This would affect animations system-wide. I prefer animations in general, but for my IDE I want it to be fast.
Re:Alcatraz: Xcode Package Manager by scrumper on Tuesday April 23, 2013 @10:14PM (#5599268)
I like this. Having a useful central repository of 3rd party project templates is a good thing, especially as Apple seem to keep cutting back on them. (Until I saw this it hadn't even occurred to me that people might contribute their own; I must be a bit too comfortable in the walled garden).

In the spirit of sharing I've added my own, long-standing color theme.

Re:Alcatraz: Xcode Package Manager by bound008 on Tuesday April 23, 2013 @07:32PM (#5598664)
first do this:

mkdir -p '/Users/{{username}}/Library/Application Support/Developer/Shared/Xcode/Plug-ins'

Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @07:43PM (#5598695)
Thanks for the report, adding this in the Alcatraz. He should do it instead of you ;)
Re:Alcatraz: Xcode Package Manager by badhairday on Tuesday April 23, 2013 @07:54PM (#5598729)
I want to use this, but I cannot get it to install. Even after creating this directory.
Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @07:54PM (#5598728)
Just fixed that issue.
Re:Alcatraz: Xcode Package Manager by willfarrell on Wednesday April 24, 2013 @04:39AM (#5600463)
Alcatraz is now integrated with Alfred Project Managers Workflow. https://github.com/willfarrell/alfred-workflows
Re:Alcatraz: Xcode Package Manager by nikolakirev on Wednesday April 24, 2013 @06:02AM (#5600662)
Looks great! There is an issue with installing/running it on OS X Lion, but I am sure it will get fixed soon.
Re:Alcatraz: Xcode Package Manager by fyolnish on Tuesday April 23, 2013 @09:54PM (#5599196)
I get "x failed to install :( .xcodeproj not found" every time I try to install something.
Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @11:44PM (#5599644)
You need to install Command line tools from the Preferences pane. After that you should be good to go.

We'll add that notice probably tomorrow.

Re:Alcatraz: Xcode Package Manager by fyolnish on Wednesday April 24, 2013 @09:12AM (#5601238)
I have them installed
Re:Alcatraz: Xcode Package Manager by sebbean on Tuesday April 23, 2013 @07:17PM (#5598608)
needs a mkdir in that install script for people without the plugins folder
Re:Alcatraz: Xcode Package Manager by mneorr on Tuesday April 23, 2013 @08:19PM (#5598841)
updated install script
Re:Alcatraz: Xcode Package Manager by bjz_ on Wednesday April 24, 2013 @05:05AM (#5600521)
I'm getting 'curl: (6) Couldn't resolve host 's3.amazonaws.com''
Re:Alcatraz: Xcode Package Manager by lucian1900 on Wednesday April 24, 2013 @07:48AM (#5600935)
Something is likely wrong with your DNS.
Re:Alcatraz: Xcode Package Manager by chrismealy on Tuesday April 23, 2013 @11:50PM (#5599665)
I get "color scheme installation fail" for everything.
Re:Alcatraz: Xcode Package Manager by mneorr on Wednesday April 24, 2013 @03:48AM (#5600350)
If you mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes/ , does it work then?
Re:Alcatraz: Xcode Package Manager by benatkin on Tuesday April 23, 2013 @07:56PM (#5598737)
Fitting name.