I have a project which I need to import into other project as a framework just like how we import Coredata framework, Quartzcore etc..How to achieve that ? How to compile my project into a library or framework which can be imported into other projects ? Please explain the steps.
Thanks in advance.
Open XCode and start a new project. Under iOS, select Library and “Cocoa Touch Static Library” say it as "staticlibrary". This will create a nice new project for us that builds a . a file.
Framework: It is a package that can contain resources such as dynamic libraries, strings, headers, images, storyboards, etc. Static library: A unit of code linked at compile-time, which does not change. (Can only contain code).
https://github.com/jverkoey/iOS-Framework try this link for creation of framework and bundle of resources.wrap up the images, xibs and other resources you have used in your project into a bunble and copy your classes to your Cocoa Touch Static Library project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With