After having used Obj-C and C++ for years, I recently (~6 months) moved to Swift, which is hard for me but most often sends less obscure error messages (not always). My trouble is 1- why is it soooooo long (sometimes up to 20s - that's horrible) to get an object's variables accessible in the debugger? 2- In Xcode 16 why is it no longer possible to arrange my files as I did before (organised into folders from within Xcode - horrible when you get a bigger and bigger project)? 3- Why has it become impossible to see the retention cycles and retaining objects from with the memoryGraph (it's worth ~nothing) now !
If you have multiple issues, it’s generally best to put them in different threads. That’s because different folks have different expertise, and it’s unlikely that any one person will be able to help you with all of your issues at once.
In this case, I can address your second question:
In Xcode 16 why is it no longer possible to arrange my files as I did before
I’m not 100% sure I understand this, but I suspect it’s because Xcode now has two ways to organise items in the Project navigator:
- Groups, as used by older versions of Xcode
- Folders, which are new [1]
With groups you can explicitly manage the position and order of items in the Project navigator. With folders, Xcode does that implicitly, replicating the file system hierarchy and showing all the items alphabetically.
Folders have some really important advantages — most notably, they radically reduce the number of project file merge conflicts — but if you don’t like them you can always stick with groups:
- To create a group, select a location in the Project navigator and choose File > New > Group (or Group from Selection).
- To create a folder, choose File > New > Folder.
- To convert a folder to a group, select it and choose Edit > Convert > To Group.
- To convert a group to a folder, select it and choose Edit > Convert > To Folder.
For questions 1 and 3, I recommend that you start a new thread for each of them.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Well, new-ish. Older versions of Xcode supported folders but you typically didn’t use them for source code.