On Tue, Jun 4, 2013 at 9:29 PM, Tae Won Ha wrote:
> Hi.
>
> About a month ago, I started to factor out a framework part from MacVim:
>
> https://github.com/qvacua/macvim
>
> I now can build a MacVim app which consists of two parts: a Vim framework
> (with vim+runtime and supporting classes like MMVimView) and an app which
> uses that framework. There are two new targets:
>
> - MacVimFramework: This is the framework.
> - MacVimWithFramework: This is a copy of the MacVim target which uses the
> above framework.
>
> The binary can be found here:
>
> https://www.dropbox.com/s/hpczl4fo2zxg4zh/MacVimWithFramework.app.zip
>
> It's compiled on 10.8 and I hope that it works on other machines, too. (It
> works on my machine, ;-)
>
> There are yet many rough edges though, for example:
>
> - You cannot call the framework a real framework yet: it's just a collection
> of classes that can be compiled in a separate framework target.
> - Sometimes I just blindly refactored, not really having carefully read the
> whole code or having thought about whether it's a sensible separation of
> code. Well, just get it done first and then refactor again, I'd say...
> - The framework uses PSMTabBarControl, ie it expects the client-app to
> include it.
> - Things can be in a broken state, eg all new windows have a fixed
> hard-coded size...
>
> However, I think/hope that it can serve as a base for a real
> MacVim-framework. I'll try to consolidate the code base further and start to
> think about how to make it a real and easy to use framework.
>
> Best,
> Tae
>
> PS. I'm sorry that I ignored the usual formatting of the code.
> PPS. I started to migrate the code to ARC; well, at least for two small
> files.

I don't have much to say other than have fun hacking away on this.
Unfortunately, getting things to compile as a framework is the easy
part -- how to deal with the fact that Vim is an application and not
just a view will require more thought (I have no good solution, and
I've spent some time thinking on this).

Björn

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to