Xcode 4, what's the "M" symbol?

Moderator
Posts: 3,577
Joined: 2003.06
Post: #1
In the navigation area on the left, next to a few files, on the right there is a little icon badge, "M". What is that for? I read somewhere in the docs that it refers to member symbols, but that's all I've been able to come up with when searching on this subject.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
SCM status. M means locally-modified but uncommitted.
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #3
Oh, duh... [/facepalm]

I haven't set up source control yet, so I wasn't expecting Xcode to be tracking that.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #4
The default when you create a new project is to use a local git repo. Maybe you clicked through that dialog without reading it?
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #5
Ahaaa! Yes, I missed the little GIT checkbox.
Quote this message in a reply
⌘-R in Chief
Posts: 1,260
Joined: 2002.05
Post: #6
Even if you don't tell Xcode about your using svn or git, it figures it out (at least for svn). When I modify my files, it shows the M.
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #7
Nice! This is a good feature IMHO.

The new interface and workflow of Xcode4 is taking some getting used to, which are what threw me off with the "M" symbol. I haven't worked with it long enough to form any concrete opinions of it yet, except to say that it's very different. I've been avoiding it for quite some time now, and considering I've already had a crash, my suspicion is that I'm in for more of the same, except now it isn't free.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cannot find symbol in dynamically loaded library Muskrat 4 4,673 Jan 25, 2010 01:54 PM
Last Post: Muskrat
  XCode 2.1 and ZeroLink: unknown symbol NYGhost 1 3,503 Aug 24, 2005 09:10 AM
Last Post: NYGhost