Memention Blog

Frameworks within


I have been doing iPhone/iOS development for some time now. But with the new kid on then block, the Mac App Store, I have returned to doing some native Mac programming again. I got to update an old Mac app for the Mac App Store too, Mye. When I’m at it I also got into supporting a great opensource project started by Rasmus Andersson named kod. kod is an editor specifically for programmers.

This weekend I started to look into how to bundle frameworks. Working on kod made me think of making an own little program to collect and organize snippets, thoughts and numbers. And I got a little sidetracked when my thoughts drifted into frameworks.

How should bundled frameworks actually be built and used, or at least used easily?

I looked around Xcode to see if I could find any direct clues of it. No, not obvious enough for me. The documentation has a pretty high threshold to grasp, even if it’s usually are very thorough. But, I’m beginning to feel comfortable searching and reading it now. Think I figured it out.

Lets take the steps one by one.

You should now have a framework that can be bundled internally with an app.

So, how should it be used?

Lets take the steps one by one.

That should be it.

It’s also possible to make the app project dependent of the framework project and you can hook the pieces up to handle building of it at the same time as the app builds. But I leave that as an exercise for you.

If you would like to get two example projects to have a look see at grab a zip here link.

By Edward Patel, 27 Jan 2011




Show comments

Archive

Getting there13 Mar 2014
Throwing pebbles12 Jul 2013
Provision this!30 Aug 2012
Break what?18 Aug 2011
That old thing04 May 2011
Removing a Step15 May 2010
Make It Work22 Feb 2010
KISS server31 Jan 2010
tig on Mac12 Dec 2009
The XML Runner31 Oct 2009
Get some software from Memention
Powered by Jekyll and Disqus.
Copyright © 2010-2013 Memention AB