Wednesday, 15 August 2012

ios - Xcode two projects - one for business logic, another for UI? -



ios - Xcode two projects - one for business logic, another for UI? -

is suggesting in tittle possible?

the main goal separate business logic (to reused in other lightly rebranded apps) , custom ui particular client.

that means, have same core, on top of little view controllers driving customised uis.

i understand can have workspace containing 2 projects...but should peers? or should 1 project consume/include other one? there no need app delegate ui code. in business logic project. how should organise projects construction latter able utilize first business logic?

you can utilize different targets: https://developer.apple.com/library/ios/featuredarticles/xcodeconcepts/concept-targets.html

in same project can separate different implementations (assets, xbis...) using targets. can specify different pre-processor flags each target , utilize #ifdef

ios xcode workspace

No comments:

Post a Comment