How to reuse an Xcode project in a new project? Static Library, Framework, Objectives?

I built an iOS project (actually a workspace due to Pods) that is 100% functional, with its logic and UI (Storyboard and xibs). Now I would like to reuse this application / project as a “core” for future applications.

I searched about this, and there are several solutions like Static, Frameworks and Targets libraries. But I'm not sure which one would be the best in my case. I would also like to reuse all parts of the user interface.

I have seen that most people agree that the best approach for code reuse is with static libraries, even if it doesn't look so straightforward. But I think Targets is the best solution for reusing the user interface. The problem I see is that if a 10-based application is based on my main project, the new project will be huge, so this is probably not the best option.

I don’t know if you guys have any better idea or opinion.

Thanks in advance!

+4
source share
2 answers

There are a few things you can do, and I will try to get through them.

"" , ( ). , , , , . , , : , 5 , QA prod. 10 . , .

, ( ), /UI/UX. , 1, , , . , , .

-, ( ), , , ( , ).

, , , . , , , . , , , , , . , . . http://www.raywenderlich.com/65964/create-a-framework-for-ios. , , , , . , , .

, , 5 , , . , , , .

+3

All Articles