May 15 2009

Objective-C: What is .m?

John C. Bland II

This was a bit odd for me but I just got the answer I wanted.

When you create a class you create a .h (where applicable) and a .m. The .h is your interface. No sweat…seen these before. Hrmm…what does the “m” stand for though?

.m = implementation file

That makes sense. I mean I knew it was the @implementation code but I didn’t know what the “m” in the filename stood for.

Nothing mind-blowing…just blogging a note. ;-)


  • Get Adobe Flash playerPlugin by wpburn.com wordpress themes