this post was submitted on 27 Jul 2023
81 points (84.6% liked)

Programmer Humor

19623 readers
78 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Not sure if appropriate for this community, or for [email protected].

you are viewing a single comment's thread
view the rest of the comments
[–] dohpaz42 4 points 1 year ago (1 children)

I'll be the first to admit that I am certainly no Xcode expert. So thank you for taking the time to explain how the reference/symbols search works.

Another option, if you’re searching while going through code, is to right click on the symbol in your code and click Find > Find Selected Symbol in Workspace.

Funny enough, that's what I did. Everything in the search window is what was selected by default in Xcode; probably why I was confused. I still contend it's not intuitive.

[–] seeaya 1 points 1 year ago

Yeah not sure why Find Selected Symbol defaults to contains instead of matching. My search results get polluted with other symbols when I search for example MyStruct.image and MyStruct also has the property imageName.