I'm learning to program using Stephen G. Kochan's book, Programming in Objective-C. I don't like terminal-based text editors like vi, so I'm using XCode to write & compile my programs. So far so good.
As I go through the book, I will be writing many very small programs. Do I need to create a whole new project in XCode for each one, with a separate folder and everything? Does each code file need to be named "main.m"? I'm sure there's a better way. I'd like to have a folder on my hard drive for each chapter, with a separate file saved for each exercise, something like "exercise2.1.m". Is this possible?
I also have TextMate, so if there's a simple way to accomplish the same thing with that, and easily compile the programs using gcc or something, that would be fine too.
If this is a stupid question, go easy on me; I'm new to this Objective-C stuff.
As I go through the book, I will be writing many very small programs. Do I need to create a whole new project in XCode for each one, with a separate folder and everything? Does each code file need to be named "main.m"? I'm sure there's a better way. I'd like to have a folder on my hard drive for each chapter, with a separate file saved for each exercise, something like "exercise2.1.m". Is this possible?
I also have TextMate, so if there's a simple way to accomplish the same thing with that, and easily compile the programs using gcc or something, that would be fine too.
If this is a stupid question, go easy on me; I'm new to this Objective-C stuff.