Xcode: Convert project to workspace

preview_player
Показать описание
In this video, I'm talking about the difference between a project and a workspace in Xcode. When you should use each, and what are the benefits.

A project is a collection of files and settings that are necessary to build an application. It contains all the source files, resource files, and configuration files required to build the app.

A workspace, on the other hand, is a collection of projects. By using a workspace, you can easily divide your app into smaller modules/frameworks. This will improve your workflow.

00:00 Intro
00:21 What is a project?
00:29 What is a workspace?
00:58 Sample project
02:14 Let's create a new workspace
03:42 Let's add a framework to the workspace
05:50 Remember to use xcworkspace file
06:24 Is workspace really necessary?
07:43 Outro

#iOS #Swift #programming #xcode

Music: Streambeats
Рекомендации по теме
Комментарии
Автор

Thank you very much. It's been really helpful!

abraham.cuautle.cruz.
Автор

I've spent so many of my brain cells trying to link projects together. Turns out having them open in another XCode window breaks it! Thanks for the tip.

What a joke..

yapet
Автор

Great video👏 thank you. Small question about Git. Is it better to create one repo for whole workplace or keep it separated for each module?

barche