From the course: Swift: Writing Reusable Frameworks

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Create your first build

Create your first build

- [Instructor] Let's go ahead and start creating our project files. First thing's first, go ahead and create a new folder on your desktop and call it CameraFramework. We'll be using this to keep track of all the files we create in our project. After this, load up Xcode and click on the Create a new Xcode project button. This dialog will come up, and if you've done iOS applications before, you'll probably be familiar with the Single View App choice underneath the Application section. Scroll down a bit further and click on Cocoa Touch Framework. One important thing to point out here is that we'll be working with a dynamically linked library instead of a static library. There are many advantages to using a static library, as opposed to a dynamic library, but we're going to be sticking with the dynamic library. The main difference you need to know is that in a static library, all the code you write is archived into an executable, but only the reference code that you work with is compiled.…

Contents