xcode4 - Simplest way to separate reusable code in XCode 4 for iOS? (library, project, etc) -


i'd separate reusable code in xcode 4 separate project/library/something else. reusable code in case game engine, , main project game itself. idea make game engine code easy use in future projects.

xcode 4 lets me create blank project or static library ios. 1 preferred (or else work better?) under kiss principle? want separate 2 logical set of files 2 projects (it's ok if 1 child of another), , able compile them @ same time. don't have need obfuscation , i've heard static library 1 has worry architecture built for, sounds overkill.

i feel blank project might better way go static library, don't have practical experience this. preferences , why?

i ended going static library since seems preferred way of doing in xcode 4. when works, works great, took me while set - these 2 links invaluable:

http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/

and

compile, build or archive problems xcode 4 (and dependencies)


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -