Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7868303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:57:29+00:00 2026-06-03T00:57:29+00:00

When doing iOS programming, it is interesting that in Xcode (4.3.2), we can create

  • 0

When doing iOS programming, it is interesting that in Xcode (4.3.2), we can create groups, such as a group call Images, and add files to it (either as a link or choose “Copy items into group’s folder”). So it looks like a real folder in the navigator, and it even mentions “copy into … group’s folder“, but in fact there is no folder. All added files are in the same location as the .m and .h files.

Why would we want Groups, but not real folder? Is there advantage of Groups over the use of a folder?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:57:30+00:00Added an answer on June 3, 2026 at 12:57 am

    Note: In Xcode 10, the default behavior now creates a linked folder when you create a new group. The information below still applies otherwise.

    The recommended way to organize files is via groups, because it’s more flexible than creating directories, and allows you to create complex file hierarchies while maintaining a totally different file hierarchy on the file system. It’s simply an organization tool. That said, it is possible to turn groups into folder references, or create them initially as folder references.

    Furthermore, using groups instead of folder references gives you greater flexibility if you need to change where things are in the file system – say you have a common folder of code that you use in a bunch of different projects. Groups allow you to organize the files inside of projects as if they were in the projects, while still maintaining one copy of the code in a central location. And yes, you can do this with folder references as well, but groups are much more flexible if you later want to add other things to the same group but don’t want them to be added to that common folder.

    If you want to link a group to a folder, click on the group in the project file tree and hit command+option+1. Below the drop down that’ll say something like “Path: Relative to Group” on the right, there’s a little white square with a grey border around it kinda icon next to the word “none”. Clicking on this and then selecting/creating a folder will bind the group to the folder.

    folder reference

    Furthermore, when you drag a folder into Xcode, it will ask you if you want it to be a group or a folder reference:

    adding a folder reference

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing it on ios. When I get a user's info(gendar,locale,etc), such as Bill
So I was doing a WebView for iOS on Xcode, everything is superfine but
I am new to ios development and doing development in ios4.0.1 and xcode 3.2.3.
I'm programming my first iOS application and I'm trying to asynchronously load images into
The old way that I was doing this in iOS 4 was by declaring
I'm new to iOS programming. Wondering if anyone can point me to a sample
We're creating an iOS photo app. In doing this, we have to create dynamically
I have a question. I am new to this ios programming. I am doing
I am completely new to iOS development so I may be doing this wrong
I've been doing a lot of cross-compiling of different libraries for iOS and until

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.