I've worked on very simple Cocoa apps a couple of times in Xcode and there's something that keeps confusing me.
As I understand it, after I create connections between buttons and class instances, I'm supposed to (over)write the class files [ClassName].m and [ClassName].h. That works fine, yup, and these files have the code in them that they're supposed to.
But every book I've read said the files are supposed to land (get stored in) the Xcode "Classes" (virtual) folder in the left sidebar in Xcode. They don't. They always end up under the "Resources" folder, along with things like Info.plist, InfoPlist,strings, and MainMenu.xib.
This just doesn't seem right, if every book says that they're supposed to end up in the Classes folder.
Are my books out of date? Did something change in Xcode 3.1.2? Or maybe I'm setting up the project wrong, or saving the class files wrong, or have a Preferences setting screwed up?
I could really use some help on this oddity if anyone can think of something.
Thanks in advance!
As I understand it, after I create connections between buttons and class instances, I'm supposed to (over)write the class files [ClassName].m and [ClassName].h. That works fine, yup, and these files have the code in them that they're supposed to.
But every book I've read said the files are supposed to land (get stored in) the Xcode "Classes" (virtual) folder in the left sidebar in Xcode. They don't. They always end up under the "Resources" folder, along with things like Info.plist, InfoPlist,strings, and MainMenu.xib.
This just doesn't seem right, if every book says that they're supposed to end up in the Classes folder.
Are my books out of date? Did something change in Xcode 3.1.2? Or maybe I'm setting up the project wrong, or saving the class files wrong, or have a Preferences setting screwed up?
I could really use some help on this oddity if anyone can think of something.
Thanks in advance!