Sharing Code, Images and Core Data models across iPhone and Mac project
Posted
by
Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-06-11T19:52:12Z
Indexed on
2011/02/12
15:25 UTC
Read the original article
Hit count: 150
Hi,
I am maintaining a fairly large mac project and an iphone client for this project. Some code as well as some images and core data models are shared between these two projects.
I want to create a shared framework containing this shared components but to my surprise, frameworks like we cocoa developers known them are not supported on the iphone os.
Currently I see the following options:
a) Include the files in both projects (much tedious work) b) Create a static library for both projects and manually copying the images/core data models c) Create a static lib for iphone and a framework for mac
Any suggestions?
© Stack Overflow or respective owner